News module and detailpage

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
Beli
New Member
New Member
Posts: 2
Joined: Wed Jan 15, 2014 11:17 am

News module and detailpage

Post 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.
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: News module and detailpage

Post 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.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Beli
New Member
New Member
Posts: 2
Joined: Wed Jan 15, 2014 11:17 am

Re: News module and detailpage

Post 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.
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: News module and detailpage

Post 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>
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: News module and detailpage

Post by Dr.CSS »

Is the detail page set in the news tag, detailpage=, or in the admin..?
Post Reply

Return to “The Lounge”