As of May 31, 2023, we have updated our Code of Conduct.
4 votes

Joomla 4 Smart Search: Extra database for indexing data

Some big sites use external indexing software / services to index and search their site. Some are available as Software as a Service, while others can be installed on your own resources. For Joomla 4 ...
pe7er's user avatar
  • 1,803
3 votes

Joomla 4 Views will not load on some Hosts

HtmlView.php is case-sensitive. Also, all other files within the src folder for namespacing are case-sensitive. That is what was causing all the problems.
Brent Cordis's user avatar
3 votes
Accepted

How to get an article id in blog category view inside fields plugin

Field value is rendered during onCustomFieldsPrepareField event which takes 3 arguments: the context string, content item object and the field object. The content item is the second argument passed to ...
Sharky's user avatar
  • 9,936
3 votes
Accepted

Joomla correct way of routing

You should run the URL through Joomla\CMS\Router\Route::_() before passing to setRedirect() to get the correct SEF URL since none of the involved methods do that automatically. use Joomla\CMS\Router\...
Sharky's user avatar
  • 9,936
2 votes
Accepted

Plugin to manipulate form data onContentBeforeSave

onContentBeforeSave is used to determine whether the item can be saved. The plugin should return a boolean value. The data, as you've noticed, is an array and is not passed by reference. So changes ...
Sharky's user avatar
  • 9,936
2 votes

Joomla 4 Smart Search: Extra database for indexing data

If your documents are in German, this might be a niche solution (SaaS) for you: SEMPRIA-Search a cognitive search engine based on natural language understanding, currently only for German Plugin for ...
Sven's user avatar
  • 139
2 votes

Joomla 4 Smart Search: Extra database for indexing data

If the site is that big then I would rewrite it if I couldn't find a nimble solution. Just to note - remember that every site that has 10-20k records a month needs archive tables or table partitioning....
Elboyler's user avatar
2 votes
Accepted

Entry values are changed in configuration.php

That's correct. The Joomla\Registry\Format\Php class responsible for writing the configuration file now supports outputting correct data types. Previously values were essentially cast to string so, ...
Sharky's user avatar
  • 9,936
2 votes
Accepted

Joomla 4 Helper class not found

You are using Joomla4 and Namespaces therefore you no longer need to have a plugin to register the class, that should be available to the Autoloader in /administrator/cache/autoload_psr4.php. The ...
Irata's user avatar
  • 3,057
2 votes
Accepted

Remove component's view name from url joomla 4

There have been many changes in routing in J4. One in particular is that URLs containing only menu item ID (e.g. index.php?Itemid=145) now have all menu query parameters appended before being passed ...
Sharky's user avatar
  • 9,936
2 votes
Accepted

How to combine or merge SQL results into one row

There is a solution using pure MySQL, but it may get excessively complicated if the number of tables or sources increases and I'm not sure it's the most efficient approach. You need to join the ...
Matt Garrod's user avatar
1 vote
Accepted

Joomla 4 Reinstall Core FIles

It installs all the files from Joomla 4.2.8 that are in Joomla! 4.2.8 Full Package (.zip) https://downloads.joomla.org/cms/joomla4/4-2-8 except from the /installation folder. It does not touch your ...
pe7er's user avatar
  • 1,803
1 vote
Accepted

Where is Joomla's ServiceProviderInterface

Joomla's Dependency Injection package is available at https://github.com/joomla-framework/di . Hopefully this saves someone else the few hours I spent tracking this down. Likewise, retrieve Psr\...
Jimmy's user avatar
  • 257
1 vote
Accepted

Running a python script within a Joomla 4 component gets return value of 2. How do I get Joomla to run the script successfully?

Component not running python script, return value 2 Turns out PHP files inherit Joomla's working directory. The cwd ends up as the Joomla's working directory so /path/to/joomla just for clarity this ...
Vim's user avatar
  • 21
1 vote

Tooltip On Top of Module

The tooltips are meant to appear when logged in with a user authorized to edit modules and frontend editing is enabled. If you are not logged in, you should check permission settings, there could be ...
Sharky's user avatar
  • 9,936
1 vote
Accepted

Undefined property: PlgAuthenticationmyauthplugin::$name in /somepath/www/libraries/src/Authentication/Authentication.php on line 184

The issue was an Joomla bug, it was resolved after updating joomla to Joomla 4.2.3. I was on joomla 4.1.x
Bas van den Dikkenberg's user avatar
1 vote

How to get/call Joomla 4 custom fields into module

I solved a similar problem, based on great help from the Joomla forum: https://forum.joomla.org/viewtopic.php?f=831&p=3677225 Setting the namespace with a use statement was not working for me. ...
Michael's user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible