[ mailman-Feature Requests-868838 ] More variables for use in templates

SourceForge.net noreply at sourceforge.net
Thu Jan 1 10:52:13 EST 2004


Feature Requests item #868838, was opened at 2004-01-01 10:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=350103&aid=868838&group_id=103

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Robert H. Bourdeau (bourdeau)
Assigned to: Nobody/Anonymous (nobody)
Summary: More variables for use in templates

Initial Comment:
When a template is rendered, only selected variables
are included- ones that we're imagined as necessary for
the default Mailman templates. All variables that are
not "template-specific" should be made available to
every template. For example, when rendering the
"article" template to present a single message in a
list archive, the variable 'listinfo' is not in the
dictionary for use by the template. However, 'listinfo'
IS available for use to in "archtoc" template.
'listinfo' can be used to create a hyperlink from an
article BACK to the list information page. Better yet,
some additional URL variables would be helpful. I'd
really rather link from an article back to the
'archtoc' page (set to the same sort order as when the
user chose the article to view). That would be useful
to always have in a variable.

Basic principle here is that the SafeDict object that
is used to render a template should always be as fully
populated as possible. This gives the Mailman
administrator (and list administrator) many more
options for designing web pages.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=350103&aid=868838&group_id=103



More information about the Mailman-coders mailing list