Search found 4 matches

by Paul
Fri Jun 29, 2012 6:23 am
Forum: 0.6.X beta support
Topic: Making pages that dont appear in menus
Replies: 8
Views: 26299

Re: Making pages that dont appear in menus

I knew there was something else bugging me about this and why I chose to use [menu] in the first place... As users would most likely want to link to hidden pages and less likely to link to pages that are already on the menu it would mess up the urls - a [nomenu] page would be something like: www.you...
by Paul
Thu Jun 28, 2012 6:27 pm
Forum: 0.6.X beta support
Topic: Making pages that dont appear in menus
Replies: 8
Views: 26299

Re: Making pages that dont appear in menus

Or require [menu] or [nomenu] for each page? [menu]Home [menu]Contact [nomenu]Private Stuff To reduce the risk of user error by mis-spelling I suppose the menu 'tag' could also be reduced to a single non-alphanumeric character... *Home *About Hidden or even +/- to indicate inclusion/exclusion... +Ho...
by Paul
Thu Jun 28, 2012 11:37 am
Forum: 0.4.1 beta support (older versions included)
Topic: [SOLVED] Something like subpages
Replies: 2
Views: 14367

Re: Something like subpages

I just added this snippet that seems to work:

http://wondercms.com/forum/viewtopic.php?f=18&t=47
by Paul
Thu Jun 28, 2012 11:36 am
Forum: 0.6.X beta support
Topic: Making pages that dont appear in menus
Replies: 8
Views: 26299

Making pages that dont appear in menus

Here's a very simple change to function displayMenu in index.php that allows you to create pages and prevent them from appearing as a menu item: function displayMenu($stags,$etags) { global $menu; $mlist = explode("<br />",$menu); $num = count($mlist); for($ix=0;$ix<$num;$ix++) { $page = t...