Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] Customizing headers for archive pages only - the solution
- 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
-
RE: [sympa-users] Customizing headers for archive pages only - the solution,
Joe Davidson, 01/28/2002
-
Re: [sympa-users] Customizing headers for archive pages only - the solution,
Aumont, 01/29/2002
-
Re: [sympa-users] no solutions,
snakepit, 01/29/2002
-
Message not available
- Re: [sympa-users] no solutions, snakepit, 01/29/2002
-
Message not available
-
Re: [sympa-users] no solutions,
snakepit, 01/29/2002
-
Re: [sympa-users] Customizing headers for archive pages only - the solution,
Aumont, 01/29/2002
Archive powered by MHonArc 2.6.19+.