Code for MB_PageMenu loop

General ShopSite user discussion
Post Reply
VinceS
Posts: 134
Joined: Fri Apr 06, 2007 1:26 pm

Code for MB_PageMenu loop

Post by VinceS »

Where can I find the code for the loop that creates the menu from the Navigation configuration ==> [-- MB_PageMenu --]

I need to replace this code in the SS mobile default page template with custom formatting but use the menu entries from the back office configuration.
[-- IF PAGE.FileName "index.html" --]
<div id="mb_nav" class="full">[-- MB_PageMenu --]</div>
[-- END_IF --]
Jim
Site Admin
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Code for MB_PageMenu loop

Post by Jim »

The code that is generated by the [-- MB_pageMenu --] is compiled into the program and there is no way to change what is generated.

I'm not sure what you are asking for with the statement "but use the menu entries from the back office configuration" What configuration are you referring to, The Preferences > Navigation menus or the Preferences > Mobile > Mobile Navigation?

If you view the html source of a mobile page you can see the css styles that are used to format the menus and you could modify the css to make some changes to the way it looks.
Post Reply