How to use Joomlas {loadmodule}

4.8k views Asked by At

Can somebody please provide an example how to use joomlas build in {loadmodule} feature to load a custom html module. According to the docs at http://docs.joomla.org/How_do_you_put_a_module_inside_an_article%3F it should be something like {loadmodule Custom HTML,My module title} But it does not work that way... {loadposition} works perfectly. I'm on joomla 3.2.1 btw.

5

There are 5 answers

0
Species5618 On

Try this:

{loadmodule mod_custom,Schema Organization DE}
0
Santosh Parate On

content plugin loads Module positions, Syntax: {loadposition user1} or Modules by name, Syntax: {loadmodule mod_login}. Optionally can specify module style and for loadmodule a specific module by title, Syntax: {loadmodule mod_login,module title,style}.

Make sure the menu assignment for the module set to the respective pages.

3
Elin On

Make sure the name and cases match exactly including spaces. These are examples from the learn joomla sample data.

{loadmodule articles_archive,Archived Articles}
{loadmodule> custom,Custom HTML}

Notice that the exact title goes second.

1
Gev Balyan On

I would recommend to not to render a specific module, but to render a custom module position like this: {loadposition my_custom_position}, then go to Extensions > Module manager and published your desires module on my_custom_position

Hope that helps!

2
Craig On

Based on your comments:

  1. Your module type is Custom HTML, i.e. mod_custom
  2. The title of your module is "Schema Organization DE"

Therefore, as @Elin, has said your loadmodule tag should be

{loadmodule custom,Schema Organization DE}