Re: [pmwiki-users] help with (:if and :) statement

2007-04-19 Thread Tegan Dowling
(:toc:) numbers the headings on the page, and numbers the links to them in the toc (:*toc:) doesn't number the headings on the pge, and makes a bulleted list of the links in the toc On 4/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > On Thu, 19 Apr 2007, Patrick R. Michaud wrote: > > >> Thi

Re: [pmwiki-users] help with (:if and :) statement

2007-04-19 Thread christian . ridderstrom
On Thu, 19 Apr 2007, Patrick R. Michaud wrote: This seems useful... here's a modified version (untested though) that I assume goes into .GroupHeader. (:if expr ! equal "{*$:toc}" "no" :)(:*toc:)(:ifend:) Using this, all pages that do _not_ contain the following line (:toc: no:

Re: [pmwiki-users] help with (:if and :) statement

2007-04-19 Thread Patrick R. Michaud
On Thu, Apr 19, 2007 at 09:42:15AM +0200, [EMAIL PROTECTED] wrote: > On Wed, 18 Apr 2007, Patrick R. Michaud wrote: > > >Shorter: > > This seems useful... here's a modified version (untested though) that I > assume goes into .GroupHeader. > > (:if expr ! equal "{*$:toc}" "no" :)(:*toc:)(:

Re: [pmwiki-users] help with (:if and :) statement

2007-04-19 Thread christian . ridderstrom
On Wed, 18 Apr 2007, Patrick R. Michaud wrote: Shorter: This seems useful... here's a modified version (untested though) that I assume goes into .GroupHeader. (:if expr ! equal "{*$:toc}" "no" :)(:*toc:)(:ifend:) Using this, all pages that do _not_ contain the following line

Re: [pmwiki-users] help with (:if and :) statement

2007-04-18 Thread Garth . J . McMillan
That's perfect. Thankyou. Regards, Garth McMillan "Patrick R. Michaud" <[EMAIL PROTECTED]> 19/04/2007 12:22 PM To [EMAIL PROTECTED] cc pmwiki-users@pmichaud.com Subject Re: [pmwiki-users] help with (:if and :) statement On Thu, Apr 19, 2007 at 12:16:44PM +10

Re: [pmwiki-users] help with (:if and :) statement

2007-04-18 Thread Patrick R. Michaud
On Thu, Apr 19, 2007 at 12:16:44PM +1000, [EMAIL PROTECTED] wrote: > I'm trying to use the following statement: > (:if !equal {$FullName} "Main.HomePage" && {$Description} "notoc" > :)(:*toc:)(:if:) > > However, only the Homepage doesn't display the (:*toc:), pages with a > description of notoc,

[pmwiki-users] help with (:if and :) statement

2007-04-18 Thread Garth . J . McMillan
I'm trying to use the following statement: (:if !equal {$FullName} "Main.HomePage" && {$Description} "notoc" :)(:*toc:)(:if:) However, only the Homepage doesn't display the (:*toc:), pages with a description of notoc, still display it. Both parts work correctly individually, so there is obvious