Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.



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


Apply changes to nested module

Apply changes to nested module

I have a SobiPro module inside a Custom HTML module. Custom HTML module is inserted in Joomla page using Modules Anywhere. I would like to control some parameters of the SobiPro module but nothing happens. I set up a Metamod Pro module in any position just with some code and assigned to menu where I need to change target nested module:


But it seems that doesn't work.

Thank you!

Beginner Modder
3 Posts
Administrator has disabled public posting

Re: Apply changes to nested module

Hi MrWilly,

I've just looked at the source of Modules Anywhere to see how it displays modules. What I see is that when it includes a module, it gets the info direct from the database therefore bypassing the module parameter changes that MetaMod would apply.

Therefore I am sorry to say that module parameter changes done in this way (module A includes a tag to trigger Modules Anywhere to include module B in module A's output) mean that MetaMod Pro is not able to make changes to parameters in module B.

An alternative would be the following:

Instead of using M.A., you could replace module A (custom HTML) with a MetaMod that uses PHP to "echo" raw HTML to its output. The MetaMod can then "return 267;" in order to place module 267 AFTER the custom HTML output. And you can then use the $changes mechanism as well. The only downside I can see is that module 267 can only appear after the echoed HTML output.


echo "<h3>a heading here</h3>";
echo "<p>and now for the SOBI module:</p>";
return 267;

Hope that helps,

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

3329 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
Total Topics:
Total Polls:
Total Posts:
User Info:
Total Users:
Newest User:
Members Online:
Guests Online:

Forum Legend:

 New Sticky