What IS $returnid?
What IS $returnid?
Any good resource on understanding what $returnid is, and how to use it?
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: What IS $returnid?
$returnid is the destination page. it's used to know what page to return to.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: What IS $returnid?
That's what I'd think, too. But the value seems to always be 0 or null; How would I, for example, do an action and return to the calling page? I've tried:calguy1000 wrote: $returnid is the destination page. it's used to know what page to return to.
Code: Select all
$this->Redirect($returnid)
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: What IS $returnid?
returnid is irrelevant and will be 0 or null when handling an admin action.... but on the frontend it'll be valid.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.