By Don Moore on Wednesday, 30 October 2013
Posted in General Issues
Replies 3
Likes 0
Views 1.1K
Votes 0
Currently default behavior has the user redirected to the dashboard page once a blog has been posted. However, we would prefer to direct the user to the newly created post once they have submitted. I do understand that is is not going to be accomplished in the default settings but was hoping that you could help me to construct the correct url (the 5 I've tried do not work) and let me know the proper place to place the change. I have tried saving under the function save(), but this prevents the item from saving.

This did not work in function save()

$this->setRedirect( EasyBlogRouter::_('index.php?option=com_easyblog&view=entry&id=' . $blog->id) );
return;

Any help would be greatly appreciated.
Hello Don,

Sorry for the late reply. The correct redirect path for blog entries is this
$this->setRedirect( EasyBlogRouter::_('index.php?option=com_easyblog&view=entry&id=' . $blog->id, false) );

If it does not work may I have your backend and FTP access to check this out?Please advice.

Thanks!
·
Wednesday, 30 October 2013 10:40
·
0 Likes
·
0 Votes
·
0 Comments
·
I am just now getting back on this project and tried your implementation and it just worked perfectly!

Thank you so much!
·
Saturday, 16 November 2013 00:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Don,

You are most welcome. Glad that your issue is solved.

Thanks!
·
Saturday, 16 November 2013 02:54
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post