Re: [pmwiki-users] Checking for keywords

2012-08-30 Thread Petko Yotov
Petko Yotov writes: This variable is not enabled by default, you need to add to config.php: $FmtPV['$Keywords'] => '@$page["keywords"]'; Sorry, I just noticed I made a typo here, this should be: $FmtPV['$Keywords'] = '@$page["keywords"]'; Petko _

Re: [pmwiki-users] Checking for keywords

2012-08-30 Thread Petko Yotov
Carlos AB writes: Is there a way to check if the keywords directive was used on a page? I tried this so far: (:if equal {=$Keywords} "":) inside a template (:if equal {=$:Keywords} "":) inside a template This variable is not enabled by default, you need to add to config.php: $FmtPV['$Keywo

Re: [pmwiki-users] Checking for keywords

2012-08-30 Thread Simon
Interesting results here http://www.pmwiki.org/wiki/Test/Keywords cheers S On 31 August 2012 12:23, Carlos AB wrote: > Is there a way to check if the keywords directive was used on a page? > > I tried this so far: > > (:if equal {=$Keywords} "":) inside a template > (:if equal {=$:Keywords}

[pmwiki-users] Checking for keywords

2012-08-30 Thread Carlos AB
Is there a way to check if the keywords directive was used on a page? I tried this so far: (:if equal {=$Keywords} "":) inside a template (:if equal {=$:Keywords} "":) inside a template {Html/TagDiv$Keywords} on a page For description it works fine using a pagevar on a template {=$Description}