Questions tagged [joomla-4.x]
For questions regarding version 4.x of the Joomla! Content Management System.
166
questions
0
votes
0
answers
139
views
Access namespaced custom field method from a plugin into another plugin
In one of my previous questions, I learned how to properly set up a namespaced custom form field, but it turns out that it's only available within its plugin scope for some reason.
I need the field ...
2
votes
1
answer
179
views
How to use cache calls in Joomla 4
From the documentation I use this part to store a large chunk of data
if (empty($families)) {
$cache = Factory::getCache();
$families = $cache->call( array( 'JFormFieldFamily', 'getFamilyList' ...
1
vote
1
answer
337
views
Joomla 4 - import parent field class into extending field class issue finding the files
Testing my Joomla 3.9 extensions in Joomla 4, some of them didn't work, because, as instructed with the (probably) old documentation my custom fields use
jimport('joomla.form.formfield');
...
0
votes
1
answer
619
views
Joomla 4 - how to set namespace for custom field addfieldprefix
I have the editors-xtd\vimeo plugin with this structure
..\plugins\editors-xtd\vimeo\models\fields\(a bunch of custom fields)
..\plugins\editors-xtd\vimeo\forms\form.xml
..\plugins\editors-xtd\vimeo\...
2
votes
1
answer
525
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
1
answer
291
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
1
answer
365
views
How to set up Joomla! 4 properly
I'm trying to do a pull request for Joomla! 4.
I've downloaded the repro and changed branch but now I need a working copy of J4 so I can test my code.
I try to install it the usual way but it the ...
4
votes
4
answers
3k
views
JFactory::getDbo() deprecated-- what's the replacement?
I'm running Joomla 3.9.5 and I'm attempting to update my JFactory::getDbo() calls (which are deprecated) to the newer format using the container. However, I'm getting the following error: Call to ...
3
votes
1
answer
54
views
Where are plugins found in Joomla 4?
I'm working with the Joomla 4 alpha 7, and I don't see anywhere to enable / disable plugins. Are plugins not enabled yet?
[edited to add alpha, not beta!]
0
votes
1
answer
120
views
Joomla 4 beta - Internal Service Error but no logged error
I've installed Joomla 4 beta 7 for development upgrading a Joomla 3 component. I have my logs (apparently) working correctly and I have test error log messages printing to the PHP error log as ...
1
vote
1
answer
100
views
Virtuemart 3.4 - products on manufacturer page
Virtuemart 3.4.2, joomla 3.8
i try copy code from category template, but cant fix this errors:
at /my_template/html/com_virtuemart/manufacturer/details.php
NOW I HAVE Two ERRORS:
Call to a member ...
1
vote
1
answer
669
views
Get Framework and template params in Joomla 4
Joomla 4 is coming soon and i need to know how to get the joomla framework and template params in php files outside of joomla.
This is the way in J3:
define( '_JEXEC', 1 );
define( '_VALID_MOS', 1 )...
4
votes
1
answer
557
views
Replacing JSubmenuHelper with JHtmlSidebar / Administrative menu in Joomla 4
I've been racking my brain how to add links to all the views of my component in the shiny new Joomla4 backend; I used to do it via JSubmenuHelper, but that, apparently being deprecated also before, ...
2
votes
1
answer
515
views
Joomla 4 alpha mootools library
To whom it may concern:
I just installed joomla 4.0 alpha and installed a custom extension of mine there in which uses mootools (JHTML::_('behavior.modal');), but it simply does not work.
is there ...
3
votes
1
answer
262
views
Menu Model Item in Joomla 4
Does anyone know how can I get the current menu model in Joomla 4?
In 2.5/3.X I was using this code:
$model = JModelLegacy::getInstance( 'MenusModelItem' )
->getItem();
But this ...
1
vote
3
answers
246
views
What is the current status of Joomla 4.x? [closed]
With the new release strategy in mind, what is the current status of Joomla 4.x? Has the development already started? Is there something on Github? Is there a google group especially for 4.x?