I am interested in a pagesetter feature and am up for contributing some code if OK.
Like others, I want to sort by lists but I don't want to stop there- I want to be able to group and format the -list.html displays around a list value.
Currently, lists use the following template sequence when using
index.php?module=pagesetter&tid=T
-list-header.html
-list.html
...
-list.html
-list-footer.html
What I would like to do is use a link like
index.php?module=pagesetter&tid=T&group=ID where the ID specifies my list of choice (ID could either be the Name or a field ID number).
Anyway the following template sequence usage would ensue to create the output:
-list-header.html
-list-type-header.html
-list.html
...
-list.html
-list-type-footer.html
...
-list-type-header.html
-list.html
...
-list.html
-list-type-footer.html
-list-footer.html
Note the addition of -list-type-header.html and -list-type-footer.html.
As an example, say you wanted to create a series of tables with the list being the table header, your new templates would look something like this:
-list-type-header.html
----------------------
Where $Type.title is your list names.
-list-type-footer.html
----------------------
This could allow for output like:
Fruits
------
Apple
Orange
Meats
-----
Chicken
Beef
Here, you would have a list type that has "Fruits and Meats".
Obviously with nested lists you could add more nesting of formats- this is beyond my needs but it could be supported by defining a template naming standard like -header1.html, -header2.html, -header3.html ...
-Bryan