[pmwiki-users] PageTextVariables defined in standard unnumbered lists
Eemeli Aro
eemeli at gmail.com
Fri Sep 12 19:43:02 CDT 2008
2008/9/13 kirpi at kirpi.it <kirpi at kirpi.it>:
> We have a lot of personal pages where data are stored about this way:
> * Name: John
> * Surname: Lennon
> * Group
> ** Group_1: Quarrymen
> ** Group_2: Beatles
> * Language: English
> and so on
>
> I couldn't find a way to use those data as PTV, while I am absolutely
> convinced that it would be a very good thing if I could.
> Does anybody have experience or ideas for that, please?
Try adding the following to your config file:
$PageTextVarPatterns['* var:'] = '/^(\\**\\s*(\\w[-\\w]*)\\s*:[
\\t]?)(.*)($)/m';
eemeli
More information about the pmwiki-users
mailing list