Live Discussion - option to change formatting of block's content

media girl - January 23, 2005 - 07:05
Project:Live Discussion
Version:4.5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Prometheus6
Status:closed
Description

I am wondering if it would be possible to add an option to break the listed items with paragraph or list-item tags.

I would love to be able to style the list as ... well ... as a list (with bullets or whatever). If the separate links were broken by paragraph breaks or list item breaks, it would be easy to style with css. As it is, all the output is one pseudo-paragraph, broken by linebreak codes, so any attempt to style the block's content as, say, a bulleted list ends up with one bullet only. (Unless I'm missing something.)

Thanks.

#1

Boris Mann - January 23, 2005 - 08:09

Technically, the theme_item_list should be used, or a custom theme_livediscussion_links, so it can be overridden in the theme.

#2

Prometheus6 - January 23, 2005 - 14:40

Time to understand what themes do, I guess. My own site is themed strictly by adjusting the stylesheets in the PHPTemplate theme and that's as far as I've considered it.

If theme_item_list() is the way to go I'll make that change in a day or so.

#3

Prometheus6 - January 23, 2005 - 15:03
Assigned to:Anonymous» Prometheus6

That was easier than I thought. Here's a patch that formats the block using theme_item_list()...I've also committed the change so in a couple of hours you can download the zip file again if you're not comfortable with patches.

AttachmentSize
LIVE_DISCUSSION_1.3_to1.4.txt 920 bytes

#4

media girl - January 23, 2005 - 21:34

Wonderful! Looking forward to it! Thanks for the most-rapid response!

#5

Prometheus6 - January 25, 2005 - 17:26

#6

Prometheus6 - January 28, 2005 - 01:40
 
 

Drupal is a registered trademark of Dries Buytaert.