Subject: The mailing list for listmasters using Sympa
List archive
RE: [sympa-users] Customizing headers for archive pages only - the solution
- From: "Joe Davidson" <address@concealed>
- To: "Joe Davidson" <address@concealed>, <address@concealed>
- Subject: RE: [sympa-users] Customizing headers for archive pages only - the solution
- Date: Mon, 28 Jan 2002 10:18:19 -0500
How I solved the problem.
When non-logged on users come on , I edited menu.us.tpl and
list_menu.us.tpl, putting in
[IF is_subscriber] to turn off all the buttons ( such as login ) that I
do not want those who browse the archives to see.
To allow logins, those who want to administer are sent to the page,
through another html page with the link,
http://foo.xxxxxxxx.com/wws/admin/vc_sml_ent_news. They must be an
administrator to access the original html page.
The page appears with a login screen on it, so the lack of a login
button is not a problem. When they do log in, all the buttons appear.
Joe Davidson
-----Original Message-----
From: Joe Davidson
Sent: Friday, January 25, 2002 9:34 AM
To: address@concealed
Subject: [sympa-users] Customizing headers for archive pages only
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 .
As an alternative, how can I use mhonarc directly?
Joe Davidson
-
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+.