VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: gautam09 on August 08, 2014, 13:21:35 PM

Title: Remove content from internal page of virtuemart
Post by: gautam09 on August 08, 2014, 13:21:35 PM
Hello,

my home page is virtue mart page it shows all the things whatever i want.
but when i click on it's category or product some content still visible.
my problem is this i want that content (i.e. came from module) not show in internal page of virtue mart.I know virtuemart is single page but i don't want to show except home page. Please help me out from this.
m using joomla 2.5.24 version


Thank's & Regards
Gautam Kumar
Title: Re: Remove content from internal page of virtuemart
Post by: John2400 on August 08, 2014, 13:27:49 PM
Those module settings are in joomla. You can set them in there to show or not show on most pages throughout your VM site. Not  a  VM setting.
Title: Re: Remove content from internal page of virtuemart
Post by: gautam09 on August 08, 2014, 13:48:24 PM
I know that that module is the part of joomla. but it showing only virtue mart page not in joomla pages.
so, how can i disable it.
Title: Re: Remove content from internal page of virtuemart
Post by: GJC Web Design on August 08, 2014, 16:30:30 PM
in your template surround the module posistion with

<?php
$view = JRequest::getVar('view');         
         if ($view == 'virtuemart') { ?>
         <jdoc:include type="modules" name="YOURMODULEPOSITION" style="xhtml" />
         <?php } ?>

Title: Re: Remove content from internal page of virtuemart
Post by: gautam09 on August 09, 2014, 06:54:28 AM
Hello GJC Web Design,

                it's working now, thnx for the support.
Title: Re: Remove content from internal page of virtuemart
Post by: Milbo on August 10, 2014, 09:19:40 AM
or by joomla itself, assigning the menues to the virtuemart menu item. Or to all menu items, except your joomla part.