[drupal-devel] [feature] Make (some) user block themeable

Tobias Maier drupal-devel at drupal.org
Wed Aug 31 08:34:46 UTC 2005


Issue status update for 
http://drupal.org/node/29145
Post a follow up: 
http://drupal.org/project/comments/add/29145

 Project:      Drupal
 Version:      cvs
 Component:    user.module
 Category:     feature requests
 Priority:     minor
 Assigned to:  Tobias Maier
 Reported by:  legoscia
 Updated by:   Tobias Maier
 Status:       patch (code needs review)
 Attachment:   http://drupal.org/files/issues/issue29145_user.module.patch (5.27 KB)

forgot the patch...




Tobias Maier



Previous comments:
------------------------------------------------------------------------

Thu, 18 Aug 2005 20:10:06 +0000 : legoscia

Attachment: http://drupal.org/files/issues/drupal-user-count.patch (3.4 KB)

The normal look of the user block was too big for my site, and the count
of online users was not deemed important enough. Thus here is a patch
that makes the display of the user count optional, leaving only the
list of online users.




------------------------------------------------------------------------

Thu, 18 Aug 2005 20:12:16 +0000 : moshe weitzman

id prefer that this be hidden using theme's CSS. if you need a div added
to the markup, then submit another patch




------------------------------------------------------------------------

Thu, 18 Aug 2005 23:30:25 +0000 : Uwe Hermann

+1 for the idea. I wouldn't force users to manually fiddle with CSS
files here. IMHO a config option is the better solution.




------------------------------------------------------------------------

Fri, 19 Aug 2005 08:43:22 +0000 : killes at www.drop.org

I think the right answer is not yet another rarely used option, but to
make the block's output themable.




------------------------------------------------------------------------

Wed, 31 Aug 2005 01:24:00 +0000 : Tobias Maier

I think killes idea is the best :)




------------------------------------------------------------------------

Wed, 31 Aug 2005 08:34:15 +0000 : Tobias Maier

Here is a patch which makes the following blocks themeable:
 - User login
 - Who's online


I hope you like it







More information about the drupal-devel mailing list