Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [joomla-4.x]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
4 views

Remove www. from sitemap links generated by OSMap

Is there any way to do so? I can't find any option, neither any documentation for this, so I assume some code will have to be modified.
Destroy666's user avatar
0 votes
0 answers
6 views

Module Class doesn't add the class to the site module

Nothing is happening when I modify the Module Class value in a custom side module: I tried both with and without a space before the class, also with and without a dot. How is that field supposed to ...
Destroy666's user avatar
0 votes
1 answer
8 views

Is there a way to autoload Forms / Fields in Custom J5 Module?

If I want to add a Subform to my Module I need to specify the "formsource" (path to xml) into my fieldsettings. But is there a way to use The Autoloader and "simply" use the Form ...
Marco's user avatar
  • 685
0 votes
1 answer
50 views

Get Joomla Articles via Model inside static (Module) Method

When calling an AJAX Method in a Module Helper file the method has to be static. I have no app context there, when doing the following: public static function getDataAjax() { $data = ...
Marco's user avatar
  • 685
0 votes
1 answer
26 views

How to remove shortcodes from Smart Search article text results?

For example Phoca Gallery one: This is a workaround I could try to go instead: How to show full article in Smart Search results or perhaps showing only sentences with relevant words. But I'm curious ...
Destroy666's user avatar
0 votes
2 answers
19 views

How to set root (/ and /de) as homepage in 2 menus?

While configuring other things I noticed that homepage is set to a "Featured articles" page in an invisible menu. Now I'm considering adding it to 2 visible menus in 2 languages. I'm not too ...
Destroy666's user avatar
1 vote
1 answer
17 views

Upgrade to 4.4 - Ajax error / 90.2% completed

I am having a terrible time upgrading from 3.10.12 to 4.4 as well and received the same Ajax error / 90.2% completed, and then a bricked site that displays no content and has no admin login. I suspect ...
kyle's user avatar
  • 11
0 votes
1 answer
15 views

Change Smart Search results template layout

I have 2 layouts in my template: default (which is indeed set as default) home For some reason Smart Search results use the home layout. How can I switch it to use default layout?
Destroy666's user avatar
0 votes
0 answers
10 views

RSForm Modal form set value of dropdown on modal

I have an RSForm with a button to open a modal form using RSForm Plugin Modal. I wish to set the value of a dropdown on the modal form using jQuery. I do not know the id of the modal form that is ...
Ian's user avatar
  • 1
0 votes
0 answers
11 views

CSS changes with language - what could be possible causes?

I'm editing a website on Joomla 4.4.3 with someone's custom template, based on T4. I noticed that some of CSS is missing when I switch to German language. For example: @media (min-width: 992px) { ....
Destroy666's user avatar
0 votes
0 answers
19 views

Form Field Type to browse and select a file

I'm struggling with finding a good way to have a control (or controls) on a form which allow the user to browse and select a file in a folder tree. There may be several thousand files in several ...
RogerCO's user avatar
  • 61
0 votes
1 answer
45 views

Joomla 4 / 5 - Custom Field Plugin

I'm trying to update my Ajax based FolderList Fields Plugin (to select a Folder) for Joomla 4/5. All looks fine but the field does not get rendered correctly in the Article Fields Section - it looks ...
Marco's user avatar
  • 685
0 votes
2 answers
31 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 ...
Mohamed1308's user avatar
0 votes
1 answer
36 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 ...
Marco's user avatar
  • 685
0 votes
1 answer
14 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 ...
Mikk2006's user avatar
0 votes
0 answers
26 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 ...
Székely Dénes's user avatar
0 votes
0 answers
29 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 ...
Glenn Arkell's user avatar
0 votes
0 answers
120 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/...
Gratia-Mira's user avatar
0 votes
1 answer
22 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('...
alve89's user avatar
  • 113
0 votes
1 answer
48 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 = ""; $...
Piero Marsilio's user avatar
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, $...
Jelle's user avatar
  • 1
0 votes
1 answer
59 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 ...
very_curious's user avatar
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; ...
Mario Carta Serra's user avatar
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 ...
RogerCO's user avatar
  • 61
0 votes
1 answer
50 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 ...
John Rix's user avatar
  • 551
0 votes
0 answers
37 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 ...
user3533235's user avatar
2 votes
1 answer
45 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 ...
Marco's user avatar
  • 685
0 votes
1 answer
106 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 ...
Martin Ewing's user avatar
0 votes
1 answer
46 views

Joomla 4 / 5 Module Layouts naming

When using the following field in my module xml: <field name="layout" type="modulelayout" label="...
Marco's user avatar
  • 685
0 votes
0 answers
7 views

Joomla 4 / 5 Module Layouts naming [duplicate]

When using the following field in my module xml: <field name="layout" type="modulelayout" label="...
Marco's user avatar
  • 685
1 vote
1 answer
29 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 ...
Kris Hunt's user avatar
  • 156
0 votes
1 answer
102 views

Problem with dropdown menu in Joomla 4 site

I'm having a problem with the dropdown menu in my Joomla 4 site. I think there's some sort of Javascript conflict that's causing it, and I'm hoping someone smarter than me can help pinpoint it. The ...
Kris Hunt's user avatar
  • 156
0 votes
1 answer
16 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 ...
Deilas's user avatar
  • 1
0 votes
0 answers
18 views

upgrading to joomla 4 error jcontrollwer not found

I'm attempting to upgade my joomla instillation to 4, but I have been having an error An error has occurred. 0 Class "JController" not found I don't know what to do? Any help
stuwer's user avatar
  • 1
0 votes
0 answers
39 views

Upgrade Error 'preflight finished with "false" result'

I was upgrading my site today from Joomla 4.3.4 to 4.4.2. I'm using PHP 8.1.27 I downloaded the official zip upgrade package from here https://downloads.joomla.org/cms/joomla4/4-4-2 and uploaded ...
jonboy's user avatar
  • 3,603
1 vote
0 answers
43 views

Login programmtacially in Joomla 4 (without user password)

I'm trying to create a script to login in Joomla 4 programmatically and without the users' password. The users' authentication is done via an external site and if successful the user will be ...
Hertus's user avatar
  • 11
0 votes
0 answers
59 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 ...
Midhat's user avatar
  • 109
0 votes
1 answer
36 views

Custom Form Field Type in Module Settings not got rendered (J4)

For my Project i need to render a custom form field based on the ListField I try to use the "new" conventions for J4 and later using namespacing etc. this is the relevant part of my xml: ... ...
Marco's user avatar
  • 685
0 votes
0 answers
17 views

Problem setting image info when creating an article via the J4 REST API

I’ve been using the J4 REST API for a while to create articles from form data through the Webhook feature of the Convert Forms extension. It works great for both standard article fields and for ...
Jeff Gilmore's user avatar
0 votes
0 answers
17 views

Duplicate Open Graph and Twitter Share metatags with Joomla5, Flexicontent

I'm currently working on a website running Joomla version 5.0.2 and utilizing Flexicontent (version 4.2.1) to manage its content. For the creation of social share buttons for each item, I'm using the ...
Vishal Patel's user avatar
1 vote
2 answers
66 views

Best way to save timestamp for new or modified records in custom component

In my custom component I have two database tables for items in my component with the standard 'created' and 'modified' datetime columns to contain timestamps when those items are created or modified. ...
Grant Hood's user avatar
0 votes
1 answer
53 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....
Richard's user avatar
1 vote
2 answers
63 views

For how long will legacy component MVC structure work in Joomla?

Legacy component MVC structure: com_foo |- controllers | |- foo.php |- helpers | |- foo.php |- models | |- forms | | |- foo.xml | |- foo.php |- views | |- foo | | |- tmpl | | | |- default....
mavrosxristoforos's user avatar
0 votes
1 answer
36 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 ?
سبحان مقیسه's user avatar
1 vote
2 answers
60 views

Component middleware for handling URLs

I have a component com_something that I am developing. Whenever a user goes to any view in this component (i.e. when the URL starts with index.php?option=com_something), I want to check the URL for a ...
toblerone_country's user avatar
0 votes
1 answer
12 views

Subquery error when using 3rd Normal form - 500 Operand should contain 1 column(s)

I'm fighting to get the following structure to work. I have three tables: players, player_teams, teams I used the conclusion I've found here for one of my questions: Join one to many with helper table ...
Marco's user avatar
  • 685
0 votes
0 answers
36 views

Joomla back end is unstyled

I have an odd problem. I have a Joomla 4 website whose back end won't load the CSS/JS. I've tried deleting my browser cache, rebooting, etc. I was doing some things in MAMP earlier today while working ...
Kris Hunt's user avatar
  • 156
0 votes
2 answers
57 views

Store Custom Subform Field Value in DB

Note This is a follow up question upon Create Custom Form via SimpleXMLElement The first issue has been solved, the subform gets rendered, here is my CustomField Code: use Joomla\CMS\Factory; use ...
Marco's user avatar
  • 685
0 votes
2 answers
77 views

Create Custom Form via SimpleXMLElement

I need to create a custom form which generates an input / text field foreach position that is stored in the database. My Code for this field so far: private function buildSubForm(array $positions) ...
Marco's user avatar
  • 685
2 votes
1 answer
32 views

Custom Module not on the JED how to show compatibility information?

We developed multiple extensions for our clients, but none of them are published on the JED. We also do not want to publish to the JED since they are custom extensions. All our extensions always show ...
purple11111's user avatar

1
2 3 4 5
11