News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Hide Categories on frontpage?

Started by ikone1, February 07, 2012, 17:55:10 PM

Previous topic - Next topic

ikone1

Hi how can i hide "Categories" on VM front page? same for Featured prod or Top ten..

thank you.

edv

In VM-Configuration -> Templates set the "layout for your home page" to "default_products".
this should do the trick

regards
EDV

plastique

Theres no "default_products" option. The only option i have is "default"

I don't want the top level categories to show on my frontpage ? Any idea ?

Thanks!
Joomla 2.5.4
Virtuemart 2.0.6

jenkinhill

#3
Make a copy of joomla_root/components/com_virtuemart/views/virtuemart/tmpl/default.php and using a plain text editor either remove or comment out this line:

if ($this->categories) echo $this->loadTemplate('categories');


Save the file as, for example, default_nocats.php and ftp it into your Joomla template's html override directory ,  joomla_root/templates/(your joomla template)/html/com_virtuemart/virtuemart/      See http://forum.virtuemart.net/index.php?topic=90935.0

Then in VM configuration/Templates/VirtueMart Home Page Settings select your new override in "Layout for your home page"

Using the override means that the edit will not be overwritten by VirtueMart updates, although you should check if the original version code of that template changes during an update, in which case you recreate the override.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

plastique

Joomla 2.5.4
Virtuemart 2.0.6