Friday 13 August 2010

virtuemart apply template to all pages

What I need to do is get virtuemart to always display in a set template.

There are actually a couple of ways of doing this. Firstly you could set up a fake menu and list all your pages there. You don't have to set a module for it, meaning it can't actaully be seen from the site. However it would mean you can access all pages when assigning from the 'templates' section.

Another solution that's simpler is to install this plugin.



once installed you can access it from Extensions/plugins then find 'SM2 Component Template'
on the right hand side you need to input
'yourComponent yourTemplateName'
under 'Plugin Parameters' and you're all good to go :)


No comments: