[drupal-devel] [feature] Assign different class attributes to news from different feeds

scutari drupal-devel at drupal.org
Wed Aug 31 10:17:18 UTC 2005

Issue status update for 
Post a follow up: 

 Project:      Drupal
 Version:      4.6.0
 Component:    aggregator.module
 Category:     feature requests
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  scutari
 Updated by:   scutari
 Status:       patch (code needs review)
 Attachment:   http://drupal.org/files/issues/submitted_aggregator_0.patch (637 bytes)

Eache news item is wrapped in :

$output .= "<div class=\"news-item\">\n";

To apply different CSS styles to different feeds I had to change that

$output .= "<div class=\"news-item-".$item->fid."\" >\n";

The attached patch works fine (and applies fine, too) drupal 4.6.3.


More information about the drupal-devel mailing list