[pmwiki-users] condition for pagenames
Hans
design at softflow.co.uk
Fri Apr 14 08:23:53 CDT 2006
Friday, April 14, 2006, 1:56:34 PM, noskule wrote:
>> (:if exists Profiles/{$Group}:)
>>
>> ... might be a good place to start ... but I haven't tested it.
> this works, but how do I define it in config or skin.php to
> disable the EditTemplatesFmt ($EditTemplatesFmt ="";)
$group = PageVar($pagename, '$Group');
if(PageExists(Profiles.$group) $EditTemplatesFmt ="";
Best,
Hans
More information about the pmwiki-users
mailing list