WebsiteBaker Support (2.8.x) > Templates, Menus & Design
show_menu2: valid XHTML and CSS selectable menus
bupaje:
Want to use this for a sitemap and having a little problem getting it to show [page_title] instead of [menu_title]
Here is what I tried
show_menu2(0, SM2_CURR+1, SM2_CURR+1,'[a][page_title][/a]');
but it shows the [menu_title]
http://stormvisions.com/pages/art-design.php
brofield:
Documentation is at:
http://forum.WebsiteBaker.org/index.php/topic,2584.0.html
Use [page] instead.
Cheers,
Brodie
bupaje:
Thanks. Looks like I was looking at an older doc. I did change it to [page] but it still shows the menu title. :?
I did have a suggestion for the future as well. Maybe you can add a feature to optional show the meta description/keywords as well. This can be useful in the sitemap for example where I can show the title and short description of each page. For example
Sitemap
Graphics
- Photoshop
- Plugins - Add features to your program with these free plugins. [keywords: art, design]
bupaje:
@brofield
I spotted this error in my scripts.log file. Not sure if it is important.
PHP Warning: array_keys(): The first argument should be an array in /modules/show_menu2/include.php on line 124
brofield:
I have released a beta of v3.0 at http://code.jellycan.com/show_menu2/
This version has a call signature similar to the existing show_menu, however it is not a fully drop in replacement for it due to the problems I mentioned in my previous email. Let me know what problems you have with it.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version