Download a set of video tutorials on building sites on Joomla 3.0 with control from one menu for free. Just wish me health and good luck. See you soon, Oleg.

You can significantly increase the functionality of your site, its entertainment, ease of use by installing special plugins. For example, you can install a plugin that will display output anywhere in any module installed on your resource. With one click in the material editor, you can create conclusion his in the article, and in any of its places, where you put the cursor. Also, you can output module in other modules, Great? Is not it? And all this with the help of a very interesting modulesanywhere plugin, which roughly translates as modules everywhere. This wonderful extension consisting of two plugins in one archive-installer is provided by the Dutch studio NoNumber (website www.nonumber.nl) and is available in two FREE versions and PRO. Today we will consider only Free.

Of course, there is a regular Joomla plugin that can do this, but with a simple click of a button, it’s still more convenient. Installing the extension standard through the admin panel. As mentioned above, one package installs two plugins at once: the insert button plugin into the article or the HTML code module - Button - Modules Anywhere and the plugin System- Modules Anywhere. You will need this information during setup. After installing the package, go to the material manager and see the bottom of the editor page (on the same line with the "image" and "details" buttons)

insert module button. Working with the insert is simple: Open the material or module HTML code, set the cursor to the place where you want to display desired module and press the above button. That's all.

If you open the system plug-in for settings, you will see that there is practically nothing to set up there, all the most interesting relates to the Pro version. Although, this most interesting thing is hardly possible, or should be applied. You can go to the developer's site directly from the open modulesanywhere system plugin and purchase the Pro version or upgrade the existing one. The most advanced can display a module in a module not only of HTML code, but after that go to the developer's site, and few people may need it.

The extension does not work with joomla 3 up to version 3.1 and with PHP up to 5.3

For joomla 2.5, it's better to install the old build of plugins, but if you have PHP 5.3, try the new one. They are in the archive.

You can view your PHP settings in the site settings. Control panel / system information / PHP version If you use this extension, it is advisable to disable the regular loadposition plugin. Here is my entire report. See you soon, Oleg

joomla insert module into article / material

Today we will talk about the victim - how to insert a module into content or how to display a module inside a post, material. Of course, we are talking about joomle.

And to begin with, I will explain why I need to display the module inside the material. Everything is elementary here - this is an increase in the functionality of your site on joomla, I will give an example. You have a beautiful gallery, it is quite logical to show this gallery at the end of the post or even in the middle, where it will look more logical in context. But, as you know, each module in jooml has a position (top, left, right, user1, user2), strictly fixed and specified in your site template in the file - (templates/template name/templateDetails.xml). And the positions, in turn, do not affect the area of ​​the post / material. Means in the usual way You can't display a joomla module inside a post... Although...

Here some will surely remember about (load position module) this is a function of the standard joomla plugin included in the package by default, it is called - "

Really! After all, with the help of this function, you can display the module inside the post. To do this, check if the plugin is enabled

After that, inside the post, where you need to display the joomla module, write (loadposition module)

Where module is the position name (top, left, right, user1, user2).

First, you need to go into the settings of the module you need to output and select there (preferably a unique position not occupied by other modules).

It is very important to do this, otherwise inside the post there will be the output of another module occupying the same position as the module you need, but you definitely don’t need it.

If you did everything according to the instructions, then the output of the module inside the material should appear.

But, what to do if the OUTPUT OF THE MODULE IN THE MATERIAL through (loadposition module) did not work, despite your correct actions?!

Calm! Now they will appear, no, not eggs, but our long-awaited gallery inside our article.

joomla - how to insert a module into a module:

To do this, we will resort to a super plugin called Modules Anywhere. Which in translation means modules EVERYWHERE and, admittedly, this is not empty bragging, in fact, using this plugin, you can display a module everywhere - inside a post, even inside another module!

Then install it and check that it is enabled!

After that, we open the material for editing, into which we need to insert our long-awaited gallery and at the very bottom of editing the material, you will see a new button - Insert module.

A window will open with all the modules installed on your site. Select the desired module, save the post and look at the result.

Congratulations - you've inserted the module inside your jooml article!

Gentlemen and, of course, ladies, I want to turn to you for advice - what is the best projector to buy ?!

Now 3d projectors have become very fashionable, but how well-developed and high-quality is the technology? Because it looks like an empty marketing ploy, since people like 3d technology in cinema so much (it has been a real boom for a long time), then consumer demand for home moviegoers must also be met.

So I'm wondering - is it worth buying these newfangled 3d projectors, or buying yourself an ordinary high-quality projector ?!

Today I’ll tell you about a small joomla feature, which, as it turned out, few people know about. This feature allows us to insert (output) any module into the content. That is, bring the module to any place in the material, which sometimes turns out to be very, very useful.

And so let's get down to business. Open any joomla module. I will take the search module as an example.

We go inside and there we see:

Let's study the "Position" field, this field is designed to display the module in a specific position of the site. In its appearance, it resembles a regular select, but in fact it is not (for interest, you can inspect the element). Try to put the cursor in this field and erase or write something .... Surprised? I think yes.

Enter the position in this field new1 picture below:

Now we need to configure and enable the standard plugin if it is not enabled. To do this, follow the following path "Extensions-->Plugin Manager-->Content - Load Module" we go into it.

There we see:

In the settings, enable the plugin if it is not enabled, and select the style, I usually choose without a border.

How to display a module in a Joomla module - 4.3 out of 5 based on 8 votes

Often, to create a certain site functionality, you need to display a module in a Joomla module.

There are many options where you can use this and many ways to display one module inside another Joomla module.

In this lesson, we will consider many options for outputting the module, I think one of them will definitely come in handy.

Adding a module position to the module template.

A module inside another module can be rendered by adding the module's position to the specific module's markup template.

Suppose we need to display the position of modules in the menu module. For this we need to add special code to the template markup file of this module - default.php.

If the menu module is templated in your template, then given file will be located in the following folder: website folder/templates/name of your template/html/mod_menu.

If this file is missing at the specified path, then you need to look for it in the following location: the folder with the site /modules/mod_menu/tmpl.

Open this file with an editor (you can use it) and add the following code at the very bottom:

loadRenderer("modules"); $options = array("style" => "xhtml"); $position = "position"; echo $renderer->render($position, $options, null); ?>

Only instead of the word "position" specify any position of the module you need (top, user1, etc.).

Save the file. Now give the specific module the position you specified in the code and it will appear at the bottom of the menu module.

By analogy, you can add a module position to any module or third-party component.

So that in the future, when updating the system, the file we edited is not overwritten and all our changes are not lost, you need to templatize it. To do this, in the folder with your template, go to the html folder, create the mod_menu folder in it (if you are templating another module, then the folder name must be the same as the folder name this module) and copy the file you edited here.

In addition, you can output separate module by its ID. You can find the module ID in the module manager in the last column of the table, opposite the module you need.

To display a module by ID, you can use the following code:

loadRenderer("module"); $options = array("style" => "raw"); $dbo = JFactory::getDBO(); $dbo->setQuery("SELECT * FROM #__modules WHERE id="specify ID" "); $module = $dbo->loadObject(); $module->params = "heading=2\nlimit=10"; echo $renderer->render($module, $options); ?>

Just don't forget to replace the words "specify ID" with the module ID.

Module output using the Modules Anywhere plugin.

Using the Modules Anywhere plugin, you can also display a module in a Joomla module very easily. In addition, this plugin allows you to display the module anywhere.

It allows you to display both the position of the module and a separate module.

If for this purpose you decide to use this plugin, do everything by analogy with the above method of displaying a module in a module using code. Only in this case, instead of the code, insert the syntax of the module call.

Displaying a module in an arbitrary HTML code module using the standard Load Modules plugin.

In some cases, to create certain functionality, you can display any module in the module of arbitrary HTML code, which is part of the standard Joomla modules.

It's very simple and can be done standard means Joomla without resorting to third-party plugins and editing system files. In this case, the output of the module can be done using the Load Modules system plugin, which is designed to display modules inside Joomla articles.

To display the position of a module, it is enough to visual editor custom HTML code module, paste the following:

Instead of "specify position" insert the required position of the module (position-1, user-1, etc.).

Your theme has positions that allow you to make a module output. True, the predefined module positions may not be enough, because there are cases when a module needs to be displayed in a specific material and in a specific place.

How to embed a Joomla module in a material

To insert a module for articles in Joomla 3, follow the steps:

  1. Go to "Extension Manager", open the module you want to insert into the article. For the sake of example, we took the standard “Login Form” module for entering the site, but you can have it any other;
  2. If you look at the right side of the module, then in the “Position” item you will see its location (for example, Position-7). You need to delete this position by clicking on the cross located to the right of the name;
  3. Now you need to click on the field "Enter or select a position", open a new window with the left mouse button and enter a new name for the module position (it is allowed to use numbers and Latin letters);
  4. After that, you need to save the changes using the "Save and Close" button;
  5. As a result of this, the module that needs to be placed in the material will receive the new name of the position that you came up with;
  6. Now we open the material in the place where we wanted to insert the module and write: (loadposition your_position_name);
  7. After that, we simply save the changes in the material and check the operation of the module in the article.

After performing the above manipulations, the login / registration form was displayed in our article. Naturally, no one needs it in the material, but another module can be very useful.
https://www.youtube.com/watch?v=1bm4Cg89Dsw

Modules Anywhere: a solution for displaying modules anywhere on the Joomla site

Modules Anywhere is a plugin that allows you to display modules in templates, articles, components, plugins, etc. The work of this plugin is very similar to the work of the regular Load Module plugin, but the plugin in question has a large list of real advantages, and can even replace the Load Module.

The plugin also ships with the Button Modules Anywhere plugin, which adds a button to the Joomla editor.

Thanks to this solution, you can insert the syntax for calling the module you need directly into the content of the materials. Especially useful if you often need to output modules in Joomla content/articles.

Joomla plugin features:

  • modules can be displayed not only in materials, but also in plugins, template markup, components, etc.;
  • you can display not only the position of modules, but also a single module, which can also be displayed by ID or name;
  • there is a button for inserting syntax inside materials / articles;
  • you can set the display style of the module;
  • you can completely replace the regular Load Module.

Actually, in order to display one single module, you need to know its name or ID. Need in curly braces() write module and then write the name or ID of the module. It should look something like this: (module ID_or_module_name).

The syntax for displaying the position is the same, only after the word module you must specify a specific position (for example, (module top)). It is also possible to override the default module style. The following styles exist: table, xhtml, none, rounded, horz. It will look like this: (module top|table).

The plugin has very few settings, but there are some important ones. So, in the "Module" tag, you can override the used module tag. Here you can write off any other word, but do not forget that you will have to use it when displaying modules (for materials and articles). Changing the word can be useful when some of the extensions will throw errors when trying to use the module tag.

And in conclusion: the displayed module must be activated, but if you do not want it to be shown in the standard place of the theme, but only in the material, then you need to remove the position in the module settings. In some cases, the enabled "Ignore Caching" option also helps to avoid errors, which prevents some problems with the CSS and JavaScript of the module being used.
https://www.youtube.com/watch?v=BEFKNiG9ygY