New Zenner
- Join Date:
- Feb 2006
- Posts:
- 31
- Plugin Contributions:
- 0
Redirect after submitting a review
Hi All,
I am using the dgReviews mod which shows product reviews on the main product info display page and it is working fine. What I want to be able to do however is after a user submits a review the site redirects back to the product info display page. The current default behavior is to go to the page derived from tpl_product_reviews_default.php.
Is there a way of modifying the behavior of the reviews Submit button to redirect to the product info page after submitting the review??? Or is there any easy way to do a redirect?
I've got a hack method working of putting a <meta http-equiv="refresh" content="0; url=xxx"> at the top of tpl_product_reviews_default.php but it's a poor way of doing it and you still see the reviews default page flash up for a second before the redirect happens.
Any help appreciated. Cheers.