Skip to Content.
Sympa Menu

en - [sympa-users] Re: Is there a way to do templates with condition based on a list's config options?

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Cc: address@concealed
  • Subject: [sympa-users] Re: Is there a way to do templates with condition based on a list's config options?
  • Date: Tue, 19 Jun 2007 17:49:03 +0200

address@concealed a écrit :
I would like to customize my review.tt2 template so that it only shows a
certain element if the list's configuration parameter (in its config file)
"subscribe" is set to "owner".
Is there a way to access a list's configuration values from within a template? I can't seem to find the clues I'm needing in the documentation.

Thanks in advance.

best,
jon
--------------
Jon Stahl
ONE/Northwest
www.onenw.org
Hi Jon,

Sorry that it took so long to answer you...
Actually, the parameters accessible in templates are quite limited for now. We just updated the list in the doc :
http://www.sympa.org/wiki/manual/customizing#mail_template_files
As you see, what you're looking for is not included. Anyway, while we're working on performance questions regarding our web interface, it is likely that we rethink the way we manage a List object. It could have the side effect of making far more list objects available.

Regards,

--
David Verdin
Comité réseau des universités




Archive powered by MHonArc 2.6.19+.

Top of Page