Monday, August 24, 2009, 10:08:23 AM, Graham Archer wrote:
> I would like to use {(serialname Group Name)} for various Groups.
> For each group I need a different Start Number, i.e 0100 for Group A,
> 0200 for Group B.
> I notice that to do this I need to set variable $SerialStart in config.php.
put in config.php something like:
$group = PageVar($pagename,'$Group');
if ($group=='GroupA') $SerialStart = '0100';
if ($group=='GroupB') $SerialStart = '0200';
if ($group=='GroupC') $SerialStart = '0300';
etc.
cheers,
~Hans
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users