Posted by Danny_Joris on November 21, 2010 at 12:53am
1 follower
Jump to:
| Project: | Feed field (CCK module) |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Hello,
When the rss feed fiels are not filled out, the empty markup is still placed in the node. In my case that's quite annoying as I'm using the display suite to put the rss output in the right column of the node. Even when the empty markup is outputted, the display thinks I have a right column enabled, so the middle column remains very narrow, while the right column is empty.
Danny
Comments
#1
I did a very rough tweak around line 194 of feed_field.module
<?phpif($item['feed_field_title'] != '') {
$out .= '<h2>' . $item['feed_field_title'] . '</h2>';
}
?>
Probably not the way to do it, but it fixed it for me. Otherwise the empty
<h2></h2>tags would still output.