Page 1 of 1
Calguys User Directory, blank search page if returning
Posted: Thu Oct 23, 2014 8:24 am
by urheat
Hi!
If I search users with Calgyus User Directory search, visit user's profile and then hit browser back-button, I get an error page that says that "the page is old". If I refresh the page, I get the search results again.
Re: Calguys User Directory, blank search page if returning
Posted: Thu Oct 23, 2014 9:32 am
by paulbaker
Sounds like this is happening:
https://en.wikipedia.org/wiki/Post/Redirect/Get
I have never used User Directory so can't help further.
Re: Calguys User Directory, blank search page if returning
Posted: Sun Oct 26, 2014 9:20 pm
by Jeff
urheat wrote:Hi!
If I search users with Calgyus User Directory search, visit user's profile and then hit browser back-button, I get an error page that says that "the page is old". If I refresh the page, I get the search results again.
That is the standard message/warning given by the browser(nothing from CMSms) for going "back" to a POST form results page.
Re: Calguys User Directory, blank search page if returning
Posted: Mon Oct 27, 2014 8:59 am
by urheat
Jeff wrote:
That is the standard message/warning given by the browser(nothing from CMSms) for going "back" to a POST form results page.
Yes - I know this works this way, but this is quite bad "feature" from the UI point of view. And for example CMSMS basic search won't give an error page if returning to search result page.
I'm just wondering, am I doing something wrong or can this "behavior" be fixed.
Re: Calguys User Directory, blank search page if returning
Posted: Wed Oct 29, 2014 4:27 am
by Jeff
You can submit a feature request in the forge (
http://dev.cmsmadesimple.org/projects/cguserdirectory) to have him switch it to a GET request instead.
Re: Calguys User Directory, blank search page if returning
Posted: Sat Dec 27, 2014 7:43 pm
by Dr.CSS
Depending on where you expect the back link to go you could make a different one like JSback -2 code or a link to userdirectory page...
Re: Calguys User Directory, blank search page if returning
Posted: Mon Feb 09, 2015 7:13 pm
by urheat
I posted a feature request and got an answer:"read the module help"
I've read it multiple times, but I just can't find the answer. Is there someone who could help me a bit further, thanks!