[pmwiki-users] Feature request: Action lists in skins
dspitzle at wash.k12.mi.us
Tue Apr 5 15:26:43 CDT 2005
Okie-doke, I incorporated this into LayoutAdvanced
>>> "Patrick R. Michaud" <pmichaud at pobox.com> 04/05/05 3:58 PM >>>
The description is currently in
http://www.pmwiki.org/wiki/PmWiki/LayoutAdvanced, and perhaps it's in
a Cookbook recipe as well, but here's a slightly better description.
To have a template (.tmpl file) include/display the contents of
wiki page, simply use
where SomeGroup.SomePage is the name of the page to be displayed.
$-substitutions work here, so the template file can specify
which says to use "SomePage" within the group of the current page.
The directive can specify multiple pages to be examined, and only
the first of these is displayed, thus
displays "SomePage" in the current group if it exists, and
if it doesn't. To always display Main.SomePage, even if
exists, use something like
which displays "SomePage" in the current group if it exists, and
that with Main.SomePage.
Within page markup, the (:include ...:) directive is used to include/
display the contents of another wiki page.
More information about the pmwiki-users