Questions tagged [joomla-4]

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

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

Changes into in Joomla\Http\Http in Joomla! 4.0?

I have a part of code in my componenent which works in Joomla! 3.9.x, but in Joomla! 4.0-beta-dev i get a 503 error. My code is the following : use Joomla\Http\Http; use Joomla\Http\Transport\Stream ...
0
votes
0answers
17 views

joomla 4 beta 1 Invalid controller class: display

Php 7.2 localhost MAMP I am having the same issue as here with Joomla_4.0.0-beta1-dev-Development (Monday, 28 October 2019 02:01:09 UTC) 4.0.0-beta1-dev Development [ Amani ] 17-October-2019 20:21 ...
0
votes
0answers
44 views

Error: “Invalid controller class: display”

I've installed Joomla 4 to test with, and I'm getting this error on every attempt to login to the admin: Invalid controller class: display I've re-installed and am using the latest alpha release. ...
0
votes
1answer
37 views

How to render nested modules, (parent outside articles)

I tried the following code: $document = JFactory::getDocument(); $renderer = $document->loadRenderer('modules'); $position = 'precisions'; $options = array('style' => 'raw'); echo $...
1
vote
0answers
67 views

How to get ride of duplicate and useless URL from /component/contact

I try to use the form from Joomla, but seems there are strange downsides… If I setup a contact form, from Components > Contacts, and put this Contact Component inside a Menu, I can access the "...
1
vote
1answer
63 views

How to set a root article as subpath url for children articles

How to set a root article as sub-path URL for children articles? Meaning, I have a root page named article0, and article{1-100} under this root article. I want to display the article0 under the URL ...
1
vote
1answer
73 views

How to add category name to url path for an article in Joomla 4?

How to display category name in the url path? Say I have a category named cat1, and an article1 under this category. I want to display website.wb/cat1/article1, but what I get is website.wb/article1. ...
0
votes
0answers
11 views

JForm bind recursion error?

I'm updating a Joomla 3.x component for Joomla 4, and my admin forms are showing a recursive error: // etc until it hits a limit of 256 236 Joomla\CMS\Form\Form->bindLevel() JROOT/libraries/...
1
vote
1answer
33 views

Updating JEventDispatcher triggers

Can anyone explain or point me to information on the new way to handle events in Joomla 4? I'm updating a component that uses triggers to display plugins, and it looks like this: $dispatcher = ...
1
vote
1answer
77 views

Delete query and left join with JDatabaseQuery doesn't work

I'm trying to convert a delete query with left join to use JDatabaseQuery, but I am encountering an issue in the query. The query that I'm trying to convert and which works is the following : $db->...
0
votes
1answer
41 views

How to write a DELETE query with WHERE conditions using JDatabaseQuery syntax?

I have a query which I am trying to convert to JDatabaseQuery syntax, but I'm not able to find the correct way. The query is the following: DELETE upt FROM #__mycomponent_user_posts AS upt WHERE upt....
0
votes
1answer
37 views

Where might the code for this screenshot lie in joomla 4 [closed]

The link to this url on localhost is administrator/index.php?option=com_menus&view=item&client_id=0&layout=edit&id=101
2
votes
1answer
60 views

Getting Error “Call to undefined method Joomla\CMS\Editor\Editor::getContent”

I am upgrading one of my component to support Joomla 4 and I am getting this error in webpage Call to undefined method Joomla\CMS\Editor\Editor::getContent The code that throws this error is in ...
2
votes
1answer
199 views

Joomla 4 alpha - link to dialog file in editor-xtd broken

I'm trying to update my extension for Joomla 4 alpha. It adds a button in the editor that calls a dialog file in a popup window. The link is triggered like this: $button->set('link', '../plugins/...
2
votes
1answer
38 views

architecture diagram (current 3.x, 4.x) of joomla architecture

Is there any newer architecture diagram of joomla CMS? I know the https://docs.joomla.org/Archived%3aCMS_Architecture_in_1.5_and_1.6 but it is from 2011 so pretty outdated. Also is there one zoom-...