in file
roller-project/weblogger-webapp/src/main/webapp/WEB-INF/velocity/weblog.vm.

search for  #macro(showPageMenu $weblog), and you will see the

#**
 * Show Roller Page Navigation Bar, includes links to all pages.
 *#
#macro(showPageMenu $weblog)
.. macro code......
#end

This produces the html/output you see on the main page header.  Check the
code and compare to the html produced:

<!-- *************************************************** -->
<!-- HEADER -->
<!-- *************************************************** -->
<div id="hd">
<div id="header_content">
#includeTemplate($model.weblog "standard_header")
</div>
</div>


The different menu items may differ between themes as there are different
pages for each theme.  Have a look at the theme.xml file (which references
standard_header" >> std_header.vm)

Cheers Greg

On 30 January 2013 09:31, Peter warde <[email protected]> wrote:

>
> Hi Greg
>
> I have found the macro #showPageMenu($model.weblog) in the std_header.vm,
> and looking at the macro you refer to, what is listed is the page name,
> though I am not sure that this is solution. Do I need to change the page
> name in order to get the different values displayed in the menu and if so
> how do I do this?
>
> Why do different themes (Basic, Fauxcoly etc) produce different menu items
> and how do I control them?
>
>
> Thanks
>
> Peter
>
>
>
>
> Greg Huber-4 wrote:
> >
> > Hello,
> >
> > In file std_header.vm, the #showPageMenu($model.weblog) is a macro in
> >
> roller-project/weblogger-webapp/src/main/webapp/WEB-INF/velocity/weblog.vm
> > file.
> >
> > Is this what you mean?
> >
> > Cheers Greg.
> >
> > On 30 January 2013 08:06, Peter warde <[email protected]> wrote:
> >
> >>
> >> Can anyone tell me how I can customize the values displayed in page
> menu?
> >>
> >> For example if I use the shared template "Basic" I get the following
> >> values
> >> for page menu items: All Music General Status, whereas if use I use the
> >> Fauxcoly theme I get: Front Page Weblog Archives Login.
> >>
> >> My questions are:
> >>
> >> 1) What is the mechanism that determines what items are displayed in the
> >> page menu (I have searched the themes in
> >> CATALINA_HOME\webapps\roller\themes\fauxcoly and basic and can find no
> >> reference to these page menu item values
> >>
> >> 2) How could I change the the menu item value All in the Basic theme, or
> >> Front Page or Weblog in Fauxcoly to something else, for example Home or
> >> Welcome
> >>
> >>
> >> I have searched the doc everywhere and tried numerous tests without any
> >> success. Guidance would be appreciated.
> >> --
> >> View this message in context:
> >> http://old.nabble.com/Page-menu-tp34961421s12275p34961421.html
> >> Sent from the Roller - Dev mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> --
> View this message in context:
> http://old.nabble.com/Page-menu-tp34961421s12275p34961770.html
> Sent from the Roller - Dev mailing list archive at Nabble.com.
>
>

Reply via email to