Magento で最初のモジュールを作成しようとしています。
私ができないことは、私が望む方法でモジュールのルートを定義することです。
"gateways/iphone" というルートを作成したいのですが、うまくいきません。ルート定義で「/」を使用することはできますか?
これは私のモジュール定義です:
<?xml version="1.0" encoding="UTF-8"?>
<config>
<modules>
<Nacho_GatewayIphone>
<version>0.1.0</version>
</Nacho_GatewayIphone>
</modules>
<frontend>
<routers>
<nacho_gatewayiphone>
<use>standard</use>
<args>
<module>Nacho_GatewayIphone</module>
<frontName>gateway_iphone</frontName>
</args>
</nacho_gatewayiphone>
</routers>
</frontend>
</config>
/gateway_iphone では正常に動作していますが、 /gateways/iphone をヒットしようとしたときに<frontName>
値をに変更する<frontName>gateways/iphone</frontName>
と、実行されません。
ルーター定義で「/」文字を使用することはできますか?