hi list
I try to build a pagevariable that get's me the basename of a related page:
related page: Group.Name-Issue-#
base page: Group.Name
this code works if I put it in the related page but NOT if i put it in a
pagelisttemplate. If I put it in a pagelist template "$IssueBaseName"
shows the name of the current page instead of the basename of the pages
processed with pagelist.
$name = PageVar($pagename, '$Name');
$basename = explode('-Issue-',$name);
$basename = $basename[0];
$FmtPV['$IssueBaseName'] = "'$basename'";
Does someone see the problem?
thanks for any hints.
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users