Questions tagged [joomla-4]
For questions regarding version 4 of the Joomla Content Management System.
27
questions
0
votes
0answers
10 views
Helix Ultimate Template: Error “500 icon::print_popup not found.” when clicking on a blog article
I am currently using Joomla 4 Beta 7 with Helix Ultimate 2 Alpha 5 and PHP 7.2.
When I go to my website's homepage > Blog and then click on any article, I get the following error:
500 icon::...
1
vote
0answers
16 views
Error “500 behavior::tabstate not found.” when trying to access SP Page Builder
I am currently using Joomla 4.0.0 Beta 6 with Helix Ultimate 2.0.0 Alpha 3 and PHP 7.2. My website runs on LiteSpeed Web Server, NOT Apache.
When I go to The Joomla administrator panel > SP Page ...
1
vote
1answer
20 views
Doesn't find the component id when creating menu items during postflight step when installing a component
I'am working with the last git changes of Joomla 4.0. In my component, i create the menu items during postflight step when installing a component. The issue is that isn't able to find at this step the ...
0
votes
0answers
18 views
What is best practice for inserting the link for custom fields in third party extensions
If I want to integrate custom fields into my Joomla 4 extension, then I have to change the database so that a link appears in the administrator menu, right?
For example like here: https://github.com/...
1
vote
1answer
49 views
Workflows in Joomla 4
As we all know Joomla 4 is on the horizon and the improvement to workflows are definitely an interesting addition.
From what I've seen, the workflow works great for new content, but what about content ...
0
votes
0answers
22 views
Am I right in assuming I need to use Package to install a component and 2 plugins?
I use to install associated plugins and modules within my component manifest but these don't seem to work in Joomla-4. Am I right in assuming that I have to move to a package install since Joomla-4?
2
votes
0answers
83 views
Joomla 4 template namespace
I'm working with latest Joomla 4 beta, and wondering how can I use namespaces with templates so I can start using and developing custom fields for my templates.
I need to know what should I set in the ...
1
vote
0answers
94 views
Namespace class of component not found in script.php during clean install of component
in file script.php of component made for Joomla! 4.0-beta2-dev the namespace isn't found : Class 'Kunena\Forum\Libraries\Install\KunenaModelInstall' not foundClass
The changes in script.php : https://...
0
votes
1answer
91 views
Install component run code in postflight
in joomla 4.0 beta2-dev, in the postflight method in script.php of my component i have put some code to create menus but at the end of installation of component the postflight isn't executed.
I have ...
0
votes
1answer
38 views
When uninstall component package isn't uninstalled
Hello my joomla extension is done with a package whith contains the compenent, the library, the plugins, the medias. I have an auto-uninstall feature into my component, but when use it at the end ...
0
votes
1answer
53 views
Library with namespace and autoloader example
I want to make a namespace for my Joomla components, but I can't find a clear example.
I want to declare multiple classes in my namespace and use autoloading.
For example:
namespacebas\xml
...
0
votes
0answers
99 views
Joomla 4 alpha display modal with insert image button
I am developing a custom module in Joomla4 alpha, using a bootstrap rendered modal window so that the user of the component will assign images from media in the Joomla back end to the extension ...
0
votes
0answers
45 views
Load namespaced library from component in J!4
I'm using the latest build of J!4. I have a component that has library files under joomla_root\libraries\mycomponent but the namespaced files in this directory aren't loaded by Joomla! 4 autoloader.
...
0
votes
1answer
278 views
Send error or exception returned from ajax request to enqueuemessage
In my componenent on Joomla! 4, when i do an ajax request and that ajax request return an error or exception, i'am wondering how to display it into enqueuemessage.
Is-there a way to do it ?
Thanks ...
0
votes
0answers
22 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
101 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
53 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
102 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
93 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
257 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. ...
1
vote
1answer
281 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
187 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
64 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
44 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
103 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
225 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
44 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-...