Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi. nice to meet you.
In this thema, RSS link on header is a wrong link. So.. I fixed this problem and will upload patch.
Comment | File | Size | Author |
---|---|---|---|
#2 | site.png | 650.69 KB | barami |
fix_rss_link-7.x-1.1.patch | 891 bytes | barami |
Comments
Comment #1
devsaran CreditAttribution: devsaran commentedThere is nothing wrong in the RSS link on header.
<li><a href="<?php print $front_page . ($language->prefix ? '/' : ''); ?>rss.xml">RSS</a></li>
I included the Language Prefix for the RSS link.. And It works fine in all site including multilingual..
Comment #2
barami CreditAttribution: barami commentedThat code printed "http://rss.xml" in my site.
It's wrong. What does i do?
Comment #3
barami CreditAttribution: barami commentedSee the left bottom in screenshot. your php code returned "//rss.xml" in a link.
(I'm using locale module, but don't use translate module.)
If you want to contain a language code in feed link, I suggest to use check_url function.
http://heine.familiedeelstra.com/use-front_page-not-base_path-for-multil...
Comment #4
devsaran CreditAttribution: devsaran commentedFixed in Development Release (7.x-1.x-dev).. Will be include in next release 7.x-1.2.