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.

 

MetaModPro by Keyword for Joomla 1.7.

MetaModPro by Keyword for Joomla 1.7.

Hi all,

I have just downloaded myself MetaModPro and it looks awesome. I tried to use the recipie to add modules by Keyword using this code http://www.metamodpro.com/metamod/recip … escription but all it is doing is pulling the keywords from the entire site and displaying the modules together. Please correct my assumption below and guide me to the right direction if I am wrong:

The way I understood it working is as follows:

1) I have two country Menu Modules (Malta and Thailand) in position-5-metamod.
2) I have 3 Article pages for each Country.
3) For articles about Malta I have malta in the Meta Keywords, and for those of Thailand I have Thailand.
4) I created ONE module using MetaMod in position-5 and told it to include modules in position-5-metamod.
5)I then copied and pasted the script found on the recipie with these arrays configured like this

Code:


$source = "keywords"; /* either "keywords", "description" or "content" */

$case_sensitive = false; /* set to true or false */

$allow_as_substrings = false; /* set to true or false */

$max_num_modules = 1; /* it will just give you the first 3 it finds */

$names = array(
  "malta" => 165,
  "thailand" => 164,
);

The problem is that BOTH the Malta Pages and the Thailand Pages are appearing with BOTH menus for Thailand AND Malta. I was under the impression that the keywords should only display the Module which corresponds to the keyword on the page:

i.e. If I am on a Malta page with Keyword: malta, then only the Malta menu should appear.

Any help would be great.

Thanks

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

Re: MetaModPro by Keyword for Joomla 1.7.

Never mind. I figured it out. I just had to delete the Module Assignment. Thanks anyway smile

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

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5913
Dormant:
User Info:
 
Total Users:
10746
Newest User:
victor1234
Members Online:
0
Guests Online:
152

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