|
Hello,
We developed a custom theme and, somehow, overridden the ability to display the “ Your review has been accepted for moderation.” message that appears when a guest submits a review.
I noticed one thread talked about it and suggested adding this on the product page:
<?php
$this->getLayout()->getMessagesBlock()->setMessages(Mage::getSingleton('review/session')->getMessages(true)); echo $this->getMessagesBlock()->getGroupedHtml(); ?>
Unfortunately no dice.
What block do I call to ensure, on my product page, that after a review is submitted, I can receive that message?
EDIT - I realize that our form submits the review fine but it posts to itself, the product page. In other words, it will post back to the
http://www.site.com/product_name.html page - the proper url for the product page, instead of the product review page such as:
http://www.site.com/review/product/list/id/125/category/3/
I’m guessing that has something to do with it. What would be the best way to ensure I post to the proper url or, even better, keep it posting to itself but using the block that displays that message? I scanned through the review template and couldn’t find what generates that message.
Thanks.
|