Download & Extend

Usability: have Drupal 'welcome screen' detect if U1 is logged in

Project:Drupal core
Version:7.x-dev
Component:base system
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

As noted in the UMN reports, new users can tend to rely on the "Welcome to your new Drupal website!" start screen. Yet the first thing we say to them is "Once logged in.." -- even though ~95% of people reading it for the first time are already logged in as user1 (post-install). Why not check first if they are logged in. If so, we can safely cut that (somewhat confusing) text.

Patch attached. (My first one -- let me know if I did something wrong. Thanks!)

AttachmentSizeStatusTest resultOperations
module.node-detect-logged-in.patch2.63 KBIgnored: Check issue status.NoneNone

Comments

#1

Status:active» needs review

#2

Category:feature request» task
Status:needs review» needs work

Good idea!

A couple of things though:

Patch should use tabs, not spaces spaces, not tabs - see http://drupal.org/coding-standards

Also I'd probably check for any logged in user rather than UID 1 - this welcome page will hopefully move to a node and/or the help section during D7, which means it won't disappear as soon as a node is promoted to the front page, so anyone with access will be looking at it, and they'll most likely be logged in too.

#3

I think the start page in D6 needs to go - some of it should be part of installer (and/or optional installer profiles), some of it part of the improved, task-based help system. No need to beat the dead horse. -1

#4

I think catch meant to say that patches should use spaces, not tabs, per the coding standards referenced.

#5

Thanks, Catch. I appreciate the feedback.

New patch attached.

I thought of just testing for a uid>0 but there's no guarantee that a user with uid>1 has "access administration pages", yes? I think it's a good idea, but it seems like the code would have to be pretty granular. Checking user_access("access administration pages"), etc.

Not that I think it's a bad idea. But that Welcome screen (soon to be node?) is really geared toward user1.

AttachmentSizeStatusTest resultOperations
node.module-detect-if-logged2.patch2.67 KBIgnored: Check issue status.NoneNone

#6

Component:node.module» usability

Moving all usability issues to Drupal - component usability.

#7

Component:usability» base system
Status:needs work» fixed

No longer an issue

#8

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.