[pmwiki-users] how to create pagelist with description?
Martin Fick
fick at fgm.com
Wed Nov 9 12:10:32 CST 2005
You could use Cookbook.PageListTemplates to easily do
somehting like this. Install the recipe and the try
something like this:
Create a pagee wich has the following pagelist in it:
(:table:)
(:cell:)
Name
(:cell:)
Who is this?
(:pagelist fmt=template page=PageList.Profiles group=Profiles list=normal:)
(:tableend:)
Then you can create the PageList.Profiles template
referenced above and customize it however you want. In your
case it might be like this:
(:cellnr:)
[[({$PageList.Group}.){$PageList.NameSpaced}]]
(:cell:)
(:include {$PageList.Group}.{$PageList.Name} lines=1:)
This would grab the first line of each Profile page.
You can see a working (live) mockup) of this here:
http://www.theficks.name/test/PLT/pmwiki.php?n=Test.Profiles
Feel free to mess with it to see if it will meet your needs, :)
-Martin
On Wed, Nov 09, 2005 at 09:18:57AM -0800, Frans Meulenbroeks wrote:
> Hi,
>
> I want to create a pagelist with a short oneliner
> description per page.
>
> Making the pagelist was simple:
>
> (:pagelist group=Profiles list=normal:)
>
> But how do I get a description (similar to
> AllRecentChanges) in my list.
>
> Effectively what I want to do is to have a Profiles
> group where every user can leave his profile if
> desired. So instead of getting a list like
>
> Profiles
> John Doe
> Jane Doe
>
> etc, I would a list like
>
> Profiles
> John Doe Founder of the Doe family.
> Jane Doe The only smart Doe (married into the
> family)
>
> etc.
> Preferably I would like to use the first heading of
> the page, but if a special directive is needed that is
> also OK.
>
> Is there a way to achieve what I want??
>
> Thanks alot!
>
> Frans.
>
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
More information about the pmwiki-users
mailing list