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

virtuemart default layout

Started by espina88, August 10, 2012, 15:42:55 PM

Previous topic - Next topic

espina88

Hi everyone and thanks for give me the chance to engage with you,

I am having troubles with virtuemart default layout, this is the option i link to my menu. I just want to remove categories from this view, i have another options i want to keep as: featured products, top ten, etc.

I´ve been reading on this forum in another thread about deafult.php file which is in com_virtuemart\views\virtuemart\tmpl path. I ´ve tried to comment whole lines on this file but categories still doesnt disappear, and now im lost :S

i hope you guys can help me. thanks for all.

ivus

Hi espina88,

Which line did you remove? Sorry, but we're not mind readers.



# load categories from front_categories if exist
if ($this->categories) echo $this->loadTemplate('categories');



If you remove this line, the categories will be removed.


espina88

sorry.

i just commented this line: if ($this->categories) echo $this->loadTemplate('categories');

line 34 from default.php

i got joomla 2.5.6
virtuemart 2.0.8e