6 votes
Accepted

How to render a component view in a module?

This is code I write time ago for Joomla 1.5, you will need adapt it for jooma 3.x (JRequest -> JInput, ...), and surely there is more elegant way to do this. This is the basic part of module.php My ...
José Sánchez Martín's user avatar
5 votes
Accepted

How to show a module inside com_content/article/default.php

Assuming with fails you mean it simply doesn't show on the article page and not that you are getting any other kind of errors. The code you posted seems okay and should work. So, I guess it might be ...
FFrewin's user avatar
  • 19.6k
4 votes
Accepted

How to change the modules order of appearance?

What I understand from your question, is that a specific module, which you would like to display it at higher position on the page, before other modules, it is displayed lower. Well, for this there ...
FFrewin's user avatar
  • 19.6k
4 votes

Getting CSS style to vary with different module instances

I figured out my problems, so I thought I would answer my own question. 1) Different styling for different instances of the same module Don't forget Joomla has unique module ids! And there's an ...
William's user avatar
  • 299
3 votes
Accepted

Protostar: 3 module position horizontally above and below content

Explanation: Lets looks at what we know: Bootstrap is a 12 column grid framework You're trying to implement 3 boxes, divided equally in a row <------------------------span12----------------------...
Lodder's user avatar
  • 26.9k
3 votes
Accepted

How to show a module on every page?

If you assigned the module to all pages yet it still displays only on one page, then this might be caused by one of the following: You have not cleared your Joomla cache. The module is set to display ...
itoctopus's user avatar
  • 3,216
3 votes

module to appear below category blog

The category blog is part of the component area in your template, but the module position is different than the component area, by default you can't load a module inside component area (blog layout) ...
AlejandroVega's user avatar
3 votes

How can I assign a module to multiple positions?

I am coming back here to post an alternative suggestion, after I came across an extension that could help with site changes, updates, modification, including template change. The extension is called ...
FFrewin's user avatar
  • 19.6k
3 votes

How can I assign a module to multiple positions?

One way to do this is to create your master module and put it in a custom module position, for example "master-position". Then create a new Custom HTML module for every location you wish that custom ...
Lance's user avatar
  • 533
3 votes
Accepted

PHP: Check if a module is displayed on the current page

After spending some time on checking this within the article component, I just gave up and took another approach. Now I'm actually checking if the module is loaded, within the index.php file. Here ...
demi's user avatar
  • 151
3 votes
Accepted

Advanced Module Manager Assignments

In URL assignments section: Set the option to Include In URL matches enter /news/?$ Enable Use Regular Expressions *The /? part is used for the case your /news page is also loading via /news/ and ...
FFrewin's user avatar
  • 19.6k
2 votes

How to remove module on mobile device

You could create a new module class for this in /yourtemplate/css/custom.css (if you don't have that file create a new one) with something like, .myclass { display: block; } and then to hide on ...
gringo211985's user avatar
2 votes

How to remove module on mobile device

It doesn't look like the template developer has much documentation on their website. This template does not appear to use bootstrap. Try adding these lines to the /templates/hurlington/css/style.css ...
Neil Robertson's user avatar
2 votes
Accepted

Hide a value or data on table

The way to do it is by overriding the view template. 1 - First you have to understand how to create an override of a component view. This tutorial may help you: https://www.ostraining.com/blog/...
Piero Marsilio's user avatar
2 votes

How to prevent empty modules from being rendered?

I check if the content from any module from the given module position is empty or not. Combined it with $this->countModules(): the module position is just displayed when there are modules and the ...
RedNails's user avatar
2 votes
Accepted

How can I assign a module to multiple positions?

Happy dreaming... Not possible - back then (J1.5) and now. But the part of experimentation is still possible. Actually all you have to do is to leave the original site as is and do anything you like ...
FFrewin's user avatar
  • 19.6k
2 votes
Accepted

Load menu module manually in component layout

JModuleHelper::getModules is a handy helper created to load modules in a convenient way. However, it follows certain business rules for CMS consistency. For example, to render modules assigned and ...
Anibal's user avatar
  • 7,435
2 votes
Accepted

Display a module in article full view and not in teaser view

It is important to note that there are three different views for articles as Joomla understands them. "Featured", "Category", and "Article", where the later is where you want your module viewed. ...
Jesse Humphry's user avatar
2 votes
Accepted

Limit the number of items in a mod_articles_category module?

In module parameters, tab Filtering Options, field Count determines number of articles shown, 0 for All
Mikan's user avatar
  • 3,007
2 votes

Is it possible to override js scripts?

Sometimes the author of your component will provide a way to do such an override, so check the documentation first. If that is not possible, brute force works: I recently solved this problem for ...
Confidant's user avatar
  • 131
2 votes
Accepted

Is it possible to override js scripts?

Yes, and no... Let's start with the "no" - The Joomla core devs have created a way to inject scripts, but no (API) way to remove them. And, "Yes" , but it's complicated.... You'll need to create a ...
Michael's user avatar
  • 593
2 votes

Is it possible to load the same module into two different positions and have it use two different IDs?

This id attribute is an attribute attached to a certain element of the output of your menu module - it is an internal handling of your menu. The module position in your template cannot define an id ...
FFrewin's user avatar
  • 19.6k
2 votes

How to move Joomla quick icons to the right side?

Go to Extensions > Modules, here select Administrator in the filter, see the screenshot: Just select your module and change inside the position like the front-end modules. If you go to administrator/...
AlejandroVega's user avatar
2 votes

Has there been a better solution for showing modules only on article list page(but not article page)?

You can do this using Regular Lab's Advanced Module Manager. Install it and activate it, and select the following for the the module settings: For Assigments use Joomla! Content, include ...
Paul Kleingeld's user avatar
2 votes
Accepted

Move the Joomla! module layout override to a different tab

I am losing you a little bit in your question. Saying move the Joomla module layout override option, do you mean to display that field within another tab? If so, what's the problem you are facing ...
FFrewin's user avatar
  • 19.6k
2 votes
Accepted

Joomla incorrectly displays the modules of the homepage on blog articles page

It appears that specific version of Joomla had trouble getting the lang param. Changing the URL to http://example.com/index.php?option=com_content&view=article&id=166&Itemid=140&lang=...
Suthan Bala's user avatar
2 votes
Accepted

Is it possible to add a new module position within a module?

Although using content plugin works, there is no need for it in PHP code. Instead you can use the document renderer directly: use Joomla\CMS\Factory; echo Factory::getApplication()->getDocument()-...
Sharky's user avatar
  • 10.8k
2 votes
Accepted

Floating module on scrolling?

You can achieve this by using the following (fetch first the 30% sidebar and define on page surround the visibility): .g-block.size-30 #g-aside { position: sticky; top: 50px; } #g-page-...
Lodder's user avatar
  • 26.9k
2 votes
Accepted

DPCalendar custom field inside module

As mentioned in the other answer, https://docs.joomla.org/J3.x:Adding_custom_fields/Overrides is the key description to understand. To quote: Basically you have all the custom fields corresponding ...
Robbie Jackson's user avatar
2 votes
Accepted

Is there a Performance Impact of displaying modules on every page if not used?

There is no simple answer to this as exact performance would depend on a number of factors, including number of modules, menu items and installed plugins. The important thing to understand is that ...
Sharky's user avatar
  • 10.8k

Only top scored, non community-wiki answers of a minimum length are eligible