Test /
PageListGrouping
attempt to group pages by page name
>>comment<<
[[#yeartriplist]]
(:template first {(substr {=$Name} 0 2)}:)
!!! {(substr {=$Name} 0 2)} [--{=$Name}--]
(:template each:)
[[#yeartriplistend]]
>><<
|
(:pagelist fmt=#yeartriplist group=Test order=-name list=normal count=20 :) |
(:pagelist fmt=#name4 group=Test order=-name list=normal count=20 :) |
[[#name4]]
(:template first {=$Name4}:)
!!! {=$Name4} [--{=$Name}--]
(:template each:)
[[#name4end]]
$FmtPV['$Name4'] = 'substr($name, 0, 4)';