StefCT writes:
Apparently {$BaseName} works properly (by stripping the "-Users" part)
only within the Cookbook page group.

Yes, this is a local customization on pmwiki.org, and was only enabled in the Cookbook and Skins groups. I now enabled it on the whole site.

Any ideas how to fix this?

{=$BaseName} should now work in the Profiles/ group.

Alternatively, it is possible to use the markup expression

 {(substr {=$FullName} 0 -5)}

See http://www.pmwiki.org/wiki/PmWiki/MarkupExpressions .

We have this in PmWiki.GroupFooter which is part of the default distribution (where $BaseName is not defined).

Petko


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

Reply via email to