[pmwiki-users] edit template for specific pages

noskule noskule at gmx.net
Fri Mar 17 12:38:28 CST 2006


hi list
How do I setup a rule that a pagetemplate  will be used if the pagename 
is "GroupConfiguration" ? I did try the following, but nothing happens:


$GroupConfiguration = '/*\\*.GroupConfiguration/';
	if ($action == 'edit' && preg_match($GroupConfiguration, $pagename))
	$EditTemplatesFmt = 'Site.GroupConfigurationTemplate';

does anyone has a suggestion?
grz nos




More information about the pmwiki-users mailing list