[pmwiki-users] Find out main page name from header page?

DaveG pmwiki at solidgone.com
Sat Jan 23 11:25:06 CST 2010

On 1/23/2010 11:37 AM, Harald C. wrote:
> Hello,
> I want to construct a multilingual site where there is one page per
> language with the same name but in different language groups like De/,
> En/, ...
> (I would prefer to have groups (and page names) starting with a lower
> case letter, but that's a different kettle of fish.)
> I would rather not use the existing Cookbook recipes for multilingual
> sites as they have the different languages together in one file which
> IMHO is not so practical if the pages are long as in my case.
> For the language switching I will use conditional markup which poses no
> problem if it is placed in the main part of the page, as then I can use
> OtherGroup.{$Name} for the same page in the other language.
> But if I want to put the switching in the header, {$Name} in my case
> points to (Site.)PageHeader.
> Is there a possibility to have a $Variable accessible from the
> PageHeader giving the name of the main page (the one with the text content)?
{*$Name} ref PmWiki/PageVariables

  ~ ~ Dave

More information about the pmwiki-users mailing list