Skip to Content.
Sympa Menu

devel - Re: [sympa-users] Changing the login view, and integrating "home", "your lists", "all lists"...

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Olivier Salaun <address@concealed>
  • To: Adam Bernstein <address@concealed>
  • Cc: address@concealed, address@concealed
  • Subject: Re: [sympa-users] Changing the login view, and integrating "home", "your lists", "all lists"...
  • Date: Fri, 31 May 2002 10:44:35 +0200

Hi Adam,

Adam Bernstein wrote:
>
> I'm working on customizing the interface a lot, and one major
> item (in effectiveness, but very small in terms of work) is having
> it display the "which" view if someone is logged in, but the "home"
> view if they're not. (Otherwise, if you set it to "which" and they're
> not logged in, it just complains that they need to login and shows
> nothing. Rather distressing.) I just added a conditional in do_home{}
> to return "which" instead of "1" if there is a login:
>
> 4423a4424,4427
> > if ($param->{'user'}{'email'}) {
> > return 'which';
> > }
> >

Actually you could have access to 'which' information in any template,
without having to change the code for calling 'which' action.
This has been implented in 3.3.4b.9 version of Sympa (it is in 3.3.5).
Here is what the release_notes says about this feature :

New "your_subscribtions" HTTP cookie to carry subscriptions in
all templates. [get_which] is a table with one entry per list
[which_info] is a hash using listname keys and SUBJECT and HOST as
value

Topics are now available in all templates

This allows you to easily carry the 'Your groups' box in all pages via
the 'get_which' variable.

> (diffed against the Sympa 3.3.5 source of wwsympa.fcgi)
>
> But what we *really* want is to get rid of the separate "Your lists"
> page, and just have it integrated with the home page -- so your lists
> are displayed next to the Topics list immediately at login, like on
> YahooGroups or Topica. That requires modifying the home.tpl, which.tpl,
> and menu.tpl templates at least, and I haven't done a very clean job of
> it yet, but you can see what I mean at http://npogroups.org (if you
> create an account and login, anyway). It works great, and presents
> information much more efficiently.

It looks great !

> Next on my agenda is getting rid of the "All lists" page as well, so that
> "view all lists" and "search lists" both return their results within the
> same Topics list window on the home page. So then we have a single home
> page that includes "home", "your lists", "all lists", and list search
> results, all in one neat display.

Sympa 3.3.5 also makes the list of topics available in all pages (see previous
release_notes extract).

We might be interesting in integrating some of your customization, if you
agree.
Please keep us informed about your project...

--
Olivier Salaün
Comité Réseau des Universités



Archive powered by MHonArc 2.6.19+.

Top of Page