次のように、ページを特定のアクションとパラメーターの組み合わせにマップすることは可能ですか?
<myprofile>
<label>My Profile</label>
<controller>user</controller>
<action>profile</action>
<visible>1</visible>
</myprofile>
<othersprofile>
<label>User Profile</label>
<controller>usuario</controller>
<action>perfil</action>
<visible>0</visible>
<reset_params>0</reset_params>
<params>
<id>*</id>
</params>
</othersprofile>
uri に id param が含まれている場合は、アクティブにする必要があります。(ワイルドカードとして * を入れましたが、正しい方法がわかりません)
/user/profile = myprofile をアクティブに設定する必要があります /user/profile/id/5 = otherprofile をアクティブに設定する必要があります
どんな助けでも感謝します。
ありがとう