This content has been marked as final.
Show 1 reply
-
1. Re: adding menu items to a menublock
sgwood Mar 13, 2004 11:22 AM (in response to furykid)
In server/default/nukes/menu-block-service.xml, see:<attribute name="Before"> <menu> <item title="Home" url="index.html" description="Back to the home page."/> </menu> </attribute>
This gets you links in the menu before any roles based links, that are always displayed when the user is logged in. There is an equivalent "After" attribute.
The menu only displays links that the logged in user has available to them, based on the user's groups.
You will need to subclass MenuBlock and override the getDisplayed(Page p) method to always return true, so that your menu always appears.
If I understand what you are looking to do with the htmlblock, it looks like the parameters are:
module=html&op=display&id=1235
Sherman