[pmwiki-users] Pagelist or Page Variable fail? bug or feature?

Petko Yotov 5ko at 5ko.fr
Mon Feb 6 15:40:27 CST 2012


On Monday 06 February 2012 20:43:45, Petko Yotov wrote :
> Use fmt=GroupHeader#person rather than  fmt=#person .


Because fmt=#template will search a temlplate snippet:

1. first in the current page {*$FullName},
2. then in the page Site.LocalTemplages,
3. then in Site.PageListTemplates. 

When you are not browsing GroupHeader, the current page {*$FullName} is the 
name of the browsed page, and GroupHeader is an "included" page. That's why 
you need to use fmt=GroupHeader#template to identify the specific page 
containing the template snippet.

Petko



More information about the pmwiki-users mailing list