On May 29, 2007, at 5:41 PM, Ben Stallings wrote: > Ben Stallings wrote: >> (:flag: yes:) >> >> so that rather than testing conditions 1 through 4 over and over >> again I >> could just test for >> >> (:if equal {$:flag} "yes":) >> >> ... but it doesn't work. > > Found the problem, I think... the tests in question are in a > GroupHeader, and page text variables defined in a GroupHeader do not > appear to be available unless you specify the full name of the page > each > time, in this case {Events/GroupHeader$:flag}. Is this a feature or a > bug? --Ben
Feature -- {$:flag} is set to create its definition on the INCLUDING page, only for the auto-included features such as GroupHeader/ GroupFooter. This is so we don't always have to do {*$:flag} in what are automatically included pages. Thus {$Name} will always be PageName not GroupHeader. I'm not sure what you're doing, so I can't recommend a solution.... Crisses _______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users