On 10/26/07, Maria McKinley <[EMAIL PROTECTED]> wrote:
> Yes, I think so. (Love this long conversation with myself, sorry for
> filling everyone's inbox with it).
>
> This code seems to work fine:
>
> (:if false:)
> [[#description]]
> * [[{=$FullName}|+]]
>   - {=$Description}
> [[#descriptionend]]
> (:ifend:)
>
> (:pagelist group={$Group} fmt=#description count=7:)
>
> And now I get what the = before the $Description was for - gets it
> from the page it is sampling from, instead of the current page. I'm
> really not sure why the if statement was there at all.
>

The (:if false:)...(:ifend:) statement is surely used to hide the
template definition, but you have to remember that actually (:if:)
conditions don't nest. When conditionals are needed, the use of
another mean to hide your code is better.

-- 
Dominique

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to