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.

 

Need help with K2 items

Need help with K2 items

Hi,

Hope someone can help me with this. I've seen few posts regarding K2, but still can't work it.

On my homepage www.hollywoodroadstudio.co.uk I have 3 modules and 2 K2 articles. How can I hide those 3 modules when I go into any of those 2 articles.

So basically hollywoodroadstudio.co.uk should have those 3 modules, but when I go to read article they should dissapear. Article link is http://www.hollywoodroadstudio.co.uk/in … p;Itemid=9

I have used Metamod before, but it was just basic if user loged in or not, so that was easy for me. But this time I have no clue.

Thank you!

p.s. website is offline at the moment.

mavex
Beginner Modder
ranks
useravatar
Offline
2 Posts
Administrator has disabled public posting

Re: Need help with K2 items

Hi Mavex,

that should be pretty simple. Are the 3 modules in the same module position? If so, you can do it with 1 MetaMod:

if (! ($option == "com_k2" and $view == "item")) return "50, 51, 52";

If they are in different module positions, then you'll need to use 1 MetaMod per position, and adjust the rule to return only the module that you want in that position.

Please also read the Quick Start guide on this site for important information about how to prevent the modules from showing up "by themselves".

Cheers,
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
3329 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1698
Total Polls:
6
Total Posts:
5944
Posts this week:
4
User Info:
 
Total Users:
5543
Newest User:
aj88
Members Online:
0
Guests Online:
129

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