Hi,
Version: Jooma 1.5.25 / VM 2.0
after posting a review the FE templated gets broken by a missing </div>
I think a the end of this file: /com_virtualmart/views/productdetails/tmpl/default.php
a </div> is missing. It solves my problem anyway.
if($this->allowRating || $this->showReview) {
?>
<input type="hidden" name="virtuemart_product_id" value="<?php echo $this->product->virtuemart_product_id; ?>" />
<input type="hidden" name="option" value="com_virtuemart" />
<input type="hidden" name="virtuemart_category_id" value="<?php echo JRequest::getInt('virtuemart_category_id'); ?>" />
<input type="hidden" name="virtuemart_rating_review_id" value="0" />
<input type="hidden" name="task" value="review" />
</form>
</div>
</div>
<?php
}
// else echo JText::_('COM_VIRTUEMART_REVIEW_LOGIN'); // Login to write a review!
?>
</div>
Regards,
Johan
Johanjanssen, when you validate the page does it validate after?
sometimes it just needs a
<div class="clear"></div>
Bump for this same problem and same solution(adding a </div> to the end of the file). Joomla 2.51 and VM 2.0.1F. Without the extra </div>, unpublishing the review doesn't fix the problem either. A delete of the review does fix it though.