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).

27 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
43 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
0answers
35 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. ...
1
vote
0answers
43 views

How can I use first image in article as featured image?

I have searched all over the internet but nothing got useful. I have only hope on this forum. Please tell me how can I use the first image of the article in Joomla as featured image. I don't want to ...
1
vote
0answers
28 views

Make Search bar dynamically appear at top of body

One of our clients would like to have a search icon in their Main menu, which when clicked causes a search bar to appear at the top of the website's body. An example of this behaviour is at https://...
1
vote
0answers
36 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
43 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
0answers
35 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 ...
1
vote
0answers
16 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 ...
1
vote
0answers
523 views

Saving custom field parameter value from module settings

I know well how to create custom form field in joomla module settings as written in the accepted answer of this question which is basically extending JFormField class. Now what i want to do is ...
1
vote
0answers
124 views

repeatable form field type - drag & drop

Is it possible to add a drag & drop function for sorting inside a repeatable field? I use repeatable fields in my modules and it would be nice to change the order per drag & drop.
1
vote
0answers
143 views

How to hide articles from Blog Category mode

I'm trying to make a more dynamic News & Events posting process on a website. To do this I'm using the free version of Deluxe News by JoomlaXTC. Overview This is the result I'd like to achieve, ...
1
vote
1answer
99 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 ...
1
vote
1answer
481 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
0answers
376 views

Remove /components/ from Popular Tags Cloud module

I have set up a page called domain.com/tags.html on the root which links to the com_tags component and shows a set of tags most used. I also want to use the Popular tag cloud module, mod_tags_popular,...
0
votes
1answer
62 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
0answers
35 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
0answers
73 views

Breadcrumb separator is not showing consistently

Not all of the breadcrumb values are properly separated by a slash on my site. The delimiting slash is present between the first and second crumb, but gone on the next resulting in the second and ...
0
votes
0answers
30 views

Deleting module from front-end I Can't find in the back-end

I am very new to Joomla and I am responsible for updating a website that has been created by another web administrator. I have what I believe to be a module that I want to delete, I see it in the ...
0
votes
0answers
93 views

How to programmatically create and install a module during component postflight?

I want to create and install a module via component postflight. I can get postflight etc. to work, but I can't get it to create and install the module. Code I've created: // Get the database object ...
0
votes
1answer
71 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
0answers
394 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 ...
0
votes
2answers
359 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
2answers
265 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
0answers
255 views

Add data attribute to module html - Joomla 3.4.8

I'm trying to add data-uk-sticky attribute to a Joomla module that displays a sidebar menu (to make it sticky). For that, I created an alternative layout by copying /modules/mod_menu/tmpl/default....
0
votes
0answers
83 views

Access k2 extra field from Flexi Code module

I am using the Flexi Code module to display some php in a k2 page. This k2 page has a RoomID as extra field. How can I access it as a variable inside Flexi Code?
0
votes
1answer
41 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
50 views

Custom module: JSession brokes the site

I am making custom shop module for my website and my script breakes all pages where it is. The command what breaks it is: $session =& JFactory::getSession(); (Code putted in default.php). I cant ...