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.

 

Dynamic Module Parameter

Re: Dynamic Module Parameter

Bump

Is it cool to add variables to the 'Advanced Debug' display?  If so, which file am I looking for?

Duke
Beginner Modder
ranks
useravatar
Offline
18 Posts
Administrator has disabled public posting

Re: Dynamic Module Parameter

Hi Duke,

sorry for the looooong delay in responding. I'm in Europe for work meetings on a 3 week trip following JAB11, and I just haven't been able to spend any time on support. I will definitely be getting back to you with more comprehensive replies.

In brief response to your questions:

1 - yes, you can pass information from MTP to MetaMod. This is a powerful technique. You can do it with globals or constants. Here's an example:

In the "SUCCEED action" you could put this:

global $mtp_alias;
$mtp_alias = "some text here";

Then in MetaMod you can check the value:

global $mtp_alias;
if ($mtp_alias == "some text here") return XXX;

I think that this covers what you are suggesting about "MTP does the category alias query, and MMP can use it to set module context".


2 - category support for K2
I'm sorry that MT and MM do not yet have explicit K2 support. Categories within K2 are stored and manipulated differently to normal Joomla com_content categories, so the MT and MM (& JomGenius) support for normal categories will not work for K2. Further K2 support will be forthcoming.


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

Board Info

Board Stats:
 
Total Topics:
1688
Total Polls:
6
Total Posts:
5939
Dormant:
User Info:
 
Total Users:
6885
Newest User:
nuview8137
Members Online:
0
Guests Online:
119

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