[pmwiki-users] short php q.
noskule
noskule at gmx.net
Thu May 3 04:11:23 CDT 2007
hi list
could please someone giving me a hand in changing this php snipset?
I should change the array on line 3 so that i could use wild cards for
the listitems. In fact the page name in my installation are
SkinSection-* instead of GroupHeader,GroupFooter, ...
tanks in advance
nos
$group = FmtPageName('$Group',$pagename);
if ((PageExists("$group.EditForm") and
(!in_array(FmtPageName('$Name',$pagename),
array($group,'GroupHeader','GroupFooter','EditForm')))))
$PageEditForm = "$group.EditForm";
## Don't include EditForm pages in lists of "normal" pages
$SearchPatterns['normal'][] = '!\.EditForm!';
More information about the pmwiki-users
mailing list