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
0 answers
28 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 {' . '...
user avatar
0 votes
1 answer
18 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 ...
user avatar
1 vote
1 answer
48 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-...
user avatar
  • 81
0 votes
1 answer
25 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 ...
user avatar
  • 325
0 votes
1 answer
19 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 ...
user avatar
  • 1,829
0 votes
1 answer
74 views

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

My tables: dzialki +--------------+-------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------+-------------+------+---...
user avatar
0 votes
2 answers
40 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 ...
user avatar
  • 101
1 vote
0 answers
44 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 ...
user avatar
  • 21
0 votes
0 answers
33 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, ...
user avatar
1 vote
0 answers
63 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 ...
user avatar
  • 11
1 vote
0 answers
16 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 ...
user avatar
  • 81
0 votes
1 answer
30 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 ...
user avatar
  • 1
2 votes
2 answers
65 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 ...
user avatar
4 votes
2 answers
414 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 ...
user avatar
  • 2,388
0 votes
1 answer
62 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?
user avatar
  • 3
2 votes
1 answer
91 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 ...
user avatar
  • 2,220
2 votes
1 answer
35 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="...
user avatar
  • 1,992
0 votes
1 answer
34 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="...
user avatar
0 votes
1 answer
69 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=...
user avatar
1 vote
1 answer
122 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 ...
user avatar
  • 11
0 votes
0 answers
49 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 ...
user avatar
0 votes
0 answers
22 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
user avatar
0 votes
0 answers
19 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 ...
user avatar
  • 1,829
0 votes
1 answer
64 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"...
user avatar
1 vote
1 answer
51 views

Display an editor in the front end using a module

I'm trying to display an editor using a module in the front end. I want visitors to be able to edit and create articles but from a module not a component. I've tried: jimport( 'joomla.html.editor' ); $...
user avatar
2 votes
3 answers
93 views

Joomla Ajax in Module from Administrator not work

I have a module that creates thumbnails from the main image and over time the hosting fills with images, for that reason I want to add a maintenance button that deletes the previous images. It is from ...
user avatar
  • 167
1 vote
2 answers
268 views

Insert multiple rows into a database table using a loop

I am trying to insert post data inside a Joomla table. So within a loop I populate the query with the values of a decoded json but all the time I get this error: Column count doesn't match value ...
user avatar
0 votes
1 answer
41 views

Where are joomla repeatable field values stored in database?

In which table are stored the data of a simple repeatable field of a module. I mean when you hit save somewhow the field values are saved somewhere right? So the question is where they are saved? In ...
user avatar
0 votes
2 answers
32 views

Which content is generated first? component or module?

I have a page with modules and components from the same extension. I made some customizations to the component's template file so when the page loads it gets the current user's avatar from some ...
user avatar
  • 1,369
1 vote
1 answer
72 views

Add customfields in the administration section of a module

Is there a way, to load with an XML element, the custom fields, from the Joomla component, com_fields in the backend of a module? I know how to take them from the default.php and display them, but I ...
user avatar
0 votes
2 answers
63 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-&...
user avatar
0 votes
1 answer
30 views

Undefined property: stdClass::$showtitle in custom module [closed]

I currently have a problem that is driving me crazy. My module shows the following error in the frontend in the DEV environment: Undefined property: stdClass::$showtitle .../joomla3/templates/system/...
user avatar
  • 483
2 votes
1 answer
110 views

Change the helper.php path for com_ajax

I'm trying to use Joomla's com_ajax for my module by using this url : index.php?option=com_ajax&module=MODNAME&method=MODMETHOD&format=json However my helper.php file is located under ...
user avatar
  • 2,388
1 vote
1 answer
32 views

Recommend a contact us module for Joomla 3

I am looking for a module in Joomla 3 that creates a contact form below the article. It must help me to send a copy of the message to my visitor who have inquired and send another one to our contact ...
user avatar
4 votes
1 answer
130 views

Create a table observer

I am trying to create a table observer in a module. I am using the Table Advanced API guide in the Joomla documentation https://docs.joomla.org/Table_Advanced_API_Guide. When I use the code provided, ...
user avatar
  • 63
0 votes
1 answer
26 views

Looking for a portfolio module?

I am looking for a specific module for Joomla, open source or paid does not matter, most importantly it has the options I need. What I am looking for is a portfolio module where each photographer can ...
user avatar
0 votes
1 answer
26 views

Is Joomla a correct choice for a social medium with rankings of products?

I'm thinking about creating a certain website and I'm not sure if Joomla is a tool I could use and would be one of the best choices. I would like to create something like https://www.imdb.com/ , i.e. ...
user avatar
  • 101
1 vote
0 answers
60 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. ...
user avatar
0 votes
1 answer
27 views

Empty lines were added to PHP and CSS code files between each line

When I install the module from Joomla administrator end, I found that many empty lines were added to PHP and CSS code files between each line. For example: Original: Line1 Line2 Line3 After ...
user avatar
  • 23
0 votes
2 answers
93 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 ...
user avatar
1 vote
1 answer
47 views

JFolder: :files: Path is not a folder. Path: D:\XamppInstalation\htdocs\joomla\modules\mod_helloworld2\sql\mysql\updates

I followed the tutorial on the Joomla website about Creating a simple module/Using the Database. I created the following XML file: <?xml version="1.0" encoding="utf-8"?> <...
user avatar
0 votes
1 answer
43 views

Own Module - Integrate ACL Check (in Ajax Call)

I'm currently programming a module that contains several Ajax calls, some of them with Add / update & Delete requests in the DB. Now I am thinking about the fact that it will be necessary to check ...
user avatar
  • 483
0 votes
2 answers
135 views

How to build a podcasting site?

I am new to Joomla so I want to know if it is possible to build a podcasting site with user registration on Joomla. I want guests to be able to subscribe to an individual user's podcast (not ...
user avatar
2 votes
2 answers
248 views

Module title is not showing despite setting module title to yes

I've created and overridden a mod_feed targeting the Joomla! Security News Feed. https://dev.joomlalondon.co.uk/index.php?option=com_content&view=category&layout=g5_hydrogen:blog-news--bbc&...
user avatar
  • 1,829
2 votes
0 answers
63 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 ...
user avatar
  • 19.5k
1 vote
2 answers
59 views

How to create a Joomla module and be able to install it?

I've read all the official Joomla documentation and videos available to learn how to make a basic module, however, when I finish making a module, I can't manage to install it in my Joomla project. I ...
user avatar
0 votes
1 answer
28 views

Joomla DB where statement not works as expected

I don't understand the world right now. I try to make a simple query from the DB, but it fails with the message that the column is not known. I do not understand why Joomla! tries to see the value I ...
user avatar
  • 483
1 vote
1 answer
177 views

Pop up AcyMailing subscription form

I am trying to build a Joomla website with an AcyMailing subscription form. I'd like the form to be a pop-up window. I have researched thoroughly and I have achieved most of what I want. Now I have a ...
user avatar
3 votes
2 answers
129 views

Randomly render one of the modules in a given position

I have several modules for a given position, but I only want to display one of them (selected randomly) on the front-end in a Gantry template. Is there any way to do this?
user avatar
  • 1,369
2 votes
2 answers
54 views

Json encoding being escaped

I'm writing to the db (I'm automatically creating a module): $module = new stdClass(); $module->title = $moduleTitle; $module->note = ""; $module->content = ""; $module-&...
user avatar

1
2 3 4 5
9