Login Box is not displayed in printHead

Bug #351311 reported by Malcolm Fitzgerald
2
Affects Status Importance Assigned to Milestone
Woda
Confirmed
Wishlist
Unassigned

Bug Description

The login box is generated but not printed by printHead.

The location of the login box needs to be determined. It is probably best if it occurs in the top of the page, either centered or right aligned. It could follow pageTitle and be repositioned using CSS, with the css id LOGINBOX.

description: updated
Revision history for this message
Xavier Brochard (xavier) wrote :

on What page ?
I can see the login box on Home if I'm not logged in.
Regarding the location, web page designers should be allowed to choose it. But i think that CSS discussion can be postponed to another release: there is a lot of work to do here.

Changed in woda:
importance: Undecided → Wishlist
Revision history for this message
Malcolm Fitzgerald (malcolm-notyourhomework) wrote :

The loginbox appears on the Home page because the code for Home includes this. It seems as though Ziga has changed his mind about the behaviour and moved the code from printHead into cgiHome.

In my experience, the login box should be available from all pages. I have several sites running that need to have login authorisation and what I have found is that users bookmark the pages that they need. They do not bookmark Home and navigate from there. In these cases I have code which tests the user group and displays the login form to guests. That is preferable to the warning box that says "you do not have permission, etc" as many people who do really have permission only need to login and it is much nicer to say "welcome, please login". However, this is a special case, in many cases it will be possible for guests to use the system without ever having to login.

I think that this is an area where we need to put a little more thought into the behaviour. Login can be optional or required, in either case, it is only possible when there is WBB{usertable} or WBB{groups} has been defined.

Revision history for this message
Xavier Brochard (xavier) wrote : Re: [Bug 351311] Re: Login Box is not displayed in printHead

Le mercredi 01 avril 2009 01:02:22 Malcolm Fitzgerald, vous avez écrit :
> The loginbox appears on the Home page because the code for Home includes
> this. It seems as though Ziga has changed his mind about the behaviour
> and moved the code from printHead into cgiHome.
>
> In my experience, the login box should be available from all pages.

I agree. Same experience.

> I
> have several sites running that need to have login authorisation and
> what I have found is that users bookmark the pages that they need. They
> do not bookmark Home and navigate from there.

If they bookmark the page, we should change the expiration date of the cookie.

> In these cases I have code
> which tests the user group and displays the login form to guests.

I think that curently, the Login box is allways displayed (I've checked this
on some page, but not all)

The current practice on the web is to redirect users to a login page and after
login, to going back.

> That
> is preferable to the warning box that says "you do not have permission,
> etc" as many people who do really have permission only need to login and
> it is much nicer to say "welcome, please login". However, this is a
> special case, in many cases it will be possible for guests to use the
> system without ever having to login.

You are right: this message is not the best and should be change.
It's a bit terrific!
A link to Home should be added
Basic Head and Bottom are also missing (would help to navigate).

Possible improvement: use a layer to display the Warning and login box above
the page.

> I think that this is an area where we need to put a little more thought
> into the behaviour. Login can be optional or required, in either case,
> it is only possible when there is WBB{usertable} or WBB{groups} has been
> defined.

There are problems with the actual system. We need to think about it. I will
try to put my wishes on the wiki.

--
Xavier
<email address hidden>
09 54 06 16 26

Xavier Brochard (xavier)
Changed in woda:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.