Hot answers tagged

4 votes

JRequest Method in Joomla 4

Use Joomla\Input\Input class. Instance relevant to the current request can be accessed through the application: use Joomla\CMS\Factory; $controller->execute(Factory::getApplication()->getInput()...
Sharky's user avatar
  • 10.9k
4 votes

Is the following everything one should do to prevent SQL injection?

First, when reading user input you should make sure it's the correct type. The Input/Filter APIs don't handle array/string conversion. So if you're expecting STRING filter to return a string be aware ...
Sharky's user avatar
  • 10.9k
2 votes

TinyMCE in Joomla 4: <custom-element> without automatically added <p>

The settings for TinyMCE are managed in the Plugin Editor- TinyMCE. You may be able to find an option there like 'New Line', or try reading their help documentation to find how to achieve what you ...
Irata's user avatar
  • 3,597
2 votes
Accepted

After joining two tables in phpMyAdmin how do I save the results as a dynamic table?

Unless you are magically updating the new table with fresh data then you will only see the data from the initial select statement. In this case you have a few options populate the new table with ...
sirobertson's user avatar
1 vote
Accepted

Cassiopeia hamburger menu doesnt collapse

I had included the Bootstrap dist JS file not realising and it was messing with this functionality. I removed the line and all was well.
j00m's user avatar
  • 181
1 vote

How to add Table of Content using HTML or other options?

The Table Of Contents plugin can do that. Look in the Joomla Extension Directory (JED). https://extensions.joomla.org/tags/articles-toc/
Seb's user avatar
  • 31
1 vote

TinyMCE in Joomla 4: <custom-element> without automatically added <p>

https://www.tiny.cloud/docs/configure/content-filtering/#custom_elements TinyMCE supports defining custom elements but this is not implemented in Joomla. Though this can be added using plugins or ...
Sharky's user avatar
  • 10.9k
1 vote
Accepted

joomla 4 custom field auto text cleanup

This may be an issue with the filter value, either in the field plug-in settings, or in the settings. The editor field type has four options for filter: No Raw SafeHTML Text Perhaps try setting the ...
AndyGaskell's user avatar

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