PDA

View Full Version : pgm-auto_menu.php --- Using titles instead of page names


Mike Morrison
10-13-2006, 02:52 PM
Hi All,

Attached to this post is a modified copy of pgm-auto_menu.php that displays the page's title (if one is set for the page via Page Properties) instead of it's regular page name as the link/button text.

This can be handy in that it allows you use special characters in your link text like apostrophes , ampersands, etc. Plus you can name your pages in a convention that alphabetically organizes them better so you can find them easier on the Open/Edit Pages menu and still display the link text you want to site visitors.

Incidentally, we're doing this on (the main Soholaunch website (http://info.soholaunch.com)). For example, the link under "Website Builder" that says "Sign-up for Demo" goes to a page that's actually named Demo Signup.

Use/modify freely for any Soholaunch template/website you're working on.

Gregory
11-07-2007, 05:17 AM
Mike,

this modified copy is very handy but it works only for HMAINS. What does it need to be changed to work also for VMAINS VSUBS and HSUBS ?

Thanks,