[pmwiki-users] Split a

Hans design5 at softflow.co.uk
Thu Nov 9 08:31:02 CST 2006


Thursday, November 9, 2006, 2:35:21 PM, Patrick wrote:

> Note that this can now also be done by using the built-in
> {$BaseName} page variable -- simply set

>     $BaseNamePatterns['/-Comments$/'] = '';

> and then one can use {$BaseName} to convert 
> 'Group.SomePage-Comments' into 'Group.SomePage'.
> To get just the name, as in 'SomePage', use {{$BaseName}$Name}.

cool! Thanks


Hans





More information about the pmwiki-users mailing list