[pmwiki-users] Tagging sections of pages
Kathryn Andersen
kat_lists at katspace.homelinux.org
Thu Sep 21 23:01:06 CDT 2006
On Thu, Sep 21, 2006 at 03:54:53PM -0700, Martin Fick wrote:
> Define all of your sshtunnel sections on each page
> like this:
>
> [[#sshtunnel]]
> ... text goes here
> [[#sshtunnelend]]
>
> Create a simple custom page list template, something
> like this:
>
> [@
> [[#sshtunneltemplate]]
> !!!SSH Tunneling For: [[{=$Group}/{$Name}]]
>
> (:include {=$FullName}#sshtunnel :)
>
> [[#sshtunneltemplateend]]
> @]
>
>
>
> Use the template with a pagelist like this:
>
> (:pagelist group=Server fmt=#sshtunneltemplate:)
See also
http://www.pmwiki.org/wiki/Cookbook/PagelistTemplateSamples#IncludeXref
for a more generic way of solving this problem, without having
to make a new pagelist template for every kind of section you
want to include somewhere.
Kathryn Andersen
--
_--_|\ | Kathryn Andersen <http://www.katspace.com>
/ \ |
\_.--.*/ | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
v |
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha! | -> Earth -> Sol -> Milky Way Galaxy -> Universe
More information about the pmwiki-users
mailing list