Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] Separate directory tree for customized files?
- From: Olivier Salaun - CRU <address@concealed>
- To: John Dalbec <address@concealed>
- Cc: sympa-users <address@concealed>
- Subject: Re: [sympa-users] Separate directory tree for customized files?
- Date: Fri, 16 May 2003 10:53:16 +0200
Hi John,
There are actually 2 ways a template can include another template :
- directy, as in subrequest.us.tpl : [PARSE '/home/sympa/bin/etc/wws_templates/loginbanner.us.tpl']. If you customize the loginbanner.us.tpl, you also have to customize templates that refer to it.
- indirectly, via a variable, as in main.tpl : [PARSE action_template]. Then
wwsympa.fcgi sets action_template variable to the appropriate template file path (ie :
in the best place according to Sympa default rules, and in the current
language).
I suppose it makes sense to write this down in the reference manual...
John Dalbec wrote:
John Dalbec wrote:
I want to customize the loginbanner.us.tpl file. If I put the customized version into /etc/sympa/wws_templates, wwsympa still loads the uncustomized version from /usr/share/sympa/wws_templates. I created the loginbanner.tpl symlink. I chowned both of them to sympa:sympa. I restarted the web server. Is there a way to make wwsympa look in /etc/sympa first and then fall back to /usr/share/sympa if the file is not found?
Sorry, I didn't realize the loginrequest.us.pl template used an absolute path. Does the parser require the use of absolute paths in the PARSE command?
-- Olivier Salaun Comite Reseau des Universites
-
Separate directory tree for customized files?,
John Dalbec, 05/15/2003
-
Re: [sympa-users] Separate directory tree for customized files?,
John Dalbec, 05/15/2003
-
Re: [sympa-users] Separate directory tree for customized files?,
Glenn Gillis, 05/15/2003
- Re: [sympa-users] Separate directory tree for customized files?, Glenn Gillis, 05/15/2003
- Re: [sympa-users] Separate directory tree for customized files?, Olivier Salaun - CRU, 05/16/2003
-
Re: [sympa-users] Separate directory tree for customized files?,
Glenn Gillis, 05/15/2003
-
Re: [sympa-users] Separate directory tree for customized files?,
John Dalbec, 05/15/2003
Archive powered by MHonArc 2.6.19+.