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
1answer
148 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 ...
2
votes
2answers
229 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
1answer
88 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
1answer
536 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 (...
1
vote
0answers
32 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
547 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.
4
votes
2answers
391 views

Get Timestamp from Database

I have data stored in a db table, with an auto timestamp. In a module I want to then display a result based on the latest timestamp. It's not working and I'm getting an error Warning: strtotime() ...
2
votes
1answer
68 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: ...
3
votes
3answers
248 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 ...
1
vote
1answer
224 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
1answer
336 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
2answers
254 views

How To Import Data From Module into a Custom HTML Module

if you take a look at my website: NerdyFuture. You can probably see the couple of pictures at the top of the website. I made this in a custom HTML module, now what I want to achieve is to input data ...
4
votes
1answer
499 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 ...
2
votes
1answer
494 views

Publish/Unpublish module on a schedule

I look after a website which is run by a church and every 1st sunday of the month they have a slightly different service schedule. The site uses an image slider which rotates advising of the services ...
1
vote
2answers
1k views

Remove /component/ from URL generated from module for a custom component

I have created a custom component with routing that seems to be mostly correct and have now created a module to display multiple items of the component on the homepage. I have got it to a point where ...
4
votes
2answers
248 views

Is it possible to call a postflight on a module install?

I am creating a module that I hope will do a little more complex functions than many. However, I will need to do certain things like DB modification and moving files when the module installs. I am ...
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
1answer
550 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
137 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
104 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
307 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 ...
5
votes
4answers
4k views

Make module titles linkable

I was searching the internet but without much luck. I need some way to make module titles linkable, and the only thing I found was on Gavick forum archive posted couple of years ago and file doesn't ...
2
votes
1answer
86 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/...
0
votes
0answers
352 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 ...
4
votes
1answer
687 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 ...
1
vote
1answer
295 views

Login module doesn't login, redirects back to home page

For whatever reason, the login module in the frontend of my website has suddenly stopped working. Every attempt to login using it just redirects back to the home page without logging in the user, ...
1
vote
0answers
15 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 ...
2
votes
2answers
2k views

How can I show the Published date of the current article inside a module?

I want to show the published date inside a module, how can I do that? I will make of course a module override and use the changes inside the default.php Thank you
1
vote
1answer
912 views

AJAX test module is not working. POST 404 error

I'm trying to create my own ajax module. When I submit the form I'm getting a 404 post error. Any idea what went wrong? This is what I have done so far. mod_ajax_test.xml <?xml version="1.0" ...
4
votes
3answers
2k views

Chrome problem: How to remove the div class=”custom” from a Joomla module

You might also find this question relevant if you are trying to solve "How to stop Joomla modules being wrapped in divs." What's the PROBLEM? When Including a module into Joomla, it gets wrapped in ...
-1
votes
2answers
71 views

Is it possible to load one module only after the whole page has loaded?

On my site, one module is taking considerably longer to load than the other content on the page. I'm wondering if it's possible to delay the loading of this module? For example, after the page is ...
2
votes
1answer
476 views

Joomla 3.6 nested subforms not saving

I am trying to use the new subform feature to implement nested forms. This greatly increases the readability for developers and I thought it was already possible to do but after testing I am not so ...
1
vote
2answers
996 views

Custom field colResizable plugin not working but works in fiddle

I got this fiddle: http://jsfiddle.net/2h4kLzgj/9/ Now I am trying to add this to a custom field in Joomla but for some reason it does not work at all in the administrator. The table shows up but ...
3
votes
1answer
931 views

Calling plugin code from module

Currently developing a module and a plugin (content) for a project that have some similar code in them (read: code for accessing APIs, organizing data, etc). Any environments that they're installed on ...
1
vote
3answers
924 views

I need extension to create popup

I'd like some advice. which extension is recommended for anyone needing to open an html page in a pop-up after clicking on an image?
7
votes
6answers
5k views

How can I control the module display on pages with no menu item?

I have asigned a module to pages according to their menu items in the module parameters but I would like to hide/show it on specific pages that don't have a menu item linking to them. How do I ...
0
votes
3answers
441 views

Articles list from a category displayed in 2 columns

I try to display the articles list from a specific category (mod_articles_category) in 2 columns. There is a great example here about what I want: http://jsfiddle.net/HP85j/393/ I would love to do ...
2
votes
2answers
290 views

Banner module not changing on refresh, only on page change

The banner module I am using for a single category of banners is not changing the display of the banners when the page is refreshed, they only change when the user navigates to a different page. All ...
1
vote
1answer
295 views

JFactory::getSession() in module, produces a 500 error

I am trying to get the JSession inside my module php file. But every time I wrote this code: $session = JFactory::getSession(); Joomla responds with a 500 error for the page that my module is ...
3
votes
1answer
186 views

How can I add modules to the tag search component page without adding menus for each tag item?

UPDATE: Because this is going to a client I am looking for a solution that does not involve creating new menu items for each new tag that is added. I have a blog that includes tags. The tags are ...
2
votes
1answer
282 views

Component in module. addModelPath doesn't seem to work

I am trying to display a component in a module which seems to work using this example http://www.escope.cz/en/blog/94-how-to-load-component-in-a-module I am now facing a problem where my model isn't ...
2
votes
1answer
1k views

Load component's language file to module form

I have module mod_mymodule and it has the same translations as component com_mycomponent. I don't want to duplicate these same files and use only one file. I load form from com_mycomponent to ...
1
vote
1answer
271 views

Recommendations for contact form module with file attachments?

I'm looking for an easy-to-configure contact form module which will accept file attachments and has email-to-admin functionality? Does anyone have any recommendations? There's a number of seemingly ...
4
votes
3answers
9k views

How to get module parameters inside helper function and how to get params inside a custom form field type?

Part 1: How to get module parameters inside helper function? I am trying to get the same module parameters inside the helper file. class ModTestHelper { public function getFoo () { ...
20
votes
4answers
13k views

Joomla 3.x extension development tutorial for a beginner developer

I worked extensively in Joomla 1.0.15 version and developed multiple extensions. Also, I continued my developed in Joomla 1.5.x But, my developed discontinued after this release. Now, I want to start ...
1
vote
1answer
59 views

Running install script on Module Installation: How can I set a module chrome programatically?

I have created a custom module and I want to change the module chrome to "none". This can be achieved in the back end, but I would like it as the default behaviour in case others use the module. I ...
0
votes
1answer
21 views

Custom redirect points to correct page but prints 404 in <title>

I'm new to joomla and this isn't my field. I'm developing a module which should be shown on a page. The URL which prints the content is info-compagnie-aeree.html?iata=af and I want it to be compagnie-...