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
1
vote
1answer
13 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
19 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
43 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
1answer
34 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
39 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
54 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
23 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
34 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
76 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
40 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
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
1answer
52 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
38 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
31 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
52 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
35 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
25 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
60 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
32 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
60 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
87 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
57 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 ...
2
votes
2answers
38 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 ...
1
vote
2answers
50 views

How to overwrite a module's .php to control what scripts it adds to the head of the doc?

I am new to Joomla. I have installed a plugin and I want to overwrite the module file to remove some of the unwanted scripts. project modules mod_modulename mod_modulename.php How can I overwrite ...
0
votes
0answers
19 views

Setting module's module assignment to 'All pages'

I'm using postflight to try and set my module's module assignment to 'All pages' and here's the code. // Module assignment 'All pages' if (strtolower($type) === 'install') { ...
1
vote
1answer
24 views

How can I add a module to the tags page?

I created a site with Joomla3. When I click on the tags link on a blog post, it shows a page of articles but without a module. I want to add a module to this page.
1
vote
1answer
97 views

Front-end custom Joomla module to upload an image and save it in the Joomla images folder

I work on a custom Joomla module that would let users to upload profile images. I created a JForm and wanted to use the form field type "file" as below: <field name="Photo" type="file" label="...
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 ...
0
votes
0answers
69 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 ...
1
vote
2answers
194 views

Call com_ajax from module backend

To create thumbnails & cache files, I have to access my already created Ajax Functions inside my helper.php file. I'm already able to call the functions within the frontend (button that is ...
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 ...
4
votes
1answer
243 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 ...
4
votes
1answer
49 views

Getting CSS style to vary with different module instances

Edit: see the Update below for the current status of the problem. I have a module that has to display a variable number of rows, based on how the user configures it in the back-end, and several ...
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://...
0
votes
3answers
53 views

(Module override/PHP) Checking if a content-item has an image otherwise display a placeholder

I am customising a Joomla module (Override) and it does not seem to accommodate if an image is not selected (just shows a broken image symbol). What I'd like to do is check if there is an image and ...
0
votes
0answers
81 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 ...
1
vote
1answer
280 views

Generate and render a module on an article with PHP

I want to create a module and add it to an article I can already create the module manually and can add it to the article using php. I can't figure out how to add a module using php. So if I have ...
2
votes
1answer
111 views

Class not found in Joomla 4 when using JDate inside a function

In my last question I tried to modify mod_latest_articles module, and added myCustomFunction to ArticlesLatestHelper.php like this : /** * @package Joomla.Site * @subpackage ...
2
votes
1answer
117 views

Fatal Error: Class 'ArticlesLatestHelper' not found in Joomla 4 module while trying to add new function

I'm testing and playing with Joomla 4 alpha. What I tried to do is to quick-edit / modify the module Latest Article (mod_articles_latest), adding a new function. In joomla 3.x I usually adding a new ...
1
vote
1answer
45 views

My module parameters aren't saving . and can't use them in my files

**mod_cookiACT.xml** <?xml version="1.0" encoding="utf-8"?> <extension type="module" version="3.1.0" client="site" method="upgrade"> <name>Cookie Notifications !</...
2
votes
1answer
260 views

Creating a module and giving it config parameters options

on the documentation for creating a module, the basic is all there but they don't talk about giving parameters to your module. Example the color of the background or the size whatever. So I want to ...
0
votes
2answers
98 views

Getting post installation script to run for a module

I've a module that I want to run a script post installation, post update etc. I think this can be done by adding a script.php into the module zip file and then calling it in the installation file. &...
0
votes
1answer
47 views

Disable submenu items on bottom of page in gantry 4?

I have really tried multiple settings, I cannot find the setting to disable the submenu item creation. How can I disable the submenu entries showing at the bottom of all pages? See here the issue: ...
3
votes
1answer
380 views

How to add CSS/JS/an Image to a module backend

I have long wondered how to change my admin particularly for my custom modules. For many cases using an XML file is fine and I can use the built-in Joomla! form fields. In some cases, I'd like to ...
2
votes
3answers
107 views

Is it possible to add a new module position within a module?

I know in a template you can add <jdoc:include type="modules" name="newposition" /> and then within the positions tags you add your new position. <positions> <position>...
0
votes
1answer
69 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 ...
1
vote
2answers
27 views

Right modules to the top on mobile (responsive) version

I have layout that is like this LEFT - COMPONENT - RIGHT. I have NEWS page where I have my news in COMPONENT area and modules (search, news archive etc) on the right side. When I open my site on ...
0
votes
1answer
42 views

Can't open edit module, get error from JRouter::getInstance('site') in joomla 3.9.x

I have the code: $uri = JUri::getInstance(); $router = JRouter::getInstance('site'); $vars = $router->parse($uri); I'm wanting to parse the uri out at the module's backend (Just the module I'm ...
1
vote
1answer
100 views

Joomla! extension/plugin for creating productbundles in an onlineshop

We looked up for a solution to create a product bundle in the frontend of our webshop. Yet we haven't found any solution that enables the User to "create a product bundle". Currently we are using the ...

1
2 3 4 5
8