Smart Bookmarker V1.0
Smart BookMarker
the login page doesn't appear?
(1 viewing) (1) Guest
TOPIC: the login page doesn't appear?
the login page doesn't appear? 11 Months, 2 Weeks ago
Karma: 0
Hi and compliments for the excellent job!
I've installed smart blog and all runs smoothly a part from when I'm not logged in and I hit Add New Post. It sends me to an odd semi-empty page.
www.newtreedesign.com/theregentbar.co.uk...=blog&Itemid=132
How can I fix this?
Any help much appreciated, thanks.
Paolo
Re: the login page doesn't appear? 11 Months, 2 Weeks ago
Karma: 1
hi
pls find this page
components/com_blog/views/addpost/view.html.php, Line no : 33
Replace this line
$link = JRoute::_('index.php?option=com_user&view=login&return='.base64_encode(JRoute::_('index.php?option=com_blog&view=blog',false)), false);
with
$link = JRoute::_('index.php?option=com_user&view=login&Itemid=139&return='.base64_encode(JRoute::_('index.php?option=com_blog&view=blog',false)), false);
And
components/com_blog/views/comments/tmpl/default.php Line no : 126
<a href="<?php echo JRoute::_('index.php?option=com_user&view=login&return='.base64_encode(JRoute::_('index.php?option=com_blog&view=comments&pid='.$this->BlogPostList->id,false)), false);?>"><?php echo JText::_(PLEASE_LOGIN_TO_WRITE_COMMENT );?> </a>
with
<a href="<?php echo JRoute::_('index.php?option=com_user&view=login&Itemid=139&return='.base64_encode(JRoute::_('index.php?option=com_blog&view=comments&pid='.$this->BlogPostList->id,false)), false);?>"><?php echo JText::_(PLEASE_LOGIN_TO_WRITE_COMMENT );?> </a>
Last Edit: 2009/09/28 00:03 By devadmin.
Re:the login page doesn't appear? 11 Months, 2 Weeks ago
Karma: 0
Hello and thanks very much for your help. I've tried to make the changes you've kindly suggested, but the Add Post still sends me to the same empty page if clicked.
If you have a look at the address bar and check the address were the button sends you it seems to redirect to the right place:
www.newtreedesign.com/theregentbar.co.uk...login&Itemid=132
but immediately after it switches to the empty page sending you at the address:
www.newtreedesign.com/theregentbar.co.uk...YmxvZyZJdGVtaWQ9MTMy
Could you please let me know if you know why this is happening?
Another thing: is it possible to allow not-logged in visitors to leave comments only on the blog?
Thank you very much
paolo
Last Edit: 2009/09/28 06:29 By paquito.
Re:the login page doesn't appear? 11 Months, 2 Weeks ago
Karma: 1
hi
i can't get u r site. pls make it online.
Re:the login page doesn't appear? 11 Months, 2 Weeks ago
Karma: 0
Sorry, my mistake.
It should be online now.
Thanks
p
Re:the login page doesn't appear? 11 Months, 2 Weeks ago
Karma: 1
hi, i missed one thing
components/com_blog/views/addpost/view.html.php line No : 33
$link = JRoute::_('index.php?option=com_user&view=login&return='.base64_encode(JRoute::_('index.php?option=com_blog&view=blog',false)), false);
Replace with
$link = JRoute::_('index.php?option=com_user&view=login&Itemid=139&return='.base64_encode(JRoute::_('index.php?option=com_blog&view=blog',false)), false);