Changing my categories layout using the layout from a module within my template

Started by bprevost, June 15, 2013, 14:59:12 PM

Previous topic - Next topic

bprevost

Hi all,

New to this forum, this is great stuff, really like it!

I'm not the most experienced in php and I'm just trying to find a quick way to change my categories layout (I assume its the file html\com_virtuemart\category\default.php). The easy part (I think) is that I've got a module created within my template for all my "Hot deals". The way this module displays my products is exactly the way I want my products layout to be for my category view.

Any suggestions?

Thanks


PRO


bprevost

Thanks for the quick reply.  ;D

I've used firebug for identification of CSS source files. This time, however, it seems I need to copy the code from this module php file to my category layout php file. The module code starts with:

<div class="vmgroup<?php echo $params->get ('moduleclass_sfx') ?>">

I'm afraid this is what is throwing me off. I can't seem to find where these parameters are being pulled from. Simply copying the php code is not working out for me...

any ideas?

thanks

Stonedfury

That's in the modules XML file. It's the setting for the module. /modules/mod_your_mod/mod_your_module.xml
No such thing as a stupid question, only a stupid answer. I won't ask if I know the answer or found it using the search as you suggested.