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.

 

Two MetaMods on single page

Two MetaMods on single page

First off -- great module!
Tried to get two Metamods (not pro), each in its own module position (Joomla 3), each pulling in 2 other modules.

So... 2 slideshow into position-a
And... 2 quotes (via simple html module) into position-b

Only one instance of each will load -- first slideshow and quote.

Ideas?

Thank you,
Anton

arcasta
Beginner Modder
ranks
useravatar
Offline
1 Posts
Administrator has disabled public posting

Re: Two MetaMods on single page

Hi Anton,

That's puzzling. I suggest 2 things:

1 - take a look at the HTML source of your page and see if the 2nd module is actually appearing there, but perhaps not being shown on the rendered page. If that's the case then it's a CSS/HTML issue rather than that the 2nd module is somehow getting deleted.

2 - does your template perhaps limit the amount of space allocated in those module positions, e.g. any module that appears there has to be a certain fixed size? Without MetaMod Pro, both modules being pulled in are going to be squashed inside the MetaMod, i.e. in 1 module as far as the template is concerned. This could limit the visibility of the 2nd module.

The Pro version is likely to help in either case. However I'm particularly interested in the answer to #1.

Another thing to check: what PHP code are you using to load the 2 modules?
This would be the right way to do it:

if (condition here...) return "55,101";

Note the double quotes around the list of modules to return.

Hope that helps,
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:
1696
Total Polls:
6
Total Posts:
5941
Posts this week:
7
User Info:
 
Total Users:
5418
Newest User:
outsd2
Members Online:
0
Guests Online:
127

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