Hello!
For the past hour I've been trying to figure this out by looking at category layout code, but sadly I can't figure it out.
In each page I have 6 products, but if in last page there are 4 products or 2 products.
In case of 2 products or 4 products, I would like to display additional div's to fill up empty space.
I tried using many code variations
<?php
if ($iBrowseCol == 1) {
echo '<div id="mydiv></div>';
}
?>
<?php
if ($iBrowseProduct == 2) {
echo '<div id="mydiv></div>';
}
?>
<?php
if ($BrowseTotalProducts == 2) {
echo '<div id="mydiv></div>';
}
?>
and probably some others, but none of these worked.
I'm using Joomla 2.5.8 and VM 2.0.14