[pmwiki-devel] markup order for group headers
marc
gmane at auxbuss.com
Tue Feb 6 11:13:00 CST 2007
Patrick R. Michaud said...
> On Tue, Feb 06, 2007 at 02:24:05PM -0000, marc wrote:
> > marc said...
> > > 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.
>
>
> It seems to work for me -- see
>
> http://www.pmichaud.com/sandbox/order/pmwiki.php?n=Main.WikiSandbox
Yes, I can replicate this using your page markup (that's good news, I
think), but to further muddy the waters...
http://www.auxbuss.com/pmwiki/Main/WikiSandbox
No wonder *I'm* confused.
FYI,
Markup('auxSelect', '<directives',
'/\\(:auxSelect\\s+([\\w]+)\\s?(\\w+)*\\s*(.*?)\\s*:\)/ei',
"AuxSelect(PSS('$1'),PSS('$2'),PSS('$3'))");
Markup('auxSelectData', 'inline',
'/\\(:auxSelectData\\s+([\\w]+)\\s*(.*?)\\s*:\)/ei',
"AuxSelectData(PSS('$1'),PSS('$2'))");
--
Cheers,
Marc
More information about the pmwiki-devel
mailing list