Questions tagged [joomla-4.x]

For questions regarding version 4.x of the Joomla! Content Management System.

Filter by
Sorted by
Tagged with
2 votes
2 answers
110 views

Adding Javascript to the Administrator Template

Is there a way to add Javascript to the Joomla Administrator template without creating a child template? Something equivalent to /media/templates/administrator/atum/css/user.css for Javascript.
0 votes
2 answers
18 views

Cannot login to Joomla website's backend

I cannot login to my website's administrator panel even after following all the methods mentioned in https://docs.joomla.org/How_do_you_recover_or_reset_your_admin_password%3F. Please help me solve ...
3 votes
1 answer
324 views

Migrate Users from Joomla 3 to Joomla 4 with same UserIds and Passwords

So I successfully migrated users from a Joomla 3 database into a Joomla 4 database. I am hoping there is a nicer way if anyone has done it. In particular, I couldn't work out how to create a user ...
2 votes
1 answer
283 views

Scheduled Tasks Infrastructure in Joomla 4.1

Is there documentation for the new Scheduled Tasks Infrastructure in Joomla 4.1 (https://github.com/joomla/joomla-cms/pull/35143)? I just created a test task for setting the site offline. I scheduled ...
0 votes
1 answer
192 views

Custom module chrome is not working in Joomla 4

I have copied the card.php file from templates/cassiopeia/html/layouts/chromes and placed it in my templates/MYTEMPLATE/html/layouts/chromes folder, and then made some modifications to the styling. ...
0 votes
2 answers
205 views

Overwrite Site Model getListQuery

I have a System Plugin to filter Joomla 4 Category Blog Articles by Custom Fields. The Plugin basically overrides the core content ArticlesModel by loading it in the onAfterRoute Event like this: ...
0 votes
1 answer
22 views

Joomla Custom Field Type Plugin No Translateable Label

In my Project I create a Custom Field Type Plugin (my own Customfield Type) - I'm using the new Structure with namespaces but on the "Field Selection" There is no translateable label. Its ...
0 votes
1 answer
101 views

Joomla 4 Component SEF URL not working for detail page of the item when catid is added in the url

Below is the have written the code router file in the component namespace Test\Component\Test\Site\Service; // No direct access defined('_JEXEC') or die; use Joomla\CMS\Component\Router\...
0 votes
3 answers
573 views

Joomla4 pagination issue in component on prev, next

Facing problem in joomla pagination when component upgraded from joomla 3 to 4 with same css, although buttons are working in joomla 4 with click taking to prev, first on left side and on right side ...
0 votes
1 answer
13 views

No extensions or any other important things in Joomla 4.4.3 System Dashboard

I really need to get extensions, so maybe I could use code & add google maps to my Joomla website. Also if I add google maps "iframe" link, it just disappears when I save my project. I ...
0 votes
1 answer
12 views

BUG com_installer not always displaying update script output

[original post - I have now established it is a bug] A strange quirk. Using Joomla 5 my install script for a component is designed to show some information to the user after update. It renders the ...
1 vote
1 answer
211 views

Joomla dispatcher detach and register functions disappeared

I use this code in Joomla 3 component: $dispatcher = \JEventDispatcher::getInstance(); if (class_exists('PlgSystemFields')) { //detach plugin $dispatcher->detach('PlgSystemFields'); } $...
0 votes
1 answer
222 views

Category blog - 8 column layout

I have a fresh install of Cassiopeia/Joomla 4 and I am trying to give the Category blog 8 columns. When I add that number under Blog Layout it reverts to 1 column? Values 1-4 seem to work. But ...
1 vote
1 answer
80 views

Trigger event inside custom plugin group

I have a custom plugin in a custom plugin group (maidan): <?xml version="1.0" encoding="utf-8"?> <extension version="3.1" type="plugin" group="...
1 vote
1 answer
127 views

Call to undefined method Joomla\CMS\Mail\MailTemplate::ClearAddresses()

In my extensions updated for Joomla! 4.0 i use the method ClearAddresses(). In Joomla! 3.x the Joomla\CMS\Mail\Mail extended phpmailer class now in Joomla! 4.x the Joomla\CMS\Component\ComponentHelper\...
0 votes
1 answer
127 views

Joomla ignores css changes after URL rewrite was activated

I recently installed Joomla 4.1 on my server and since I activated URL rewriting, my changes in some CSS files of the Cassiopeia Template are ignored. I tried deactivating the URL Rewrite, but it does ...
0 votes
0 answers
24 views

plgVmOnDisplayProductFEVM3 not triggering

I am trying to port some of my old plugins to latest VM, Joomla 4 and I have difficulties with couple of vmcustom plugins. The short version is, that the code I used to insert my needed code, namely ...
0 votes
1 answer
39 views

Joomla 4 Email Single User

Is it possible to email an individual user from within the Joomla 4 admin area? Preferably without using a paid plugin.
0 votes
0 answers
24 views

Modal Popup to use Menu template

I have a modal button on my component list page which displays details of the record in a popup modal window. My problem is I want the modal popup to use the same template set in the menu item for ...
0 votes
2 answers
73 views

Zentools compatible version

I want to use zentools. Currently im working with joomla 4.1.0 . So, I was wondering, Is there a version of zentools that is compatible with joomla 4.1.0 ??
0 votes
1 answer
21 views

Custom Rule (checked) for ClientSide Validation

I have a Form that includes two radio inputs both based on this field structure: <field name="privacy_policy" type="radio" layout="joomla.form.field.radio.switcher"...
0 votes
0 answers
99 views

Cannot set up Cron Task for Smart Search in Joomla 4 - Alternative

I am trying to create a cron task for the search index in Joomla 4. The PHP file is also called, but an error occurs. I created the cron tasks according to these instructions: https://docs.joomla.org/...
0 votes
1 answer
359 views

Display current article's specific custom field in module

Im using Joomla 4. And for some reasons I need to publish my articles with joomla 4 custom html module that shows specific custom fields of current article. I have changed mod_custom's default.php ...
0 votes
1 answer
13 views

Tag page with blog layout

I want to create a menu item for a tag that shows the articles as in category blog layout. After, I would like to insert tags in the article info block. Is it possible in joomla 4 and 5? If yes, how ...
0 votes
1 answer
41 views

How to add a helper class to a component in Joomla 4?

I'm quite new to Joomla. I have a component with multiple different models and views, but a few of them use the same functions. Right now I have those functions copied in every model file, but I'd ...
1 vote
1 answer
95 views

Admin tabs not loading in Chrome

I've run into an odd issue where none of the back-end tabs are displaying in Chrome. This includes pages like Global Config, New Article, and New User. When I turn on System debug, the tabs display. ...
0 votes
1 answer
45 views

DB error using updateObject or Store after upgrading to Joomla 4

I am a component developer and now I am migrating my component to Joomla 4.x. In Joomla 3.x I could do code like: $row= new stdClass(); $row->id = "2"; $row->user_id = ""; $...
0 votes
1 answer
21 views

Generated <a> links to wrong URL

I generate a link in a module as follows: $user->contactAddress = str_replace("//", "/", trim(JUri::base() . $params->get('defaultContactAddress') . '?' . $params->get('...
0 votes
0 answers
17 views

Joomla component detail view error: 404 Could not load the item

I have a table named edu2f_jobs_jobs. This table is received here: public function getTable($type = 'Job', $prefix = 'Administrator', $config = array()) { return parent::getTable($type, $prefix, $...
1 vote
1 answer
27 views

How can I prevent dropdown.min.js from loading on the front end of my website?

dropdown.min.js is conflicting with the way I have my menu set up in my Joomla 4 website, but I can't disable it entirely because the back end of the website needs it. How can I keep it enabled for ...
1 vote
2 answers
314 views

Joomla 4 SEF URLs broken since upgrade

We upgraded from Joomla 3 to Joomla 4 and since upgrading have found that many (almost all) links on the site are broken. Here is an example of a broken link: https://guildofenamellers.org/index.php/...
1 vote
1 answer
223 views

Joomla 4.3.1 Web installer fails to find MariaDB (MySQL) or PostGreSQL 11

I am trying to install Joomla 4.3.1 on my Ubuntu 18.04 machine. I am running Apache 2.4.57, PHP 7.4 (for Apache, apparently), PHP 8.2 is also installed, and two installations of PostGreSQL: 10.4 (...
1 vote
0 answers
22 views

Smart Search translation

In Joomla 4.4.2 the Smart Search component translation doesn't work for any other language then english but it happens only for 6 translations: COM_FINDER_ADVANCED_TIPS_AND; ...
0 votes
1 answer
35 views

J4 -Custom Component - Router Unknown $pk in model

I've added Router Features today to my Custom Component - all works finde beside the fact that the $pk variable inside the model holds a curios value (202n) where 'n' is different for each element... ...
1 vote
2 answers
356 views

Joomla 4: Problem with the contact form, the text sent is missing

I'm creating a contact form with Privacy Check box (Joomla 4, template Cassiopeia). I have done all the steps as in joomla 3.x (custom fields) and everything works. But... When the e-mail arrives, all ...
0 votes
1 answer
101 views

Disable custom field validation

I've created a new custom field type name "lazyload" on Joomla 4. Basically it is a list field that places an empty (no options) HTML select tag and uses the select2 plugin to fetch the ...
0 votes
1 answer
36 views

Get Category id onAfterRoute when using category dropdown

I have written a Joomla 4 plugin (trigger: onAfterRoute) that changes the layout of the article edit based on the category. This works when creating a new article with a pre-selected category, but ...
0 votes
0 answers
57 views

Include php file in Joomla 4 article

I created a font.php file that is used to preview fonts and I try to include it in a joomla 4 article, but it always returns error 500. -Include some simple php file in joomla article works. -Include ...
0 votes
0 answers
43 views

Multi-factor Authentication is not enabled issue

I'm facing challenges enabling Multi-factor Authentication (MFA) Code by Email for frontend users in Joomla. Despite following the necessary steps and configurations, I encounter persistent issues. ...
0 votes
1 answer
163 views

Route not working properly on J4?

I have a menu entry like so: ID: 524 Type: Articles->Create Article Link: index.php?option=com_content&view=form&layout=edit In the "old days" I'do Route::_('index.php?option=...
3 votes
2 answers
2k views

Joomla 4 create article programmatically

I have tried a few ways to create articles programmatically in Joomla 4, but none of my attempts are working. First is to insert data by mysql using $db->getQuery(true) -- the article shows in the ...
0 votes
1 answer
40 views

Creating site routes from Administrator client

I am in the process of migrating a large Joomla component from v3.x (with lots of legacy code from 1.5+!) to Joomla 5 at present. One item I have stumbled upon is how best to bootstrap the component's ...
0 votes
0 answers
35 views

Check context of plugins to avoid to be loaded everywhere in Joomla!

In my component i have some plugins (like this one https://github.com/Kunena/Kunena-Forum/blob/K6.2/src/plugins/plg_kunena_comprofiler/comprofiler.php), when there are enabled they cause issues with ...
1 vote
1 answer
31 views

Add Tags Feature to Custom Component

Knows someone a good guide on how to implement the TAGS feature into a Custom J4/5 Component? I have this information from Astrid's Book on how to develop J4 Components but it looks not fully correct ...
0 votes
1 answer
59 views

Send Test Mail fails on J4.4.2: "Could not execute: /usr/sbin/sendmail", similar problem with phpmail

I have 3 sites on Ionos hosts running Joomla 4.4.2, almost up to date. The Global Config page "Send Test Mail" works fine with sendmail or php mail options on two of the sites. The third ...
0 votes
1 answer
51 views

Tagged Weblinks appearing in a Compact List linking to items on external site require two clicks to get to items. - Version 4.4.2 -

At the url below there is a tag at the top left called "Big Picture Pubs". It leads to a table showing a compact list of tagged weblinks. https://www.victoriasforestryheritage.o ... cture....
0 votes
2 answers
82 views

Number of articles in multiples sub-categories

I use mod_articles_category to display a list of categories with their articles. I need to display the total of articles next to each category title. I've tried with <?php echo $item->numitems; ?...
0 votes
1 answer
136 views

How do I create parameters in a Joomla module depending on another parameter / number?

I'm trying to create a Joomla module for typical CSS cards, but I want to make the number of cards dependent on a number input from the user. For example the user wants 5 cards so in the parameter ...
0 votes
1 answer
35 views

how can i override method save plugin joomla 4

I have custom plugin and I want to do something when my plugin save in admin panel of Joomla 4 . How can I override save method in plugin ?
0 votes
1 answer
468 views

How can I use two models in my custom component view in Joomla4?

I need to use two models in a view for my custom component in Joomla 4. I saw this post for Joomla 3, but it seems that there isn't getInstance() in the base Models anymore. How I could do it ?

1
2 3 4 5
11