[pmwiki-devel] markup order for group headers

Patrick R. Michaud pmichaud at pobox.com
Mon Jan 29 09:41:56 CST 2007


On Sat, Jan 27, 2007 at 06:28:26PM -0000, marc wrote:
> Markup in group headers (and site headers when enabled) appears to be 
> run after markup in PageText.
> 
> I'm sure there's a good reason for this, but I'd like to understand why.

If you're talking about the GroupHeader pages, then no, they're
run at the same time as page's markup.  In fact, GroupHeader effectively
works by adding the equivalent of

    (:include GroupHeader:)(:nl:)

to the beginning of the page text before processing the markup.
(The actual text to be prepended is given by $GroupHeaderFmt.)

> As it is, I was hoping to provide some markup to set some values in 
> site/group header, but the order stymies this.

I'm afraid it must be another issue that is causing this.  :-)

Pm



More information about the pmwiki-devel mailing list