[pmwiki-users] Index pages

ABClf languefrancaise at gmail.com
Sun Jan 2 14:27:44 CST 2011


Isn't it possible to do something with PageVariables ?
the idea :
do an Site.IndexGroupTemplate page with :
(:pagelist group=$Group fmt=dictindex:)
and name your needed page IndexGroup for example.

In GroupHeader (better use
http://www.pmwiki.org/wiki/Cookbook/AllGroupHeader I guess) use a
condition like :
(:if name IndexGroup:)
(:include Site.IndexGroupTemplate:)
(:ifend:)

Then, every time MyGroup/IndexGroup is called, the template is loaded.

Not sure... ; to be confirmed ;)

Gilles.

2011/1/2 Peter Bowers <pbowers at pobox.com>:
> On Sun, Jan 2, 2011 at 2:16 AM, Kenneth Forsbäck
> <kenneth.forsback at bob.fi> wrote:
>> The following script allows you to create index pages for a group:
>>
>> http://www.pmwiki.org/pmwiki/uploads/Cookbook/titledictindex.php
>>
>> However, these index pages have to be manually created...is it possible to
>> have an index page automatically create for every new group?
>
> I haven't tried this particular code (it doesn't list 2.2 compatible
> and is quite old) but it's definitely at least a step in the right
> direction:
>
> http://www.pmwiki.org/wiki/Cookbook/AutoGroupPages
>
> -Peter
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>



-- 

---------------------------------------
| A | de la langue française
| B | http://www.languefrancaise.net/
| C | languefrancaise at gmail.com
---------------------------------------



More information about the pmwiki-users mailing list