Components Anywhere

Place components anywhere in Joomla!

  • Last updated: 29-Oct-2018
  • Version: 4.4.0
  • Type: System plugin
  • Joomla rating: 100%

Tutorial for Components Anywhere

There is a Free and a Pro version of Components Anywhere.
The parts in this tutorial that only concern the Pro version will be marked with: Pro only


Components Anywhere is a Joomla! system plugin.
You can place components anywhere in your site, including within articles, modules and even inside other 3rd party components.

The syntax is super simple. Just place {component url/of/the/component} where you want that component to show.

How to use it (syntax)

You can place components via Components Anywhere by using plugin style tags right into your WYSIWYG editor.

The syntax is super simple. Just place {component url/of/the/component} where you want that component to show.

For instance, you have a form component - that does not come with its own module version - and you want to display the form in a module. Let's say the url of the form is:
Just create a new module of the type 'Custom HTML module' and place this in the content editor:

{component index.php?option=com_myform&formid=123}

PS: You can also use SEF urls inside the {component} tag, but I recommend you use non-SEF urls when possible.

How to get the correct url

As said above, I recommend you use the non-sef url inside the {component} tag.
But getting that url is not that straightforward for some components.

Let's take the Weblinks component as an example. And let's say we want to show all weblinks from category with id 2.

When editing the weblinks in the administrator, you can see option=com_weblinks in the url. And seeing we want to view a category, we can guess that the view part will be category. But that's just guessing. So we don't know if the urls should be index.php?option=com_weblinks&view=category&id=2 or index.php?option=com_weblinks&view=cat&cid=2 or something else. The logic behind the urls differs per component.

So how do we find the correct url?
Well, easiest way is to create a menu item.

When you create a menu item, you need to select the correct menu type - in this case List Web Links in a Category - and select the category you want to use. After saving it, you will see the correct url in the Link field.

menu item

So the tag to use is:
{component index.php?option=com_weblinks&view=category&id=2}

You could now even delete the menu item, as the url used in the {component} tag is not connected to that menu item.

However, in many cases you do want and need a menu item. Because you want to be able to control extra settings.

When simply using the url index.php?option=com_weblinks&view=category&id=2, the Weblinks component will show the weblinks of the requested category, but will use the default settings for everything else. Stuff like whether or not to show the category title and description, whether or not to show subcategories, etc.

Most components need a menu item to be able to set up - or at least override - these extra settings.

So we'll just keep this menu item and set the extra settings we need. However, the url we used in above example still doesn't use that specific menu item. It is still just using the default component view settings.

To tell the url - and therefor Components Anywhere - to use the specific menu item, we need to add the menu item id to the url. We can do this using the Itemid parameter.

To find the menu item id, just look in the menu item list (ID is on the right) or look in the url when editing the menu item in question.

menu url

So in this example the menu item it is 123. Than means the full url to use is:
{component index.php?option=com_weblinks&view=category&id=2&Itemid=123}

Now any changes you make in the menu item settings will also be reflected in the output of the Components Anywhere tag.

PS: If you do not want the menu item to show up in your website menus, just assign it to a hidden menu.


Components Anywhere has some options, giving you control over how it works and behaves. Here is the full list of the options you can find in the Components Anywhere system plugin settings:


Place HTML comments By default HTML comments are placed around the output of this extension.

These comments can help you troubleshoot when you don't get the output you expect.

If you prefer to not have these comments in your HTML output, turn this option off.
Force Remove tmpl=component Select to remove the tmpl=component from urls inside the rendered component. Only switch this on if you experience issues with urls in the components output generated through Components Anywhere.
Force Itemid Select to force the use of the current Itemid (menu item ID) to the urls inside the rendered component. This might not work with SEF urls.
Keep Component URLs Select to keep the components URLS in the output. Only select this if you find that URLs are not correct.
Enable Caching Select to enable caching of components output.
Timeout Set the maximum time in seconds that may be used by Components Anywhere to load the component. If you experience Components Anywhere showing nothing, you might want to set this value higher or do something about the servers speed.
Force cURL Select to force Components Anywhere to use cURL to load the components. Only switch this on if you experience Components Anywhere outputting incorrect html.
Use Kerberos authentication Select to use the GSS-Negotiate authentication. This is necessary when using Kerberos authenticated sites.
Login Enter the Kerberos authentication login name.
Password Enter the Kerberos authentication password.

Security Options Pro only


These settings have effect on Articles and Categories.

Enable in articles Select whether to enable the use of the syntax in articles.
Security Level Set the level of security. Components Anywhere tags will be stripped from articles with an owner (creator) below this group level.


These settings have effect on the component area.
You can select in which components Components Anywhere should not be enabled. Advise is to not allow Components Anywhere in components that non-backend users can post content in.

Enable in components Select whether to enable the use of the syntax in components.
Disable on Components Select in which components NOT to enable the use of the syntax in. This is a list of your installed frontend components.
Remove in Disabled Components If selected, the plugin syntax will get removed from the component. If not, the original plugins syntax will remain intact.

Other Areas

These settings have effect on areas outside the component area (so in Components and the rest of the website).

Enable other areas Select whether to enable the use of the syntax in all remaining areas, like the components. The tag will not be handled/shown in the html head (META tags and such).

Advanced Options

Tag Syntax

Component tag The word to be used in the tags.

Note: If you change this, all existing tags will not work anymore.
Tag Characters The surrounding characters of the tag syntax.

Note: If you change this, all existing tags will not work anymore.

Options: {...}, [...], {{...}}, [[...]], [:...:], [%...%]


You can either install Components Anywhere by using the core extension manager available in the Joomla! Administrator Control Panel, or by using the powerful Regular Labs Extension Manager.

Note: When updating Components Anywhere, you do not need to uninstall it first. The package will update all the files automatically.

Keep in mind that when you update to a major new version (or uninstall first), you might lose some configuration settings.

Regular Labs Extension Manager

It is very easy to install/update any Regular Labs Extension using the Regular Labs Extension Manager.

Please see the Tutorial for the Regular Labs Extension Manager for more detailed information...

Joomla! Extension Manager

To install via the Joomla! Extension Manager, just follow these steps:

  1. Log into your Joomla administrator;
  2. In the menu, choose: Extensions >> Extensions;
  3. Choose the tab: Install from Web (or enable it if you haven't done so yet);
  4. Select the search field and enter Components Anywhere and hit enter;
  5. Click on the Components Anywhere listing;
  6. Click on Install;
  7. Click on Install to confirm.
Installer Web

Or if you need to install the Pro version or cannot install via the 'Install via Web' method for some reason:

  1. Download the extension install file (.zip);
  2. Log into your Joomla administrator;
  3. In the menu, choose: Extensions >> Extensions;
  4. Choose the tab: Upload Package File;
  5. Click on the Choose File button and select the extension zip;
  6. Click on Upload & Install.
Installer Upload

If you have problems installing Components Anywhere, please try the manual installation process as described here: