1) { $manufacturerCellWidth = ' width'.floor ( 100 / $manufacturerPerRow ); } else { $manufacturerCellWidth = ''; } // Separator $verticalSeparator = " vertical-separator"; $horizontalSeparator = '
'; // Lets output the categories, if there are some if (!empty($this->manufacturers)) { ?>
manufacturers as $manufacturer ) { // Show the horizontal seperator if ($iColumn == 1 && $iManufacturer > $manufacturerPerRow) { echo $horizontalSeparator; } // this is an indicator wether a row needs to be opened or not if ($iColumn == 1) { ?>
virtuemart_manufacturer_id, FALSE); $manufacturerIncludedProductsURL = JRoute::_('index.php?option=com_virtuemart&view=category&virtuemart_manufacturer_id=' . $manufacturer->virtuemart_manufacturer_id, FALSE); $manufacturerImage = $manufacturer->images[0]->displayMediaThumb("",false); // Show Category ?>
'; $iColumn = 1; } else { $iColumn ++; } } // Do we need a final closing row tag? if ($iColumn != 1) { ?>