Was excited to see this module and the preview of content, but the links all go to the sugar site I have it installed in, rather than the external link where the article is.
Where should I be looking to try to correct that?
Was excited to see this module and the preview of content, but the links all go to the sugar site I have it installed in, rather than the external link where the article is.
Where should I be looking to try to correct that?
Are you referring to the built-in RSS reader Dashlet or some other module?
Yes the built-in module, sorry to not be clearer
Are you speaking of the module or the dashlet? The module was removed back in Sugar 5.5 and is no longer supported.
If you want, please add in a screenshot. Thanks!
I guess it is a dashlet, I apologize once again for getting it wrong
What is the URL of the RSS feed you are loading?
The module was removed back in Sugar 5.5 and is no longer supported.
If you want, please add in a screenshot. Thanks!
Reply With Quote
http://sethgodin.typepad.com/seths_blog/atom.xml is the rss url which works in every respsect but the external link. which leads me to beileve my sugar instance is creating the link incorrectly
Yes, Sugar is creating the link incorrectly. Can you add a bug for this at http://bugs.sugarcrm.com and let me know what the bug # is?
The fix should be to change this code block in modules/Home/Dashlets/RSSDashlet/RSSDashlet.php from:
toPHP Code:foreach ( $rssdoc->entry as $entry ) {
$output .= <<<EOHTML
<tr>
<td>
<h3><a href="{$entry->link}" target="_child">{$entry->title}</a></h3>
{$entry->summary}
</td>
</tr>
EOHTML;
Thanks!PHP Code:foreach ( $rssdoc->entry as $entry ) {
$link = trim($entry->link);
if ( empty($link) ) {
$link = $entry->link[0]['href'];
}
$output .= <<<EOHTML
<tr>
<td>
<h3><a href="{$link}" target="_child">{$entry->title}</a></h3>
{$entry->summary}
</td>
</tr>
EOHTML;
I tried this, and the home tab ends up blank for this user after refreshing the page. I thought this might be related to the url perhaps being wrong, restoring from backup is all that would work. Restoring the file to the previous code and running repair on dashlets doesn't work either. Is it possibly storing something in a table that is not correct, if so, I don't know what table to look in.
Appreciate the help. Somehow even restoring the file doesn't fix it, that is why I suspect the table has a problem.
Any ideas?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks