Calguys User Directory, blank search page if returning

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
urheat
Forum Members
Forum Members
Posts: 243
Joined: Sat Oct 17, 2009 6:50 am

Calguys User Directory, blank search page if returning

Post 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.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: Calguys User Directory, blank search page if returning

Post 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.
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: Calguys User Directory, blank search page if returning

Post 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.
urheat
Forum Members
Forum Members
Posts: 243
Joined: Sat Oct 17, 2009 6:50 am

Re: Calguys User Directory, blank search page if returning

Post 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.
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: Calguys User Directory, blank search page if returning

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

Re: Calguys User Directory, blank search page if returning

Post 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...
urheat
Forum Members
Forum Members
Posts: 243
Joined: Sat Oct 17, 2009 6:50 am

Re: Calguys User Directory, blank search page if returning

Post 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!
Post Reply

Return to “Modules/Add-Ons”