On 12/22/2013 11:54 PM, Petko Yotov wrote:
> StefCT writes:
>> Apparently {$BaseName} works properly (by stripping the "-Users" part)
>> only within the Cookbook page group.
> 
> {=$BaseName} should now work in the Profiles/ group.

Great, thank you! Now my markup does exactly what I wanted it to do.
> 
> Alternatively, it is possible to use the markup expression
> 
>  {(substr {=$FullName} 0 -5)}
> 
> See http://www.pmwiki.org/wiki/PmWiki/MarkupExpressions .

This sounds like a good option to me too. It wouldn't be ambiguous
either because in my page list I'm explicitly searching for pages with
the suffix -Users (name=*-Users).

Happy Holidays!

--StefCT



_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to