We’re rewarding the question askers & reputations are being recalculated! Read more.

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
4
votes
2answers
251 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 ...
4
votes
1answer
349 views

Module Params Custom Validation is possible?

Now I have situations to validate Module params in admin side of a module. I know there is option with Filter in module params but its limited , I can't validate some patterns or custom conditions. ...
4
votes
1answer
731 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 ...
4
votes
1answer
572 views

Article Table of Content as a sticky navigation

I'm looking for a way (plugin, module?) to achieve the following: auto-generate a Table of Content for certain long Joomla articles based on HTML tags (H1,H2 etc.) or CSS classes of headings show ...
4
votes
1answer
61 views

What types of functions in Joomla are analogous to Drupal hooks?

Drupal has many hooks, such as hook_menu and hook_form. What are some functions in Joomla analogous to these?
3
votes
1answer
250 views

Meaning of the “version” in any extension XML manifest file

I'm new to Joomla! extension development, and I'm a little confused about the manifest XML file. What's the correct way to use these three version tags at the beginning of the XML file? <?xml ...
3
votes
1answer
923 views

How to conditionally show fields in module xml?

I created a simple module to enter values in textfields which I show in module positions on the frontend (banner images...). Now I need a solution like if dropdown value in fieldname "xy" is "xyz" ...
3
votes
3answers
3k views

How to assign a module to different pages

I have menus in home page. Now i want to display different modules in different page and also I want to add SEF custom name to pages. Since I am new to Joomla, Any help greatly appreciated. Thanks in ...
3
votes
1answer
128 views

Which class method should I use for deprecated JDocumentRenderer->render();

I need to display a module in administrator side by getting the module using it's module position (see the code below). I am having error & doubt is using the code: $renderer = $document->...
3
votes
3answers
2k views

Can't save or save & close any modules

I'm using Joomla 3.7.2. I am not able to save any changes to my current modules or create new modules. I only make edits to my site in the administrator backend (siteurl.com/administrator). Save and ...
3
votes
1answer
101 views

How can I make a site like StackExchange with Joomla?

I really like stack exchange, you ask questions, get answers, vote for them and many more. I'd like to have a similar platform for my company so that employees can discuss different subjects and tag ...
3
votes
2answers
201 views

Template module names based on position

For instance, if I have a position called 'position-1' and I've multiple modules in position-1. How can I get all module names based on position (in this case 'position-1')? Is it even possible? If so,...
3
votes
1answer
179 views

Output of modules

Every template I see has this way of outputting modules (in the index.php) <?php if ($this->countModules( 'user1' )) : ?> <jdoc:include type="modules" name="user1" style="rounded" /> &...
3
votes
3answers
258 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 ...
3
votes
1answer
146 views

Is there any equivalent event to onContentAfterSave for Modules?

Is there a way we can 'listen' to the module save event so that we can use a plugin to do some additional work. I found this question on stack overflow but I am confused as to where dispatcher will be ...
3
votes
1answer
758 views

How to change the size of the entry box of a search module?

I am quite new to Joomla, and for me it is still difficult to move around, for example to change the style of some module or template by searching through the folders in the file system, but I guess ...
3
votes
1answer
2k views

Overriding the core layout for Featured Articles Component

I am a bit of a Joomla noob, so forgive the question, but I have searched for an answer. I am looking to customize the layout of the featured articles component. However, I do not want to customize ...
3
votes
2answers
286 views

Module XML with SQL field (JFormFieldSQL) - Custom Form Field - Check if table exists

My module uses the sql field (JFormFieldSQL) for a few simple queries in the database for a 3rd party component. My concern is that if the tables are missing, opening the module in the admin will "...
3
votes
3answers
1k views

Insert into database with ajax from a joomla 3 module

I have seen a lot of inquiries about ajax, but normally there are about retrieving data from database. I was wondering about how to insert data directly interacting inside a module. I have a module ...
3
votes
1answer
610 views

How to add jQuery functionality in the backend of a module?

I'm making a module where the user can select some manufacturers names from the backend and the names will be posted in the index with some nice css. I want to ask if I can add some jquery in the ...
3
votes
1answer
2k views

Create custom language switcher module

I would like to customize the language switcher module, that is I would have some different effect, like having name and flags together. How could I perform it? EDIT: Joomla version 3.3.6 template ...
3
votes
1answer
2k views

How to get the form of component from module?

I tried to get a component form from my module. I got the model and then tried to get the form, but the result was empty. I tried to define 'JPATH_COMPONENT' and it was useless. define('...
3
votes
1answer
145 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 ...
3
votes
2answers
986 views

Access custom module file directly using AJAX

I want to directly pass POST data to my .php file which is located in my module folder. I know this is security risk, but I'll try to fix that later. I'm doing research on this subject - how to do it ...
3
votes
1answer
739 views

How to override the mod_k2_tools helper function?

I'm trying to understand how to override the helper.php found in /joomla_site/modules/mod_k2_tools because it is not a component but a module, and it is not the controller, because the controller is ...
3
votes
1answer
239 views

how do i remove registration links in joomla 2.5 - login module

I would like to remove the links that appears on the top of my website "Sign In / Register" i already disabled the registration under the user manager however the links still appear there and i want ...
3
votes
1answer
980 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 ...
3
votes
1answer
577 views

Making custom template for Joomla - module edit form buttons lack skin/style?

I'm making my own template for joomla 3.x first time around. The problem is that when I click on a module to edit it, and I get the Joomla form for front-end editing, the skin/style is only "half ...
3
votes
2answers
2k views

Creating a module to search the database and display the results

I have got a table in the database called #__magazines, this holds data for magazines (date published, issue number etc..). I have created a Component, Plugin and Module which is for Joomla 3.x, I ...
3
votes
2answers
1k views

Custom Admin Panel/Back-End Functionality Starting Point

I'm new to Joomla, but not to CMSs in general(I have years of Drupal/Wordpress module/plugin development), but I am unsure of how to go about creating what a client asked for. Part of it is since I am ...
3
votes
2answers
2k views

Can't access jmodulehelper load method in module helper file

I am using com_ajax in joomla 2.5 - https://github.com/Joomla-Ajax-Interface/component As I have many instances(duplicate modules) of same module from where I call to com_ajax component by jQuery ...
3
votes
1answer
47 views

Protecting modules from deletion or editing

Does anyone know a way to protect a custom module in it entirety (position, content and from being unpublished and or deleted) I have a module that I don't want other users from altering the file in ...
3
votes
1answer
373 views

How to Order the fieldsets for a joomla module manualy?

I am currently developing a joomla module. For detailed settings i have created two fieldsets - as you can see in my screenshot. Is there any way to sort the fieldsets to bring "chart data" and "chart ...
3
votes
1answer
194 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 ...
3
votes
1answer
70 views

Handling of Plugin Custom Field Type Data

I have written a custom field type which will allow users to upload a file (CSV). Upon submitting the file, the plugin needs to be able to read through it and then do its own thing (update database ...
3
votes
1answer
220 views

Translated module is always en-GB

I'm writing a module for Joomla 3.4.3 and having issues with I18N. My module directory structure: + mod_mymodname + tmpl - default.php + language + de-DE - de-DE.mod_mymodname.ini ...
3
votes
1answer
483 views

How to change Simple Calendar Module Output

I installed simplecalendar (http://extensions.joomla.org/extensions/extension/calendars-a-events/events/simplecalendar) on my site (Joomla 3.2.3) and now I am facing the problem, that the module ...
3
votes
1answer
251 views

Module batch copy not working

I often use the batch tool to copy and set the correct language for my categories, articles and menu items when building a multi-lingual website. But when I try the same thing with modules, the ...
3
votes
2answers
439 views

Show module field data in frontend

I am building a Joomla 3.x module, I have used a media type field within the module params <field name="image-1" type="media" label="Select your first image" directory="backgrounds" /> This is ...
3
votes
1answer
342 views

CB 1.9.1 List Manager alternative list manager plugins

I'm using Community Builder (CB) 1.9.1 on Joomla 2.5.20 and find the CB List manager wanting. My intention is to stay with CB especially since 2.0 is on the horizon, but in the meantime,I've been ...
3
votes
0answers
33 views

Joomla and Eventbrite Integration

I am looking for a way to integrate Eventbrite with Joomla. I want to show a list of upcoming events that I have created. There are a number of default widgets available with Eventbrite (copy / paste ...
2
votes
1answer
186 views

Default menu assignment for a new module

While creating a new module, is it possible to change the default menu assignment from 'All pages' to 'no pages'? I haven't be able to find anything that would allow that switch in the global ...
2
votes
3answers
751 views

Module title not getting from language file

Here is the module manifest file <extension type="module" version="3.4" method="upgrade" client="site"> <name>ABCD_MOD_QUICK_WRK</name> ... .... <description>...
2
votes
3answers
830 views

How do I get the “Most read” module to show only articles within a time range

I am trying to display only the most read content from two months ago. I have tried checking through mod_article_popular/helper.php file but can't figure out how to use the $model->setState to get ...
2
votes
2answers
61 views

Modules and plugin in one package

I have built a plugin that is very similar to a google analytics kind of plugin (but for a third party). Now I have to add a functionality that adds a custom contact form on the sidebar, but I don't ...
2
votes
4answers
1k views

Load specific module from position in joomla

I want to be able to load a specific module from a position in a Joomla template. I have more than one module assigned to that position for other templates but for this new template I only want to ...
2
votes
1answer
450 views

Applying custom module chrome under J3.3.3

I have created a custom module chrome for my 3.3.1 website and it was working perfectly. I have just updated my website to 3.3.3 and my module.php got overriden in the process (promise, it won't ...
2
votes
1answer
63 views

Module Manager - Search by Module ID? It is not easy to find/locate modules for editing

I'm working on a very large site with hundreds of modules. It would be convenient to have a search field where the Module ID could be entered. There are filters for every other column (position, ...
2
votes
1answer
95 views

Can I get the architecture of my website (Joomla 1.5.23) [closed]

I got hired for a job where I should enhance a website which where created on Joomla 1.5.23 before I got there. Of course, anybody there can help me. I am not a web expert. I was here for marketing ...
2
votes
2answers
28 views

Advanced Module Manager Assignments

Using Joomla 3.9.11 and AMM 2.7.1 I have a blog with the url www.example.com/news I need to display some modules on the right hand side of this page, but only on that exact URL. If the URL ...