Skip to Content.
Sympa Menu

en - Re: [sympa-users] Customizing headers for archive pages only - the solution

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Aumont <address@concealed>
  • To: Joe Davidson <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Customizing headers for archive pages only - the solution
  • Date: Tue, 29 Jan 2002 09:03:38 +0100

Joe Davidson wrote:

> I want to customize the sympa look and feel for views of the archive
> page only, but not for list moderators and owners. To be more
> specific, I do not want those who view the archive, without being logged
> in, to see a login button. At the same time, I want those who come to
> the main page of the list to be see the button and be able to log in.
>
> I note that there are various template variables, such as is_listmaster,
> is_editor, is_user, which can be used to customize the templates. Is
> there any template variable, such as "is_viewing_archives", which I can
> use to detect whether the user is on the archive page .
The template variable [action] contain the name of the requested action.
Action related to archives are : 'arc','arcsearch','arcsearch_id' and
'arcsearch_form'. I think using this variable is the best way to
customize Sympa in order to make it as described.

--
-----------------------------------------------------------
Serge Aumont Comité Réseaux des Universités
Campus Beaulieu
35042 Rennes Cedex



Archive powered by MHonArc 2.6.19+.

Top of Page