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
0 votes
1 answer
160 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"...
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. ...
1 vote
1 answer
586 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 ...
1 vote
2 answers
218 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 ...
0 votes
2 answers
542 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 ...
0 votes
2 answers
188 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 ...
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="...
0 votes
1 answer
21 views

Generated <a> links to wrong URL

I generate a link in a module as follows: $user->contactAddress = str_replace("//", "/", trim(JUri::base() . $params->get('defaultContactAddress') . '?' . $params->get('...
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 ...
2 votes
1 answer
524 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-...
1 vote
1 answer
32 views

New Module title language constant

Where does this title text comes from? I checked all .ini and .sys.ini files, but when editing the title to see if i got it, nothing changes I can edit the description seen there, but title always ...
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 ...
1 vote
1 answer
355 views

Set width of module table to the width of the module

I use the module Display News with the custom class dn on my home page to display the last articles published. The width of the module adjusted to the size of the screen but only if the screen is ...
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 ...
0 votes
2 answers
375 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 ...
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 | +--------------+-------------+------+---...
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 ...
0 votes
1 answer
249 views

ModuleHelper::renderModule with custom parameters

I am loading a module from an article overide. The module needs different parameters depending on places I load it from. In Joomla 3, I could do use (in an article overide) : // Load module jimport('...
-2 votes
1 answer
1k views

Difficulties in calling ajax from joomla 2.5 module

Hi i am having problem to call another file by ajax from module.As i don't want to make a component to call it for ajax from module, so what i am thinking is calling index.php file from ajax passing a ...
0 votes
0 answers
119 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 ...
2 votes
3 answers
95 views

Find row with lowest column value per group, then join distinct group data to another table

I need a hint for this problem, trying for days already to solve it: THE PROBLEM I am working with an Joomla extension which has this 2 tables of interest: COMPANIES PRODUCTS A module lists all ...
1 vote
1 answer
106 views

Joomla Menu Module with a Menu Heading as the base item

I want to add a list of menu items, and I want it to dynamically populate. I thought I could just use the menu module. I want only the sub/child items from "preparations and repairs". ...
1 vote
1 answer
209 views

Manipulate Meta Description Content using Joomla Module

I want to create a Joomla Module that has the capability to write its own text based on the GET data within the submitted URL, it sounds feasible, let's say the submitted URL is yourdomain.com/index....
1 vote
0 answers
81 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 ...
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 ...
1 vote
1 answer
120 views

Giving parameters to my module on the administrator side

a few years ago, I implemented a Joomla 3 instance for a website of a biking club. It was nearly not used since then, because there was no necessity. But now we have the necessity. Back then, I ...
0 votes
2 answers
62 views

Activate jquery with javascript

I'd like to create a Joomla module, but it requires jquery to operate, the problem is whether Jquery is activated (imported) before is still unknown, import jquery through <script src> may cause ...
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?
2 votes
1 answer
293 views

Show button for each iteration of foreach loop

I have built a module using Joomla's subform XML. The XML in the subform is <fieldset name="topics" label="Topic"> <field name="title" type="text&...
1 vote
2 answers
132 views

Use different module settings/parameters on different posts in Joomla!

TLDR: Is there an easy way to include the same instance of a module in different posts with different settings in Joomla!? What works: URL parameters. I can call the post with a URL to which I append ...
0 votes
0 answers
177 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 {' . '...
0 votes
1 answer
28 views

Copying module, using the translation strings from the copied module

I regularly copy a existing module like mod_articles_news and I'd like to do some custom fields and things on it. But when I do this the translation strings don't get translated anymore. I keep using ...
0 votes
1 answer
21 views

Login works sometimes

Here is a video of what I see: https://youtu.be/Qbljr2CZu9k When I visit my login page here: https://www.dev.plantbasedplanet.co.uk/sign-up I cannot login using my credentials. However, when I fail to ...
2 votes
1 answer
116 views

bxSlider as module loads the body of my template again

I face a problem with plugin bxSlider and my 2.5 Joomla website. I am using it as a custom module. The problem is that when it loads, under my image it loads the whole template again! This happens ...
0 votes
2 answers
77 views

How to show 'Register New User' for all guests and something else for registered users?

I want to build a simple site with Joomla 4. The webpage should only handle these few things: For guests (not logged in users): Display an article with some text and the 'login mask' inside the ...
2 votes
2 answers
109 views

What is the SHA-1 Signature used for in modules?

I've noticed when I go to download modules from some extension providers that they include the SHA-1 Signature, for example Module Example v1.2.1 File size: 34.18 Kb SHA1 Signature: ...
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 ...
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, ...
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 ...
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 ...
0 votes
2 answers
153 views

How do I carry a Joomla article title and its link across from an article layout into a module's helper?

I have a module that appears on an article page. The module has a form and I would like to send the article's title and page URL as part of the information sent through the form. Using $this->item-&...
2 votes
2 answers
408 views

How to include an external helper php file in module

I've created a custom component that (in addition to all the other component files) has a helper file located in: /administrator/components/com_kr_books/helpers/kr_books.php It has an abstract class ...
1 vote
4 answers
5k views

hide off canvas menu helix3

am using helix3 template and I need to hide the "off canvas menu" on large screens and make it appears only on tablets and mobile screens. any help!
4 votes
2 answers
2k views

Adding ajax call in a module for Joomla 4

I'm trying to add an ajax call to Article Latest module. I added the code below to /modules/mod_articles_latest/src/Helper/ArticlesLatestHelper.php public static function getAjax() { $data ...
0 votes
2 answers
376 views

Pass xml field inside module's helper class

I have a custom Joomla module. In the helper.php class, I need to pass XML field data. Here is what I have so far. class modcatbanerHelper { // I need to pass here public $selected_cat = $...
0 votes
1 answer
180 views

Multiple components on a single page

Is it possible to show multiple components on a single page in joomla? I have 2 menu items, each one shows a different component, i want to show them both on the same page, is it possible?
2 votes
1 answer
98 views

Display instructions or other text in Plugin

I would like to display some basic text, instructions and maybe a change log in HTML would be nice, under the first tab of my Plugin, what methods or techniques are available? In my sample screen shot ...
2 votes
1 answer
99 views

subform inside subform in module

I have the following XML in my module: <fieldset name="activities" label="Activity Details"> <field name="image" type="media" directory="...
0 votes
1 answer
183 views

Get html code from an internal link in a module

I need to get the html code from the joomla internal link, and transfer the code to the module My code default.php <?php defined( '_JEXEC' ) or die; ?> <div class="container" id=...
1 vote
1 answer
325 views

Joomla Custom module With Owl carousel

I need some advice on how to implement an OWL carousel with Joomla! native custom module. I have done some research already and I have tried several options including the add of the owl files to the ...

1
2 3 4 5
9