By Rainman on Thursday, 06 March 2014
Posted in General
Replies 7
Likes 0
Views 644
Votes 0
Hi,

I set up a RSS to email campaign in Mailchimp and when it sends out it adds a "Read More" link at the end of each blog. However, the "Read More" link leaves off the domain name in front of the blog path. Below is what I pulled directly from the RSS feed. I simply replaced the name of the blog with blog-name. I put the RSS URL in the Site URL field.

</span></p><br /><a href=/entry/blog-name>Read More</a>]]></description>

Thx,
Rainman
Hello Rainman,

Sorry for late reply to this,
Yes, that "Read More" link should be display on this URL. You can see the code below :

$row->text .= '<br /><a href=' . EasyBlogRouter::_('index.php?option=com_easyblog&view=entry&id=' . $row->id ).'>' . JText::_( 'COM_EASYBLOG_READ_MORE' ) . '</a>';

<a href=/entry/blogpostTitle>Read More</a> <- example
·
Thursday, 06 March 2014 23:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Thanks for the reply, but the link is not complete. There is no domain name. in the link. if the blog is sent to someone's email and they try to open it up using the link they will receive an error.

Thx,
Rainman
·
Thursday, 06 March 2014 23:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Rainman,

Is it possible provide us with your Joomla backend and FTP access so we can help you check on this issues? Please advise.
·
Thursday, 06 March 2014 23:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Sure, I provided info in Site Details. The Secret Key is not needed.
·
Friday, 07 March 2014 00:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Rainman,

I have applied some fixes in your site,
JoomlaFolder\components\com_easyblog\views\latest\view.feed.php
LINE 72

$row->text .= '<br /><a href=' . EasyBlogRouter::_('index.php?option=com_easyblog&view=entry&id=' . $row->id ).'>' . JText::_( 'COM_EASYBLOG_READ_MORE' ) . '</a>';

Replace with

$row->text .= '<br /><a href=' . EasyBlogRouter::getRoutedURL('index.php?option=com_easyblog&view=entry&id=' . $row->id, false, true).'>' . JText::_( 'COM_EASYBLOG_READ_MORE' ) . '</a>';

We also will including this fixes in next release version of Easyblog.
·
Friday, 07 March 2014 02:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Great! That fixed it.
·
Friday, 07 March 2014 02:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Rainman,

You're welcome, glad to heard your issues resolved.
·
Friday, 07 March 2014 02:59
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post