[pmwiki-users] Getting a random page name inside a cookbook recipe

Maxim maxim at smspower.org
Thu Oct 22 01:31:34 CDT 2009


>  $mypages = ListPages( array_merge(
>    $SearchPatterns['normal'], array('Sprites'=>'/^Sprites\\./')));

This was the magic part, I hadn't realised the $SearchPatterns arrays
were actually the parameters to ListPages. Many thanks.

Maxim



More information about the pmwiki-users mailing list