How to Customize a Drupal Syndicate Feed Icon?
Submitted by: MuhammadFor a recent project I needed to customize the feed icon in the Drupal theme I was creating. This wasn't as straight forward as I thought it would be. Being the drupal newbie that I am I went looking for it in the core templates and suggestions page only to come empty handed.
Previously I found the solution to theming a search form by using the search-block-form.tpl.php template file and thought there would be one for the feed icon too. I found the solution to this in the function reference in the form of a theme hook.
theme_feed_icon($url, $title)
This function is internally called by drupal to generate the feed icon in the Syndicate block. Our Job is to override this function.
Submitted by: Muhammad
Previously I found the solution to theming a search form by using the search-block-form.tpl.php template file and thought there would be one for the feed icon too. I found the solution to this in the function reference in the form of a theme hook.
theme_feed_icon($url, $title)
This function is internally called by drupal to generate the feed icon in the Syndicate block. Our Job is to override this function.
Submitted by: Muhammad
Read Online Drupal Job Interview Questions And Answers
Top Drupal Questions
☺ | What Is Drupal? |
☺ | How Does Drupal Compare to Other Open Source CMS Systems? |
☺ | How Does Drupal Compare to Commercial CMS Systems? |
☺ | What are System requirements for Drupal? |
☺ | Why ca not A Drupal user edit a node they created? |
Top CMS (Content Management System) Categories
☺ | WordPress Interview Questions. |
☺ | CMS Interview Questions. |
☺ | Joomla Interview Questions. |
☺ | Drupal Interview Questions. |
☺ | Moodle Interview Questions. |