[pmwiki-devel] markup order for group headers
marc
gmane at auxbuss.com
Tue Feb 6 08:24:05 CST 2007
marc said...
> Patrick R. Michaud said...
> > On Fri, Feb 02, 2007 at 12:30:09PM -0000, marc wrote:
> > > marc said...
> > > > > Any chance that some other recipe or customization is pre-processing
> > > > > the markup in the page text before PmWiki's standard HandleBrowse
> > > > > gets to it? That might explain why it looks as though the
> > > > > page is being processed before the GroupHeader or SiteHeader.
> > > >
> > > > The same happens on a clean install. But the online test site I gave
> > > > above is very basic too[1]. Try it yourself.
> > >
> > > Just nudging this.
> >
> > I'm stumped -- but I think I'm missing some details of the
> > implementation or overall structure somewhere. Is there any way
> > I could see the whole thing at once, instead of piecemeal through
> > code snippets in email?
>
> Sure. The recipe is available in the cookbook, btw, so the code is not
> only available by email. Let me know what you want and I'm happy to sort
> it.
>
> > I think I could probably set up a test account on my server where
> > you could build a demonstration of what's happening here.
>
> Sure, whatever's needed.
>
> I've been meaning to setup a function that simply returned $Name and
> contained a static variable count that would indicate the order clearly,
> but I've been tackling something else and haven't got round to it.
I've added a function that simply does:
function mrcTest($name) {
static $v = 0;
$v++;
return $v;
}
Calling this in site and group headers and on WikiSandbox shows the
order as page->Site header->Group header:
http://www.auxbuss.com/pmwiki/Main/WikiSandbox
Same result on a clean install.
--
Cheers,
Marc
More information about the pmwiki-devel
mailing list