Page 1 of 1
News Module $return_url not working with internal pretty urls
Posted: Mon Nov 09, 2009 9:26 am
by alzambo
Hi to everybody,
I've discovered that if you use the 'internal' pretty urls setup in config, the $return_url link doesn't work properly.
Is this a known bug?
Alex
CMS version: 1.6
News module version: 2.10
Re: News Module $return_url not working with internal pretty urls
Posted: Tue Nov 10, 2009 7:48 am
by alzambo
...nobody?
Re: News Module $return_url not working with internal pretty urls
Posted: Tue Nov 10, 2009 8:03 am
by Rolf
Hi Alzambo,
Is this a known bug?
CMS version: 1.6
Have you tried upgrading to 1.6.6?
If this was a bug in 1.6, it is probably solved by now.
Regards, Rolf
Re: News Module $return_url not working with internal pretty urls
Posted: Tue Nov 10, 2009 12:31 pm
by alzambo
Hi Rolf,
i've just updated to 1.6.6 and the problem remains: with internals pretty urls, the backlink on the detail page links to the detailpage itself.
Thank you Rolf,
Alex
Re: News Module $return_url not working with internal pretty urls
Posted: Wed Nov 11, 2009 7:36 am
by alzambo
up
Re: News Module $return_url not working with internal pretty urls
Posted: Wed Nov 11, 2009 2:56 pm
by Rolf
Have you tried using 'mod_rewrite' yet?
Rolf
Re: News Module $return_url not working with internal pretty urls
Posted: Thu Nov 12, 2009 11:20 am
by alzambo
Rolf wrote:
Have you tried using 'mod_rewrite' yet?
Rolf
Hi Rolf!
I've just tried... no way..
I tried to assign the return link to a variable and then recall it inside the detailpage, but the variable seems to be empty when I'm in detailpage.
Are the assigned variables with {capture} resetted on page-change?
Alex
Re: News Module $return_url not working with internal pretty urls
Posted: Thu Nov 12, 2009 11:28 am
by Rolf
Hmm.
Or use plain javascript:
Code: Select all
<a href="javascript:history.go(-1)">[Return]</a>
Rolf
Re: News Module $return_url not working with internal pretty urls
Posted: Thu Nov 12, 2009 11:51 am
by alzambo
Rolf wrote:
Hmm.
Or use plain javascript:
Code: Select all
<a href="javascript:history.go(-1)">[Return]</a>
Rolf

I'm trying to avoid js because, if disable, the return link will not work.
Re: News Module $return_url not working with internal pretty urls
Posted: Thu Nov 12, 2009 12:32 pm
by Rolf
Understandable...
When you put {get_template_vars} in your detail content, you can see all used parameters, perhaps it will be of any help...
You have your site local, possibly the return link will work when the site is online... Mixed up with another post
Greetz Rolf