Recent Changes · Search:

Photos

Informatique

Bases de données

Système d’information géographique

PmWiki

edit SideBar

 

I’ve added a PITS entry? for a proposed addition to the (:template ...:) markup. More specifically, I think we should be able to say (:template ! first {=$Group}:) in order to eg. add markup before each item except for the first. Currently to achieve this you need to use (:if equal {=$Group} {<$Group}:), which seems a bit clumsy as most other similar markup has been deprecated. The PITS entry also includes the required changes to scripts/pagelist.php. —Eemeli Aro? July 29, 2009, at 08:19 AM

Questions

Q How can I achieve adding a table column only when pagelist outputs something?

There is now a wrap option to (:pagelist:) to allow it to return the markup to the enclosing page, as opposed to rendering it standalone.

Q Can I use page variables, or even PTVs, in the (:template defaults:) section?

They seem not to work as of 2.2.6. I’d like to do (:template defaults group={*$Group}:) or similar. Maxim? October 11, 2009, at 08:24 AM

Please see, and vote for PITS.00986?

This is a talk page for improving PmWiki.PageListTemplates.

Edit · History · Print · Recent Changes · Search · Links
Page last modified on October 14, 2009, at 02:29 AM EST