Yes of course, It's the first I have thy try to made.
the problem is that I need to change the product list template for different categories. This product list layout are each one completely different than the other and also my parent div syntax is different.
Than I can to put some static code before and after the module, this code must to be changed like the category template
now my work around is this.
On the productlist template I add.
than I need something for insert it only one time, like some that check if is the first product on the list and insert this code.... do you know if something like this i spossible?
Fabio
the problem is that I need to change the product list template for different categories. This product list layout are each one completely different than the other and also my parent div syntax is different.
Than I can to put some static code before and after the module, this code must to be changed like the category template
now my work around is this.
On the productlist template I add.
<script type="text/javascript">
$('#dnn_ctr406_ModuleContent').addClass('ProductGrid');
$('.CategoryMessage').addClass('span9');
</script>
but it's so stupid because it's code is repeated for each product!!!than I need something for insert it only one time, like some that check if is the first product on the list and insert this code.... do you know if something like this i spossible?
Fabio