Closed (fixed)
Project:
Syndication
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jan 2006 at 23:26 UTC
Updated:
9 Aug 2006 at 16:00 UTC
I believe the following would make the block (function syndication_block) more 4.7ish:
if ($pagetype == 'blog') {
$userid = arg(1);
$linkurl = is_numeric($userid) ? "blog/$userid/feed" : 'blog/feed';
} else {
$linkurl = 'rss.xml';
}
$block['content'] = theme('feed_icon', url($linkurl));
Sorry, no patch this time. I hope you get the idea though.
Comments
Comment #1
moshe weitzman commentedcommitted
Comment #2
(not verified) commented