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.

 

Some module assignments, help needed

Some module assignments, help needed

Hello, i just got metamod pro but dont have a clue of php, would you please help me on something?

id : 153      Activity Stream      mod_activitystream     
i want to exclude this module for http://www.youpal.gr/youpal-network

Also i want to put some modules on http://www.youpal.gr/component/simgallery/ and all that category:-D

Help please:-D ? I'm about to launch my site:)

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

Re: Some module assignments, help needed

OK, a few questions:

1 - what's the difference between http://www.youpal.gr/, http://www.youpal.gr/index.php and http://www.youpal.gr/youpal-network  ? Are they all equivalent to the front page?
2 - do you want the module excluded from all of these?
3 - can you please assign a MetaMod to your site, and have it available on all pages. Turn on Advanced Debug, so that we can see the URL parameters that we can use to identify the pages. This will help on SimGallery, too.
4 - perhaps you could add some more galleries or pictures in the gallery, so that you can see the difference between the different pages and categories when you're viewing them.
5 - since I need a login to see the galleries... could you please send me a user account? Thanks!

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

Re: Some module assignments, help needed

ok , some answers :-D
1) no difference!
2) yes!
3) done! you can see it at the bottom of the right column!
4) i did add some
5) demo1 / demo1

thanks in advance!

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

Re: Some module assignments, help needed

Oh, advanced debug mode makes this so easy :-) Thanks for switching that on.

For the front page(s) you can use this:

if (
  $option != 'com_community'
  or $view != 'frontpage'
  or $Itemid != '161'
) return 153;

That will only place module 153 onto any pages that are *not* the front page.
Please read through the Quick Start guide on http://www.metamodpro.com/get-started/quick-start if you haven't already done so.

For the simgallery, the Advanced Debug is not showing, but based on the URL I think you can identify when you are in that component like this:

if ( $option == "com_simgallery" ) return XXX;

or show a module on every page that isn't inside simgallery:

if ( $option != "com_simgallery" ) return XXX;


Is that what you are after?

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:
104

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