[pmwiki-users] pagetextvariables and pagelist-templates

Knut Alboldt pmwiki at alboldt.de
Tue Mar 20 11:41:43 CDT 2007


can I use pagetextvariables in pagelist-templates, e.g.:

Site.Localtemplates contains definition:

----
fmt=#caldetails

Concatenate the text of pages in the list. (Note, this can be an 
expensive operation!)

[[#caldetails]]
!!! [[{=$FullName}|+]] FULLNAME={=$FullName} DATE={{=$FullName}$:Date}
(:include {=$FullName} self=0:)
[[#caldetails]]
----

so

(:pagelist link=Category.{$Name} list=normal fmt=#caldetails :)

and a page Test.Test01


Date: 23.7.2007
[[!sample]]

can give me the output:


! Test.Test01 FULLNAME=Test.Test01 Date=23.7.2007

?

FULLNAME= is filled correctly but Date= is empty

Knut



More information about the pmwiki-users mailing list