Bug Help - URL & changes to "& amp;" in News Feed

Memovie Joomla Template support forum for Joomla 1.5 only.
GK User
Fri Apr 09, 2010 7:19 pm
Hello,

After searching the Components News Feed code & rss.php I am unable to locate where the code is that is swapping out "&" with "&amp" in the components news feed url's.

For example the correct URL is;

http://armanipress.com/pressRelease/pre ... anguage=EN

The components news feed is rendering;

http://armanipress.com/pressRelease/pre ... anguage=EN


The URL are not formatting correctly in the Components RSS News Feed, but it is working correctly in the Module RSS mod_feed.

This is inconsistant behavior within the software solution.

Can you please tell me where to make the configuration or coding change?

Thank you!

Dwight
User avatar
Junior Boarder

GK User
Tue Apr 13, 2010 10:24 am
I think that you can change everything in component com_newsfeeds tmpl files. Probably it is connected with:
Code: Select all
$this->escape

function. But if it isn't then you can always try to use str_replace function with:
Code: Select all
$item->get_link()

elements and replace all '&' with '&'
User avatar
Administrator

GK User
Tue Apr 13, 2010 7:58 pm
Thank you!

I will look for these changes and see how it goes.

All the best!
User avatar
Junior Boarder


cron