Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [module]

A Joomla module is an extension that offers certain functionality to a site, usually to present small pieces of information, in specified locations of the site (e.g. latest or popular articles), that is not supposed to serve as the main content, and is placed in the available module positions, around the component content output (e.g. sidebar, footer etc).

0
votes
0answers
33 views

How to programmatically create and install a module during component postflight?

I want to create and install a module via component postflight. I can get postflight etc. to work, but I can't get it to create and install the module. Code I've created: // Get the database object ...
1
vote
1answer
59 views

Generate and render a module on an article with PHP

I want to create a module and add it to an article I can already create the module manually and can add it to the article using php. I can't figure out how to add a module using php. So if I have ...
1
vote
1answer
42 views

Class not found in Joomla 4 when using JDate inside a function

In my last question I tried to modify mod_latest_articles module, and added myCustomFunction to ArticlesLatestHelper.php like this : /** * @package Joomla.Site * @subpackage ...
1
vote
1answer
34 views

Fatal Error: Class 'ArticlesLatestHelper' not found in Joomla 4 module while trying to add new function

I'm testing and playing with Joomla 4 alpha. What I tried to do is to quick-edit / modify the module Latest Article (mod_articles_latest), adding a new function. In joomla 3.x I usually adding a new ...
1
vote
1answer
36 views

My module parameters aren't saving . and can't use them in my files

**mod_cookiACT.xml** <?xml version="1.0" encoding="utf-8"?> <extension type="module" version="3.1.0" client="site" method="upgrade"> <name>Cookie Notifications !</...
2
votes
1answer
34 views

Creating a module and giving it config parameters options

on the documentation for creating a module, the basic is all there but they don't talk about giving parameters to your module. Example the color of the background or the size whatever. So I want to ...
0
votes
2answers
53 views

Getting post installation script to run for a module

I've a module that I want to run a script post installation, post update etc. I think this can be done by adding a script.php into the module zip file and then calling it in the installation file. &...
0
votes
1answer
33 views

Disable submenu items on bottom of page in gantry 4?

I have really tried multiple settings, I cannot find the setting to disable the submenu item creation. How can I disable the submenu entries showing at the bottom of all pages? See here the issue: ...
2
votes
1answer
54 views

How to add CSS/JS/an Image to a module backend

I have long wondered how to change my admin particularly for my custom modules. For many cases using an XML file is fine and I can use the built-in Joomla! form fields. In some cases, I'd like to ...
1
vote
2answers
44 views

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

I know in a template you can add <jdoc:include type="modules" name="newposition" /> and then within the positions tags you add your new position. <positions> <position>...
0
votes
1answer
37 views

How to render mod_articles_category using custom php code?

I am writing PHP API for Joomla3.9 website where I need to deliver the HTML produced by mod_articles_category modules. I tried blow code to get Module HTML output but it does not working any more It ...
1
vote
2answers
21 views

Right modules to the top on mobile (responsive) version

I have layout that is like this LEFT - COMPONENT - RIGHT. I have NEWS page where I have my news in COMPONENT area and modules (search, news archive etc) on the right side. When I open my site on ...
0
votes
1answer
36 views

Can't open edit module, get error from JRouter::getInstance('site') in joomla 3.9.x

I have the code: $uri = JUri::getInstance(); $router = JRouter::getInstance('site'); $vars = $router->parse($uri); I'm wanting to parse the uri out at the module's backend (Just the module I'm ...
1
vote
1answer
88 views

Joomla! extension/plugin for creating productbundles in an onlineshop

We looked up for a solution to create a product bundle in the frontend of our webshop. Yet we haven't found any solution that enables the User to "create a product bundle". Currently we are using the ...
0
votes
3answers
168 views

Can Joomla! read from a CSV file?

I'm building a Joomla! Website (currently running 3.9.0). It's a website of a Sports Club and we would like to add Live Score, Scoreboard and Last Result. The Sport Association told us the only two ...
4
votes
1answer
49 views

Can Smart Search index menu items or custom modules?

I am using Joomla v3.8.13 and have enabled Smart Search v3.0.0 which is indexing articles correctly. I've also installed ChronoForms by ChronoEngine to create a Contact Us form and some other forms. ...
1
vote
1answer
81 views

How do I add custom css to a Joomla! Module?

I am using a module called JM - Inrto Articles which in short allows you to add little preview tiles of other blog articles that have been posted. Problem is, I want to edit this using my own css. I ...
5
votes
1answer
42 views

How do I get a watermark on a sigplus gallery?

I have install SigPlus 1.5.0.262 on Joomla! 3.7.5. I am just trying to get the watermark to work. I cannot seem to get it to appear. I think my issue is just where I am placing my image. According to ...
3
votes
1answer
349 views

Cannot update RokSprocket Module 2.1.x to latest 2.1.24

I'm having a issue with a module update in Joomla. I cannot update from RokSprocket Module 2.1.x to latest 2.1.24 I am getting the error on trying to update Error RokSprocket needs at least ...
1
vote
2answers
37 views

What are the differences of Joomla modules vs components vs plugins?

A very basic question probably... But what are the differences in Joomla terms between: module components plugins If I am a developer for Joomla what and why should I name it a module, component, ...
1
vote
1answer
67 views

Joomla 3 - How to call a function on Module save?

I have a module, and a number of different fields for authentication with an API. I want to perform the API authentication when the Save button is clicked, and return a success or fail message ...
2
votes
2answers
172 views

How to style a module or article title with font awesome icons?

I am using the Helix framework template. Is it possible to add a font awesome icon to a module or article title? If yes, how do I go about it? I have seen around that you can style a title using the ...
1
vote
0answers
29 views

How can I activate a module via script?

I install together with my component a few modules. Also one for the backend. This shall be directly activated via the script. So I have a few lines added to update the #__modules table to get this ...
1
vote
0answers
39 views

Module placed in main area and displaying article images? Is that allowed?

Edit: ____________________________________________________________________ To clarify this. It’s not about how to code it. But a question about which to choose. Module or Component? ...
1
vote
1answer
378 views

Get module id in helper file

I need to get id of current module in helper.php file of mod_menu. But there is no module parameters in this script.
1
vote
1answer
146 views

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

I'm having some issues with checking if a module is displayed on the current page. I tried out different approaches with JModuleHelper methods, eg isEnabled, but it only works with module types not ...
0
votes
2answers
243 views

Joomla 3 - JSON with modules

I am new to Joomla and facing a situation - I need to have a page with custom URL (/dashboard) which would return some data in JSON that external application will read. I have a Slideshow CK module, ...
0
votes
1answer
297 views

Joomla 3.8.6 cannot save most modules

Since today, one of our sites has a very strange behaviour: - We cannot save most of our modules, it does not matter if we click save or save and close, it simply returns to the modules list, with all ...
0
votes
1answer
29 views

Need guide on Joomla [closed]

Its my first time to work with Joomla and I need to make a plugin that basically stores/updates a name and a City the thing is that I want this functionality only in admin panel not in the front end. ...
1
vote
0answers
32 views

Seeking Joomla module to display selected articles and their fields

Seeking for a module similar to DisplayNews with advanced functionality. I need to modify the display template in such way that it shows specific Joomla Fields of the articles selected. Here is a ...
0
votes
1answer
124 views

Get ajax post data from another module in plugin

is it possible to catch ajax post data from another module in my plugin? I'm using SimpleForm2 https://allforjoomla.ru/extensions/mod-simpleform2 So this module creates a form and pass post data via ...
4
votes
1answer
363 views

What does “Prepare Content” do and when should it be used?

For some (all?) custom modules, under the options tab, there is a Prepare Content option. What does it do? When should it be used? (Conversely, when should it not be used?) What's its impact on ...
0
votes
1answer
1k views

Can't override bootstrap CSS

I'm using the Joomla template RsKala! by RSJOOMLA. I have successfully put CSS override code in the custom.css for these items: .item-image.pull-left, .item-image.pull-right { float: none !...
1
vote
2answers
140 views

XML file does not upload with my custom module

I have created my own module. Within my module I have used the Joomla! subform which allows me to create repeatable fields using a separate XML file. If I look at my module I see an error: JForm::...
1
vote
1answer
457 views

Can Prepare Content option be added to a Module?

With a Custom HTML module, there is an Option and you can select Yes or No for Prepare Content. This is needed if you have something like the content plugin I developed to acknowledge this, as it does ...
4
votes
1answer
128 views

Joomla removes img tags from HTML of modules loaded in article content

Somehow, Joomla removes img tags from the HTML code of modules loaded in article content by {loadmodule} or Modules Anywhere and I can't find a way to stop it. I have a Joomla 3.8.2 site where there ...
1
vote
1answer
92 views

How to get article id on BT CONTENT SLIDER?

I have a BT CONTENT SLIDER module on main page of my website to show a list of 3 articles from category called "News" on main page. I would like to read custom params of that articles shown on that ...
2
votes
2answers
282 views

Module lost in backend, still visible and working on frontend

I have a module "login" wich represents a Login button. It's assigned to the possition "nav-helper". This module dissapeared in the backend. When I search positions for "nav-helper" I only find the ...
2
votes
1answer
76 views

Mod articles archived override not working?

I am using Joomla 3.8.0, and I have made an override for the mod_articles_archived module. For some reason it doesnt read the override? I have the following map structure now: templates/mytemplate/...
2
votes
1answer
480 views

Joomla home page menu item doesn't get the “active” class

I have googled a lot about my problem and I didn't find a solution. I'm creating a website using Joomla that supports English and Dutch languages. I followed online tutorials and I created 2 menus (...
0
votes
0answers
330 views

Created Module: JInstaller: :Install: Cannot find Joomla XML setup file

I am working on creating my first module. I have been following this tutorial and I have stopped right before this step for creating database tables. The problem is: I enter the path to this ...
3
votes
3answers
218 views

How to keep data in Joomla module helper class

I've created a module that connects to the database and retrieves some data using $data = $db->loadRowList(); inside one of the member functions of the module helper class. Is there a way I can ...
5
votes
1answer
564 views

Joomla Ajax Module getAjax() method not found

I have no experience with Ajax and little to no experience with Joomla. I've managed to create my own Joomla modules with no problem. Today I tried to use Ajax in one of my modules but I am getting an ...
1
vote
1answer
272 views

Login module doesn't login, redirects back to home page

For whatever reason, the login module in the frontend of my website has suddenly stopped working. Every attempt to login using it just redirects back to the home page without logging in the user, ...
1
vote
0answers
15 views

Desktop application for macOS to generate components, plugins and modules

I would like to know if there's a desktop application to easy generate components, plugins and modules for Joomla. I have tested this two generators: https://www.npmjs.com/package/generator-joomla3 ...
0
votes
2answers
253 views

Module: Show Category blog Fulltext in Module

Related Q/A: How to create a category blog layout with all articles shown in full? I have the same issue as the referenced article above. I want a category blog to show introtext and readme by ...
1
vote
2answers
889 views

Remove /component/ from URL generated from module for a custom component

I have created a custom component with routing that seems to be mostly correct and have now created a module to display multiple items of the component on the homepage. I have got it to a point where ...
-1
votes
2answers
64 views

Is it possible to load one module only after the whole page has loaded?

On my site, one module is taking considerably longer to load than the other content on the page. I'm wondering if it's possible to delay the loading of this module? For example, after the page is ...
0
votes
3answers
412 views

Articles list from a category displayed in 2 columns

I try to display the articles list from a specific category (mod_articles_category) in 2 columns. There is a great example here about what I want: http://jsfiddle.net/HP85j/393/ I would love to do ...
2
votes
1answer
245 views

Component in module. addModelPath doesn't seem to work

I am trying to display a component in a module which seems to work using this example http://www.escope.cz/en/blog/94-how-to-load-component-in-a-module I am now facing a problem where my model isn't ...