Code for MB_PageMenu loop

General ShopSite user discussion

Code for MB_PageMenu loop

Postby VinceS » Thu Apr 11, 2013 3:22 pm

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 --]
VinceS
 
Posts: 134
Joined: Fri Apr 06, 2007 1:26 pm

Re: Code for MB_PageMenu loop

Postby Jim » Thu Apr 11, 2013 3:53 pm

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.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: No registered users and 85 guests

cron