[pmwiki-users] {Disarmed} Re: authuser & SetTmplDisplay

Patrick R. Michaud pmichaud at pobox.com
Tue Feb 21 15:56:33 CST 2006


On Tue, Feb 21, 2006 at 10:32:02PM +0100, noskule wrote:
> Hans schrieb:
> >Tuesday, February 21, 2006, 6:11:33 PM, noskule wrote:
> >>wow, this works :-)
> >>http://pmwiki.netstreams.org/index.php/Test/HomePage edit access:
> >>Editor/Editor . I made 2 areas:PageCmdsAFmt, PageCmdsBFmt. "B" is
> >>shown correctly but not "A", it hides a tr. Does someone have any
> >>suggestions? I attached the template . ..
> >>    
> >>
> >
> >You can't nest <!--Page....Fmt-->
> >The beginng of the next one closes the previous one automatically.
>
> but this seams not allways the case. If you look at the template:
> 
> <--PageHeaderBFmt-->
>     <--PageLeftAFmt-->
>     <--/PageLeftAFmt-->
>     <--PageLeftBFmt-->
>     <--/PageLeftBFmt-->
> <--/PageHeaderBFmt-->
> 
> this works. 

Hans is correct, in the above example the <!--PageLeftAFmt--> declaration 
will automatically close the <!--PageHeaderBFmt--> section, and
the <!--/PageHeaderBFmt--> declaration has no real effect.

It's neither a bug nor feature, it's just the way things 
are implemented.

Pm




More information about the pmwiki-users mailing list