[pmwiki-devel] Spaced Categories

DaveG pmwiki at solidgone.com
Wed Mar 30 10:09:13 CDT 2016


On 3/29/2016 11:09 PM, Randy Brown wrote:
> If the category pages actually exist, you could put this in a configuration file:
>
> ## Allow frontlinks using a page variable, e.g. (:pagelist name=Grp.MyPage$Links:)
> $FmtPV['$Links'] = '@$page["targets"]';
>
> Then in your page body use markup like this:
>
> (:pagelist group=Category name={{$FullName}$Links} list=all fmt=#ListingFmt:)
>
> (:if false:)
> [[!MyCategory]] *** A category in the page body ***
>
> [[#ListingFmt]]
> * [[{=$Namespaced}]]
> [[#ListingFmtend]]
This look promising, and is in fact much better than the way I'm 
currently using to display categories on the page.

How did you come up with that so quick!?


Thanks!

  ~ ~ Dave



More information about the pmwiki-devel mailing list