Closed (fixed)
Project:
Comment RSS
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2008 at 08:32 UTC
Updated:
23 Sep 2008 at 08:52 UTC
I found that if site has custom frontpage, site-wide comments RSS isn't added. I worked around this by modifying line 57 of the file commentrss.module:
elseif (arg(0) == 'node' && variable_get('commentrss_site', TRUE)) {
became
elseif ($_GET['q'] == variable_get('site_frontpage', 'node') && variable_get('commentrss_site', TRUE)) {
Hope you find this useful.
Regards,
telega
Comments
Comment #1
gambit1975 commentedHi, I didn´t found that file where is it?
Comment #2
telega commentedDownload commentrss package and unpack it - the commentrss.module file is inside.
Comment #3
gábor hojtsyThere is a nice drupal_is_front_page() function, which we can use. So I've committed a modified version by using that. Also, I kept the 'node' check, so that the default node listing always gets the site wide comment feed. Fixed in both 6.x and 5.x.
Comment #4
gábor hojtsyComment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.