Groups
Groups
Sign in
Groups
Groups
Hobo Users
Conversations
About
Send feedback
Help
adding menu items to the auto generated ones.
9 views
Skip to first unread message
spokra
unread,
Oct 27, 2011, 12:38:33 PM
10/27/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Hobo Users
I'm attempting to add menu items.. and I've googled and read..
is this anywhere close..
<extend tag="main-nav" merge-attrs param="default">
<navigation class="main-nav" append-attrs param="default">
<nav-item href="/pages/test">News </nav-item>
<nav-item href="/pages/test">Offers</nav-item>
</navigation>
kevinpfromnm
unread,
Oct 27, 2011, 2:22:29 PM
10/27/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hobo...@googlegroups.com
Typically you don't extend it but fully redefine the tag. And as it's not called (usually) in multiple locations the parameters are unnecessary.
<def tag="main-nav">
<navigation class="main-nav" merge>
<nav-item href="...">...</nav-item>
<nav-item with="&ModelName" />
...
</navigation>
</def>
I included an alternate way of defining nav-items for examples sake.
Reply all
Reply to author
Forward
0 new messages