Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

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

 

NOT WORKING

NOT WORKING

Hello,

i bought the plugin metamod pro and i have tried to use it for more then 5 hours and it ISNT WORKING. I DON T KNOW WHAT TO DO, SINCE EVEN THE BASICS DOESN T SEEM TO WORK. EXAMPLE:


if ( $option != 'com_resource'
  or $view != 'article'
) return ;

or any other suggested recipe isn t working.

marianafrade
Beginner Modder
ranks
useravatar
Offline
4 Posts
Administrator has disabled public posting

Re: NOT WORKING

Hi marianafrade,

I'm truly sorry I haven't been able to get back to you faster. I'm on a 3-week 8-country 9-flight work trip at the moment and the forum support has slipped a lot sad

If you still want help with this, could you please write back with:

1 - a description of what type of page you want the module to appear on, and what type of page you DON'T want it to appear on,

2 - a copy of the PHP you are using at the moment

3 - links to other recipes you have tried, if appropriate.


From what you pasted above, it looks like you might be trying to turn modules on and off based on Mighty Resources pages. You may also be trying to "negate" an existing piece of PHP code, ie. make it hide a module instead of including it, for a given condition. This kind of negation is often harder than it looks and is easy to get wrong (I know, I've got it wrong many times).

Anyway, if you can provide some more info I should have some time in the next 24 hours to look at it.

Best regards,
Stephen

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

metamodguy
useravatar
Offline
3313 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5913
Dormant:
User Info:
 
Total Users:
10796
Newest User:
mokao3
Members Online:
0
Guests Online:
175

Online: 
There are no members online

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked