[pmwiki-devel] markup order for group headers

Patrick R. Michaud pmichaud at pobox.com
Tue Feb 6 09:05:12 CST 2007


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

Pm



More information about the pmwiki-devel mailing list