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
3
votes
2answers
206 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
1answer
33 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
1answer
88 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
1answer
25 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
1answer
29 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
1answer
30 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
1answer
68 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 ...
0
votes
0answers
29 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 ...
0
votes
0answers
21 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
0
votes
0answers
17 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 ...
0
votes
1answer
24 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"...
1
vote
1answer
29 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' ); $...
2
votes
3answers
75 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 ...
1
vote
2answers
80 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 ...
0
votes
1answer
27 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 ...
0
votes
2answers
28 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 ...
1
vote
1answer
65 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 ...
0
votes
1answer
50 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-&...
0
votes
1answer
23 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/...
2
votes
1answer
61 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 ...
1
vote
1answer
31 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 ...
4
votes
1answer
89 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, ...
0
votes
1answer
24 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 ...
0
votes
1answer
25 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. ...
1
vote
0answers
44 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. ...
0
votes
1answer
25 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 ...
0
votes
1answer
71 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 ...
1
vote
1answer
40 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"?> <...
0
votes
1answer
32 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 ...
0
votes
2answers
74 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 ...
2
votes
2answers
123 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&...
2
votes
0answers
55 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 ...
1
vote
2answers
57 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 ...
0
votes
1answer
24 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 ...
1
vote
1answer
129 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 ...
3
votes
2answers
107 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?
2
votes
2answers
45 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-&...
0
votes
0answers
37 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 ...
0
votes
1answer
111 views

Using Language Constant File in a Module

I'm creating a module but I need it to be multilingual. I know that I can create field params, duplicate the module, and set different values for these params based on the languague but I would like ...
0
votes
1answer
61 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 ...
0
votes
1answer
141 views

Insert custom field into modules .xml file

I have currently created a Joomla Module, and i would like to make it a bit more advanced now. I have created a Custom field, and i have tried to add it to the mod_NAMEOFMODULE.xml file. To use it ...
2
votes
1answer
57 views

Show article details from custom module

I am trying to develop a custom module where I have options to select 4 different Joomla articles. In my module XML file, I have the following: <field name="articleOne" type="sql" label="...
1
vote
1answer
36 views

Unable to deploy updateserver for site module

Joomla! does not recognize my module update, so I decided to create a blank module to see if it suffered the same issue -- it did. When I search for updates my mod_extension is not visible in the ...
1
vote
1answer
28 views

Mod_Feed removing the strip image function what do the True & False do?

I want to remove the strip image function from mod_feed in the administrator area. mod_feed/tmpl/default.php at line 118 // Strip the images. $text = JFilterOutput::stripImages($text); $text = ...
0
votes
1answer
98 views

Ajax Call: Problem with filter in Article & Articles Model in Module Context

I currently have a problem with an ajax call in my new module. the filters are not used. Here is an extract of the relevant lines: $articleid = $data_decoded->articleid; // Get an instance of ...
0
votes
1answer
37 views

Module creation reusing functions

I have a module that uses comAjax . Default uses the standard way of calling: 'option' : 'com_ajax', 'module' : 'available_stock', This works fine and in the module calls the relevant ajax function ...
2
votes
1answer
135 views

Transfer Custom Code to Module / Plugin / Component

Joomla 3.9.12 I've been using Sourcerer in order to place custom code throughout my site, it's working well so far. I've created a custom html module, within this I have added PHP, JS, HTML and CSS. ...
1
vote
1answer
319 views

How to fix problem with relative path Joomla for a module using editor form field?

I have created one module in Joomla and added one form field of the type editor inside the manifest-XML. <field type="editor" name="myeditor" default="" buttons="true" hide="...
0
votes
1answer
30 views

Remove default settings from fieldset basic in module

Is it possible to remove the default settings (sidebar) in fieldset name="basic" (Display title, module position, state etc...) and put them in a separate custom tab?
2
votes
1answer
78 views

Get module params in custom form field

I need to get all other module field-params of the current module inside of a custom form field in backend. In tmpl/default.php it works with: $bgcolor = $params->get('bgcolor'); But in custom ...

1
2 3 4 5
9