Return Paramater Wierdness
Posted: 29 July 2008 07:49 PM   [ Ignore ]
Newbie
Rank
Total Posts:  17
Joined  2007-01-15

I’m having a small issue with the return parameter. I am using a little bit of a advanced setup with EE. We are passing a variable in a subdomain (setup as a wildcard in the Zone File). I’ve got a FreshVarible pulling the subdomain for use on the page, hence my code looks like this for the ratings form:

{exp:rating:form entry_id="{entry_id}" form_name="Library Review" require_membership="yes" status="open" allow_duplicates="yes" return="http://{subdomain}.{site_domain}/{segment_1}/{segment_2}/{segment_3}/"}
<input type="hidden" name="name" value="{screen_name}" />
<
input type="hidden" name="email" value="{email}" />
<
label for="review">Your Rating</label>
<
select name="rating">
<
option value="1">1</option>
<
option value="2">2</option>
<
option value="3">3</option>
<
option value="4">4</option>
<
option value="5">5</option>
</
select>
<
label for="review">Your Review</label>
<
textarea name="review" rows="10" cols="40"></textarea>
<
input type="submit" name="submit" value="Submit!" />
{/exp:rating:form}

This works fine in Safari, but not in other browsers. And actually I see this in the Form tag for the page:

<input type="hidden" name="RET" value="http://www.domain.com/library/article/212/" />

<
input type="hidden" name="return" value="http://lightning.domain.com/library/article/212/" />

In FireFox and IE, I notice that the page quickly goes to the RET value and then seems to redirect to the “return’ value.

Is there any way to remedy this? Shouldn’t the RET and return be the same?

Thanks,

- T. Payton

Profile
 
 
Posted: 30 July 2008 07:54 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

T. Payton,

I’ve have Brent look at this issue before we take Rating 2.2.0 live smile

Thank you for your patience wink

 Signature 
Profile
 
 
Posted: 29 August 2008 10:57 AM   [ Ignore ]   [ # 2 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

T. Payton,

This issue has been corrected in the release of Rating 2.2.0, now available for download. smile

 Signature 
Profile