Page 1 of 1
News module and detailpage
Posted: Wed Jan 15, 2014 11:59 am
by Beli
Hi!
I have the following problem with news module and the detailpage. The detail page shows the full news, but the back button that should return you to the previous page where you came from, returns to default detail page showing no news. Is the problem in $return_url code?
Thanks.
Re: News module and detailpage
Posted: Wed Jan 15, 2014 2:07 pm
by JohnnyB
Hi - can you post what version of News and CMSMS is installed?
In the meantime, under Site Admin, Site Maintenance, you can press the update routes button under the Cache and Content tab. I don't know if that will help in your case, but it has helped similar situations for me.
Re: News module and detailpage
Posted: Thu Jan 16, 2014 11:51 am
by Beli
Hello!
I'm using CMSMS 1.11.9 and News module 2.14.1... With previous version of News worked fine! Tried to clean the cache, refresh database routes and hierarchy of page but i'm still having problems. Will try to downgrade to previous version of news and see what happens.
Re: News module and detailpage
Posted: Thu Jan 16, 2014 3:47 pm
by staartmees
You could keep it simple and replace the Back-button in the newstemplate with
Code: Select all
<a href="javascript:history.go(-1)">[Go Back]</a>
Or if you want a back-button
Code: Select all
<form>
<input type="button" value="Go back" onclick="history.back(-1)" />
</form>
Re: News module and detailpage
Posted: Sat Jan 18, 2014 5:11 pm
by Dr.CSS
Is the detail page set in the news tag, detailpage=, or in the admin..?