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 ...
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.
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 ...
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\...
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 ...
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 ...
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....
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, ...
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 ...
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 ...
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 ...
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 ...
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\...
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 ...
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 ...
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
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.
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
joomla-4 × 107joomla-4.x × 23
php × 9
custom-field × 8
mysql × 6
joomla-3.x × 5
component × 5
articles × 5
extensions × 5
custom-component × 5
javascript × 5
administrator × 5
namespace × 5
router × 4
plugin × 3
user × 3
joomla-api × 3
login × 3
url × 3
jdatabase × 3
joomla-4.1 × 3
module × 2
templates × 2
template-override × 2
sef × 2