This work:
<?php if (JRequest::getVar('view')=='productdetails') { ?><jdoc:include type="modules" name="lat1" /><?php } ?>
<?php if (JRequest::getVar('view')=='category') { ?><jdoc:include type="modules" name="lat2" /><?php } ?>
THIS DONT WORK <?php if (JRequest::getVar('view')=='categories') { ?><jdoc:include type="modules" name="lat3" /><?php } ?>
Categories view is for what? I was thinking that was to display all categories without products like we got in view www./
index.php?option=com_virtuemart But NOT :|
The www./
index.php?option=com_virtuemart must be connected to: www./
index.php?option=com_virtuemart&view=categoriesand not: www./
index.php?option=com_virtuemart&view=category Right ??
.....
I've discover this because I want to apply a Joomla Custom Module Banner in Categories View (not in Product Category View) and we can do that.
To see my Banner I've tested to write www./
index.php?option=com_virtuemart&view=categories and I can See that Banner is there!
Works perfect until change to Category View here ( index.php?option=com_virtuemart&view=category&virtuemart_category_id=2 ) ..
But i can put Categories View working by default url!!

And if we click in any 1st level Category here: www./
index.php?option=com_virtuemart&view=categories (Can see the banner)
we will see something this: www./
index.php?option=com_virtuemart&view=categories&virtuemart_category_id=1 (Can see the banner)
But we cannot see on this VM default url situation:
www./
index.php?option=com_virtuemart&view=category&virtuemart_category_id=1 or
www./
index.php?option=com_virtuemart&view=category or
www./
index.php?option=com_virtuemartAny Solution, please?!