okay ive got a weird problem i cant seem to fix, in the category views of my site are the category thumbnails but i cannot click on images themselves, to go to the sub category I have to click on name which is massively annoying. Does anyone know how to fix this? dont think its a option i missed, maybe just need to edit the view file.
link so you can see for yourselves:
http://www.rampagegaming.co.za/index.php/store-3/graphics-cards
http://forum.virtuemart.net/index.php?topic=79799.0
In default VirtueMart 2.0.22a the category images are clickable, as they have been in previous versions. You are using a commercial template where the template overrides are coded differently so do not have that function.
Compare your override file which will be [your-Joomla-template]/html/com_virtuemart/categories/default.php (although it is just possible that the template devlopers used a different name for that file) with the default file at components/com_virtuemart/views/categories/tmpl/default.php to see what changes to make to the override file code.
If you cannot work it out ask the template developers. See http://forum.virtuemart.net/index.php?topic=108212.0
Thanks, ill take a look and see if i can get it to work
Bwahahaha, got it to work.
if anyone else has this problem you need to make sure the Category link section looks like this:
// Category Link
$caturl = JRoute::_ ( 'index.php?option=com_virtuemart&view=category&virtuemart_category_id=' . $category->virtuemart_category_id , FALSE);
// Show Category ?>
<div class="category floatleft<?php echo $category_cellwidth . $show_vertical_separator ?>">
<div class="spacer">
<h2>
<a href="<?php echo $caturl ?>" title="<?php echo $category->category_name ?>">
<?php echo $category->category_name ?>
<br />
<?php // if ($category->ids) {
echo $category->images[0]->displayMediaThumb("",false);
//} ?>
</a>
</h2>
</div>
</div>
<?php
$iCategory ++;