Hello,
I know there's been a lot of coverage of template usage for individual categories and products, but I don't think I've come across anything what I need so if you can point me towards the correct solution or help me out that would be fantastic.
All I want is to be able to use a (custom) template for all categories to use, then a different (custom) template for the product details page to use. These two templates will be different than the homepage and internal page templates (which is the default website template).
I am using Joomla 2.5 and VM 2.6.6.
Thank you in advance
Liam
what are you calling
Quoteinternal page templates
? Joomla template?
Joomla templates are Joomla templates - VM templates are VM templates
if you want a non std VM cat and prod templates then you make them and put them in your
templates/YOURTEMPLATE/html/com_virtuemart/category or /productdetails
thats it - it uses the std joomla templating over ride system - google that for further explaination
or http://forum.virtuemart.net/index.php?topic=90935.msg298367#msg298367
If you are talking about changing the Joomla templates then you can set the default shop J! template and category j! template in Config/Templates/Shopfront Settings but the cat template is also used for product details. I'd probably use Chameleon to control the cat/product template change ( http://www.metamodpro.com/chameleon/chameleon ) but I have not tested it within VM.
Quote from: GJC Web Design on August 18, 2014, 13:44:11 PM
what are you calling Quoteinternal page templates
? Joomla template?
Joomla templates are Joomla templates - VM templates are VM templates
if you want a non std VM cat and prod templates then you make them and put them in your
templates/YOURTEMPLATE/html/com_virtuemart/category or /productdetails
thats it - it uses the std joomla templating over ride system - google that for further explaination
or http://forum.virtuemart.net/index.php?topic=90935.msg298367#msg298367
The internal template I mentioned was for non-VM pages such as About Us.
Quote from: jenkinhill on August 18, 2014, 13:47:49 PM
If you are talking about changing the Joomla templates then you can set the default shop J! template and category j! template in Config/Templates/Shopfront Settings but the cat template is also used for product details. I'd probably use Chameleon to control the cat/product template change ( http://www.metamodpro.com/chameleon/chameleon ) but I have not tested it within VM.
I think you're understanding what I mean... Basically for example, I want to use Beez2 for the category page but Atomic for the product details page. Obviously the two templates will be my own custom templates, but different templates altogether in theory rather than using the same template and having overrides because it will limit me on the design.
the way to do it is as explained -> over rides
templates/YOURTEMPLATE/html/com_virtuemart/category or /productdetails
Quote from: GJC Web Design on August 18, 2014, 15:57:45 PM
the way to do it is as explained -> over rides
templates/YOURTEMPLATE/html/com_virtuemart/category or /productdetails
That will require me to use the same template but with some elements different (overrides) though won't it?
My understanding of overrides is that if for example my homepage is using my own custom template, and I have used overrides for the way the basket looks which is perfect, but in the case of what I'm trying to achieve I want two totally different templates to be used for the category page and the product page - is that possible or have I not understood it correctly?
The way I described is what you seem to want.
Quote from: jenkinhill on August 18, 2014, 17:44:12 PM
The way I described is what you seem to want.
I did use Metamod a while back on a site but I can't remember whether it was Pro and whether it was exactly what I'm looking for here, so I'll give it a go and report back.
Cheers
Liam
Not Metamod, but use Chameleon by the same developer. It is not too expensive to try out. I have used it elsewhere but not with VM.
Quote from: jenkinhill on August 19, 2014, 11:13:56 AM
Not Metamod, but use Chameleon by the same developer. It is not too expensive to try out. I have used it elsewhere but not with VM.
Sorry you're correct.
Just to let you know that I've installed Chameleon and it is absolutely perfect for what I wanted. I have been able to upload a new template and easily assign it to the Category page, then assign another template to the Product Details page which I'll be modifying shortly.
Thank you very much Jenkinhill and GJC for the support!