Posted by ravi kant on November 30, 2012 at 7:29am
A favicon icon is not showing at rss.xml page. This is appearing at http://drupal.org/rss.xml. how i can unable favicon in our sub theme's rss.xml page. I also replaced theme favicon and also uploaded from theme setting. Than, this appears at all pages but not appear at rss.xml.
Thanks
Ravi kant Kumawat
Comments
I m facing same problem.
I m facing same problem. Please help
Thanks in advance.
http://drupal.stackexchange.c
http://drupal.stackexchange.com/questions/16053/how-to-show-rss-icon-for...
Please upload favicon icon on
Please upload favicon icon on root of your site.
And write this code in template.php file.
function themename_preprocess_html(&$variables) {
if (theme_get_setting('toggle_favicon')) {
$favicon = theme_get_setting('favicon');
$type = 'image/x-icon';
drupal_add_html_head_link(array('rel' => 'shortcut icon', 'href' => drupal_strip_dangerous_protocols($favicon), 'type' => $type));
}
}
It is perfect working for me.
Thanks