[pmwiki-users] Re: Re: Supporting different modes in default pmwiki
arndis at gmail.com
Mon Aug 8 14:40:20 CDT 2005
On 8/8/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> Don't forget there are other options besides conditional markup...
> in a skin template one can do:
> <!--wiki:Site.ActionLinks-$Mode Site.ActionLinks-->
> which uses a specialized Site.ActionLinks-$Mode page whenever
> one exists for the currently set mode, but defaults to the non-moded
> page when there isn't.
That's a nice one, way better than cluttering things up with lots of
(:ifs:)! But maybe the call should read more like this:
which covers several more cases.
More information about the pmwiki-users