[pmwiki-devel] markup order for group headers

Patrick R. Michaud pmichaud at pobox.com
Tue Feb 6 13:10:18 CST 2007


On Tue, Feb 06, 2007 at 06:16:33PM -0000, marc wrote:
> 
> Seeing that the issues seem to be markup within the (:markup:) 
> directive, I tried the populate array functions outside this markup and 
> found I could then access arrays created and populated in site and group 
> headers from within a page. IOW, the initial problem is solved.
> 
> Clearly, I'm not sure what's going on with the (:markup:) directive, so 
> I'll just be more careful when using it to assist debugging in future.

Oh yes, of course!  I didn't realize that all of your tests
were using (:markup:).

The (:markup:) directive is handled very early in processing -- long
before any (:include:) directives are processed.  (It has to be,
if we're to see the result of (:include:) directives. :-)

As a result, any (:markup:) directive on a page is processed
before the GroupHeader (and possibly SiteHeader).

We might be able to adjust this somewhat, but it's definitely
worth keeping in mind that at the moment (:markup:) is "special".

Pm



More information about the pmwiki-devel mailing list