Mohammad Naji
Mohammad Naji

Reputation: 5442

Loading a Joomla 2.5 module into another module

I've seen the question Loading a module in another module in Joomla, but that was about Joomla 1.5

I have exactly the same question about Joomla 2.5

Is there an official way to do so?

Upvotes: 1

Views: 16722

Answers (3)

mortalis
mortalis

Reputation: 2151

In Custom HTML module Options Tab I set Prepare Content to 'yes' that allowes load other modules and positions.

Joomla 2.5

Joomla 3

Upvotes: 0

Dinesh Nk
Dinesh Nk

Reputation: 89

You can use this extension, hope this may help you

http://www.nonumber.nl/extensions/modulesanywhere

Upvotes: 2

Craig
Craig

Reputation: 9330

If you're using a "Custom HTML" module the standard {loadposition myPosition} or {loadmodule myModuleTypesName} work as expected.

Did you mean something else?

I've updated the wiki article with the following information as well.

loadmodule

An alternative to "{loadposition xx}" is the "{loadmodule yyy}" variation which is handled by the same plugin. In this case the plugin looks for the first module that who's type matches the string 'yyy'. So, you could load a "mod_login" module by placing {loadmodule login} in your text.

Modules within Modules

It is possible in Joomla! 2.5+ (possibly earlier) to include a module within a "Custom HTML" module as they are processed by content plugins in the same way as articles. You should remember when doing this that you may experience formatting issues as the "chrome" of the "Custom HTML" module will surround the "chrome" of the included module potential having undesirable effects of the formatting or layout.

Upvotes: 6

Related Questions