Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.



Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.


Fatal error

Fatal error


Today I bought your joomla extension MetaModPro, but I get this error when the plugin is enabled:

Fatal error: Call to undefined method JModuleHelper::addIncludePath() in /var/www/xxxxx/xxxxxx/xxxxx/xxx/xxxxxxx/plugins/system/mvcoverride/mvcoverride.php on line 61
(an email is sent to you with the complete details)

I am working on a website:
username: xxxxx (I have sent you an email with the details)
Password: xxxxx

All I wanna do, is to be able to hide the VM-productslide modules (id: 94, 175, 176, 177, 178) in the shopping cart.

Can you help me/advice me how to set this up?

... This is not my livesite, I am working on a copy of the life site, the original site is found on: http://shoetime.dk/

!!!!!! I have fixed the error by disable the MCV Override plugin, I don't know what it does, but now I got no fatal error anymore...

Best regards
Martin Sund

Beginner Modder
1 Posts
Administrator has disabled public posting

Re: Fatal error

Hi Martin,

sorry for the delayed response. I'm glad we got to the bottom of the MVC override issue.

There are 2 ways to hide modules with MetaMod Pro. The first is to set things up so that the modules are only shown on pages *except* for the ones you want to hide it on. The other way (Pro only) is to use the MetaMod to detect those pages and unpublish the modules on those pages.

So we'll go for the 2nd way as it's easier to set up.

1 - Create a MetaMod and assign it to any valid module position on your site. Assign it to ALL pages. Nothing will actually show up in the MetaMod - it will only be used to house the PHP code that turns off the other modules.

2 - in the MetaMod's PHP box, use the following code:

$vm = JomGenius("virtuemart");
if ($vm->check("pagetype startswith cart")) {

That should do it smile

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

3330 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
Total Topics:
Total Polls:
Total Posts:
Total Posts Today:
User Info:
Total Users:
Newest User:
Members Online:
Guests Online:

There are no members online

Forum Legend:

 New Sticky