Hi,
I see in a lot of posts the hint to redefine the main.nav tag to suit
best the needs of the web applications, but since dryml is all so
extendable, I would like to know if there's a way not to redefine (I
like the default behaviour,so tight integrated with auto_actions), but
to extend adding just what's needed, i.e, in my app, I would like to
show a link to the admin subsite, but just if the current user is an
administrator, I tried this extension:
<extend tag="main-nav">
<old-main-nav merge>
<append-navigation:>
<nav-item href="admin/settings"
if="¤t_user.administrator?">Settings</nav-item>
</append-navigation>
</old-main-nav>
</extend>
But it's not working... Am I mistaking somewhere in the extension (and
if yes, where, please), or I can't extend the nav-item?
Thank you.
G.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---