From the Eliovir
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
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?
Please see, and vote for PITS.00986
Copyright © 2005–2025 the Main wiki and its authors
Retrieved from http://eliovir.free.fr/index.php5/PmWiki/PageListTemplates-Talk
Page last modified on October 14, 2009, at 02:29 AM EST