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

47 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
1 answer
521 views

Module class suffix not allowed in Joomla 4

I'm using some UIkit classes in module suffixes when working with modules. My template added those classes via chrome in Joomla 3. In Joomla 4 I cannot longer add a Module suffix class like "uk-...
maidan's user avatar
  • 423
2 votes
0 answers
77 views

Generating a module instance from PHP

I am trying to render a mod_login module - on the fly - from inside a system plugin. So far, there is no existing mod_login instance in the website nor the database. I am just trying to create a new ...
FFrewin's user avatar
  • 19.7k
1 vote
0 answers
78 views

getModuleById parameter parsing

So when getting a module for rendering inside a component this is not working: $mod = ModuleHelper::getModuleById(123); but this: $mod = ModuleHelper::getModuleById("123"); That's because ...
maidan's user avatar
  • 423
1 vote
0 answers
63 views

IDEA - display a module in another website

I have an HTML website placed in a sub folder of my Joomla website. Is there any way to display a Joomla module in that HTML website?
ca hoang's user avatar
1 vote
2 answers
1k views

Login module crashes after 4.2.2 update

All my sites are crashing when the login module is brought up from a link. If the module is left on the site (without a link) the site crashes. I still have admin access and I have disabled the login ...
Jim Beal's user avatar
1 vote
0 answers
71 views

Delete Thumbnails Button Created as Joomla Custom Form Field Throws Me Out

I am developing a Joomla 4 Content Slider Module and it creates thumbnails in the mysite.com/cache/mymodule/ folder. I am trying to add a delete-thumbnails button. I am using a custom form field for ...
wisdom's user avatar
  • 21
1 vote
0 answers
71 views

Troubles with Implementation of self written Module for Joomla and Auto Suggest function which should be in Javascript

I am trying to find a way to implement either a self written module in Joomla with PHP code of an dictionary or try to use the dictionary by putting the PHP code in a joomla article with sourcerer ...
Parviz's user avatar
  • 11
1 vote
0 answers
31 views

Getting allready created component model instance in a module (singleton)

I have a module, that does some stuff and needs the data from the list model of my component. Everything is coded in MVC pattern using the Joomla framework. When clicking on a menu item the list model ...
maidan's user avatar
  • 423
1 vote
2 answers
217 views

Hide modules from a specific blog page

I made a new page https://www.anavasis.gr/blog/peer-to-peer-lending but on the position sidebar - c, I have some modules that are important for the rest articles in the blog but not for that one. How ...
sakis's user avatar
  • 11
1 vote
0 answers
69 views

Display modules only in articles (not in the article list) and only in articles with a specific tag

I'm using the J2STORE component on Joomla 3.9.22. I would need to publish a module in a Blog category but only in the articles (not in the list), in this case the articles are products of j2store. ...
user14680's user avatar
1 vote
0 answers
157 views

How can I use first image in article as featured image?

I have searched all over the internet but nothing got useful. I have only hope on this forum. Please tell me how can I use the first image of the article in Joomla as featured image. I don't want to ...
Anshul Kashyap's user avatar
1 vote
0 answers
38 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://...
William's user avatar
  • 299
1 vote
0 answers
47 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 ...
mikael's user avatar
  • 31
1 vote
0 answers
48 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? ...
Jonas Borneland's user avatar
1 vote
0 answers
47 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 ...
Ross's user avatar
  • 133
1 vote
0 answers
17 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 ...
troyKoutei's user avatar
1 vote
0 answers
708 views

Saving custom field parameter value from module settings

I know well how to create custom form field in joomla module settings as written in the accepted answer of this question which is basically extending JFormField class. Now what i want to do is ...
dev-m's user avatar
  • 1,351
1 vote
0 answers
163 views

repeatable form field type - drag & drop

Is it possible to add a drag & drop function for sorting inside a repeatable field? I use repeatable fields in my modules and it would be nice to change the order per drag & drop.
public9nf's user avatar
  • 265
1 vote
0 answers
188 views

How to hide articles from Blog Category mode

I'm trying to make a more dynamic News & Events posting process on a website. To do this I'm using the free version of Deluxe News by JoomlaXTC. Overview This is the result I'd like to achieve, ...
FET's user avatar
  • 121
1 vote
1 answer
585 views

Parent menu item not marked if sub menu item is active

As the title says, when one of sub menu items is active, parents of that item are not marked in any way. I'm using latest default Joomla and stock menu module without any overrides and mods. I ...
Reygoch's user avatar
  • 273
1 vote
0 answers
397 views

Remove /components/ from Popular Tags Cloud module

I have set up a page called domain.com/tags.html on the root which links to the com_tags component and shows a set of tags most used. I also want to use the Popular tag cloud module, mod_tags_popular,...
Anriëtte Myburgh's user avatar
0 votes
0 answers
39 views

Prevent multiple times loading stylesheet module

I have made a couple of modules that loads their own stylesheet. Why I do that is because then I can optimize my website furhter and only load the stylesheet data when the module is actually on the ...
Kuubs's user avatar
  • 345
0 votes
0 answers
118 views

Call to undefined method

I've have a big problem with my dashbord SP Page Builder, when i tried to go on https://www.sologne-nature.org/administrator/index.php?option=com_sppagebuilder , i've got this message 0 Call to ...
Clotilde Robert's user avatar
0 votes
1 answer
191 views

Custom module chrome is not working in Joomla 4

I have copied the card.php file from templates/cassiopeia/html/layouts/chromes and placed it in my templates/MYTEMPLATE/html/layouts/chromes folder, and then made some modifications to the styling. ...
Kris Hunt's user avatar
  • 156
0 votes
0 answers
56 views

Plugin That Copies Menu Item With Its Module Assignments Does Not Work on Joomla 4

I am trying to create a Joomla 4 Plugin that copies a menu item with its module assignments. My code works well on J3, but not J4. What am I missing? Here is my plugin's code: <?php /** * @package ...
wisdom's user avatar
  • 21
0 votes
0 answers
175 views

addStyleDeclaration is not working in my 4.0 module

I'm trying to insert inline css in a module and it's not working. In one of my modules php files i have the following: $document = Factory::getDocument(); // Add styles $style = 'body {' . '...
Jonathan Schmidt's user avatar
0 votes
1 answer
37 views

I am new to Joomla and I'm trying to figure out if I need to install the software or if I can just log in online to make changes

I recently started a summer job and it requires some website management. The company that hired me already has their website through Joomla! and I am just trying to figure out if I need to download ...
Hailey Labelle's user avatar
0 votes
1 answer
116 views

How to return data from 2 tables to one table using a select field

My tables: dzialki +--------------+-------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------+-------------+------+---...
Dariusz Tokarz's user avatar
0 votes
0 answers
36 views

Joomla Module Development: Check during runtime for a change module setting

I'm developing a joomla module, where I want to do some recalculation of the output, if the admin changes a specific module setting. One way to implement this, would be to use an additional table, ...
BertBaker's user avatar
0 votes
1 answer
66 views

Link to article in module

Good day. There is a custom field in my module mod_expandAjaxReq.xml <fieldset name="basic" addfieldpath="/modules/mod_expandajaxreq/models/fields"> <field name="...
antarey's user avatar
  • 35
0 votes
0 answers
187 views

Adding Azuracast JSON file to my AM HTML5 AUDIO PRO PLAYER in joomla

I need help for a problem that i didn't found solution. we have a web radio created with joomla and we start to put our programs 24h/24. I bought an AM HTML5 AUDIO PRO PLAYER and everything work fine ...
Ahmed Boudraa's user avatar
0 votes
0 answers
26 views

Sort Categories for sj_k2_categories_ii Module in Page

i use this sj_k2_categories_ii module in my site i make some menu with this module how i can sort Categories by alphabet in my page Categories sorted by module with k2 item ID thanks
Ali Zangeneh's user avatar
0 votes
0 answers
25 views

What's the easiest way to avoid the double class issue on modules?

The module class suffix is added to a module and then to the div with the module content within it. On the second occasion it adds the word/class "custom". I've always found this a bit of ...
Eoin's user avatar
  • 1,909
0 votes
1 answer
159 views

Add module to Component area

My main menu is linking category blog which is automatically displayed in component area, and I want to put a slider module in component area too, but only in home page, so modules on "Right"...
Mateo Ratkajec's user avatar
0 votes
2 answers
186 views

handling simple module form

I'm new in joomla, I created a module for learning purpose, let name it mod_form1, I don't know what framework or class in joomla i should use for this so I use plain HTML. this is my tmpl/default.php ...
dhany saguntoro's user avatar
0 votes
0 answers
77 views

Adding a module from a component

I have a component that I want to use to add a module automatically. This needs to be achieved in the administrator area. My idea is to have a button in one of the component views. That component ...
user1616338's user avatar
0 votes
0 answers
256 views

Breadcrumb separator is not showing consistently

Not all of the breadcrumb values are properly separated by a slash on my site. The delimiting slash is present between the first and second crumb, but gone on the next resulting in the second and ...
MirlvsMaximvs's user avatar
0 votes
0 answers
37 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 ...
Fir's user avatar
  • 1
0 votes
0 answers
213 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 ...
user1616338's user avatar
0 votes
1 answer
117 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 ...
Mukesh Nandeda Dhakad's user avatar
0 votes
0 answers
505 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 ...
jeffery_the_wind's user avatar
0 votes
2 answers
540 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 ...
Paul Makulski's user avatar
0 votes
2 answers
374 views

Module Removed The New Window Option of Link

I am using a SJ Flat menu module and some of my menu items have the Target windows set to New window with navigation. Unfortunately, the module removed that attribute and it has a new declaration of ...
kulot's user avatar
  • 1
0 votes
0 answers
273 views

Add data attribute to module html - Joomla 3.4.8

I'm trying to add data-uk-sticky attribute to a Joomla module that displays a sidebar menu (to make it sticky). For that, I created an alternative layout by copying /modules/mod_menu/tmpl/default....
Delete my account's user avatar
0 votes
0 answers
89 views

Access k2 extra field from Flexi Code module

I am using the Flexi Code module to display some php in a k2 page. This k2 page has a RoomID as extra field. How can I access it as a variable inside Flexi Code?
Panagiotis's user avatar
0 votes
1 answer
101 views

JomSocial Extension causes error: 0 String could not be parsed as XML

I have installed a JomSocial extension and now I am seeing an error: 0 String could not be parsed as XML screenshot of error The same error message is also presented in the title tag of my ...
morteza mohammadivand.kh's user avatar
0 votes
1 answer
50 views

Custom module: JSession brokes the site

I am making custom shop module for my website and my script breakes all pages where it is. The command what breaks it is: $session =& JFactory::getSession(); (Code putted in default.php). I cant ...
Stepan Fedotov's user avatar