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).

Filter by
Sorted by
Tagged with
1
vote
2answers
39 views

Call com_ajax from module backend

To create thumbnails & cache files, I have to access my already created Ajax Functions inside my helper.php file. I'm already able to call the functions within the frontend (button that is ...
0
votes
0answers
26 views

Deleting module from front-end I Can't find in the back-end

I am very new to Joomla and I am responsible for updating a website that has been created by another web administrator. I have what I believe to be a module that I want to delete, I see it in the ...
3
votes
0answers
27 views

Joomla and Eventbrite Integration

I am looking for a way to integrate Eventbrite with Joomla. I want to show a list of upcoming events that I have created. There are a number of default widgets available with Eventbrite (copy / paste ...
3
votes
1answer
24 views

Getting CSS style to vary with different module instances

Edit: see the Update below for the current status of the problem. I have a module that has to display a variable number of rows, based on how the user configures it in the back-end, and several ...
0
votes
0answers
26 views

Make Search bar dynamically appear at top of body

One of our clients would like to have a search icon in their Main menu, which when clicked causes a search bar to appear at the top of the website's body. An example of this behaviour is at https://...
0
votes
0answers
24 views

Including 3rd party SDKs in a custom extension

I'm trying to develop a J2Store app for the shipping broker FlagShip, using their SDK found here. (Their SDK essentially provides objects which handle calls to their API so that the developer doesn't ...
0
votes
3answers
42 views

(Module override/PHP) Checking if a content-item has an image otherwise display a placeholder

I am customising a Joomla module (Override) and it does not seem to accommodate if an image is not selected (just shows a broken image symbol). What I'd like to do is check if there is an image and ...
0
votes
0answers
38 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
66 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
47 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
48 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
39 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
45 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
60 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
34 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
95 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 ...
2
votes
3answers
83 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
42 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
22 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
38 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
90 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
234 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
55 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
186 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 ...
4
votes
1answer
52 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 ...
2
votes
1answer
406 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
41 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
86 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
222 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
31 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
42 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
506 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
203 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
281 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
320 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
34 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
146 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
449 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
148 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
527 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 ...
3
votes
1answer
134 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
101 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
301 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
83 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
526 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
347 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
244 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 ...
4
votes
1answer
659 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 ...