Чтобы добавить подменю, вы должны сделать это, добавив
resources.navigation.pages.indexAccount.label = "Account"
resources.navigation.pages.indexAccount.controller = "account"
resources.navigation.pages.indexAccount.action = "index"
resources.navigation.pages.indexAccount.pages.login.label = "Login"
resources.navigation.pages.indexAccount.pages.login.controller = "auth"
resources.navigation.pages.indexAccount.pages.login.action = "login"
resources.navigation.pages.indexAccount.pages.logout.label = "Logout"
resources.navigation.pages.indexAccount.pages.logout.controller = "auth"
resources.navigation.pages.indexAccount.pages.logout.action = "logout"
Попробуйте ... Это в основном ищет ту же структуру, что и конфигурация XML.
<?xml version="1.0" encoding="utf-8"?>
<config>
<nav>
<currentuser>
<label>Current User</label>
<uri></uri>
<resource>dude</resource>
<pages>
<logout>
<label>Logout</label>
<controller>auth</controller>
<action>logout</action>
<resource>logout</resource>
<order>300</order>
</logout>
<login>
<label>Login</label>
<controller>auth</controller>
<action>login</action>
<resource>login</resource>
<order>100</order>
</login>
</pages>
</currentuser>
<sitenav>
<label>SiteNave</label>
<uri></uri>
<pages>
<clients>
<label>Clients</label>
<controller>client</controller>
<action>index</action>
<resource>client</resource>
<order>110</order>
</clients>
<users>
<label>Users</label>
<controller>user</controller>
<action>index</action>
<resource>user</resource>
<order>200</order>
<pages>
<user_create>
<label>Create</label>
<controller>user</controller>
<action>create</action>
<resource>user_create</resource>
<order>1</order>
</user_create>
</pages>
</users>
</pages>
</sitenav>
</nav>
</config>