If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
How to tell Advanced Poll Where to Go After Voting  XML
Forum Index » Support Forum
Author Message
Anonymous



Is there a way to redirect the user to a different link after they've voted.

Like, they vote on the poll.php page and after they vote they are taken to the home.php page
Anonymous



or if no one can tell me exactly how to do that, can someone tell me where in the Advanced Poll code it tells the browser to go to the new page?
amber222
Graduate

Joined: 07/05/2004 21:13:07
Messages: 586
Offline

Php automatically loads the results in the same page they were ordered from. If you want the user to end up on the home.php page, just put the poll on the home.php page.

If you want to do something different, perhaps try the javascript popup.
Anonymous



amber222 wrote:Php automatically loads the results in the same page they were ordered from. If you want the user to end up on the home.php page, just put the poll on the home.php page.

If you want to do something different, perhaps try the javascript popup.


thanks for responding. but where in the code does it tell the user to go to the page they were last on?
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Never used the poll myself but at a guess it submits the vote to the page it is on so you end up back at the page the voting was on but seeing the results. Possibly I'm wrong, Auron is the Advanced Poll guru.

Wonder if Auron means Au ron. Au is chemical symbol for gold so golden ron? Sorry been a long day.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum