All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
7 views

Alternative switcher.css in Joomla 4

Example switcher radio field: <field name="myradio" type="radio" default="0" label="Myradio" class="btn-group btn-group-yesno" layout="joomla....
user avatar
  • 71
0 votes
0 answers
12 views

Joomla 4 Administrator Sidebar Collapsible Menu Style in the Front End

I would like to create a Sidebar Menu style in the Front End of a Joomla 4 site that looks, feels and behaves similarly to how the current left sidebar Menu of the back end is. Including the option of ...
user avatar
1 vote
1 answer
18 views

How to know the Joomla article ID for customization

I have a demo installation of J 3.10.9 with protostar template (https://joomla4.extrowebsite.com/). The menu item "Home" -> blog category - has N articles. The article "Welcome to ...
user avatar
1 vote
2 answers
33 views

Dynamically add option to Jform field

I need to conditionally add an option to an existing form field in my custom component. The form is defined in models/forms/myview.xml like: <form> <fieldset> ... <...
user avatar
  • 35
1 vote
1 answer
24 views

Does Showon attribute for list options work with Joomla 4?

I have tried the following exact example in the Joomla documentation: Showon attribute for list options <field name="fielda" type="list" label="FIELDA_LABEL&...
user avatar
  • 197
1 vote
0 answers
14 views

Pre-filter set without any effect in List Fabrik Joomla

I have a List "Document Manager" defined in Fabrik module in Joomla and I want to pre-filter the documents from the list, in order to show only the documents belonging to the currently ...
user avatar
0 votes
0 answers
23 views

An exception occurred while executing 'INSERT INTO

I am trying to sign up in a portal but I am getting the following error; "SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'password' cannot be null How do I solve this problem?
user avatar
0 votes
0 answers
26 views

How to check in my plugin whether the user has bought a product in the j2store or not

I am going to write a plugin for J2store to check if the current user has purchased the product successfully or not. I do not know how to use the J2store API to check if the user has purchased the ...
user avatar
1 vote
1 answer
14 views

How to add Toggle Inline Help button to config

Since J4.1 help text (description) is hidden in the config.xml file for my component. So how do I add the "Toggle Inline Help" button to my config view of my component? I can add this ...
user avatar
0 votes
0 answers
17 views

Error when trying to sendmail An error occured while fetching the JSON data: HTTP 0 status code

On Joomla! 4.1.3 i have set the mail settings the first time i have tried with gmail SMTP and the second time with office365 smtp in both case i'am not able to send mail. When i hit the button "...
user avatar
0 votes
2 answers
48 views

JRequest Method in Joomla 4

JRequest Remove from Joomla 4 then how i must use this method for example $controller->execute( JRequest::getCmd('task', $view) not work i must change it to what ?
user avatar
0 votes
0 answers
25 views

Joomla all versions not worked 404 pages on Litespeed server

i see front page without component, → 404 error not shows but i have its in my template.. error.php: error->getCode(); ?> - title; ?> i found very much articles, whats is maybe litespeed not support ...
user avatar
0 votes
1 answer
37 views

Joomla 4: Error when I use getArticleRoute

In Joomla 4, when I use "RouteHelper::getArticleRoute", I get the next error: "Attempted to load class RouteHelper from namespace Joomla\Component\Content\Site\Helper. I want to use ...
user avatar
  • 1
0 votes
1 answer
24 views

Copying module, using the translation strings from the copied module

I regularly copy a existing module like mod_articles_news and I'd like to do some custom fields and things on it. But when I do this the translation strings don't get translated anymore. I keep using ...
user avatar
  • 325
1 vote
0 answers
30 views

Joomla exception "throw new DebugBarException("Session must be started before using stack data in the debug bar");"

I have updated my website to Joomla 4.13 and using Postman to get data via Joomla 4 webservices. I have turned on the Debug. Now I'm getting a response to the Postman "Session must be started ...
user avatar
1 vote
1 answer
29 views

admin edit.php saves but doesn't retrieve data from "params" database field

I have a config.xml with some parameters for my component. I need to define these parameters for each individual item. So in admin/models/forms/myview.xml, I've written my fields: <fields name=&...
user avatar
1 vote
0 answers
29 views

Getting input param from controller in Joomla 3 vs. 4

When doing this in a frontend controller: class MyControllerCustom extends BaseController { public function __construct($config = array()) { parent::__construct($config); ...
user avatar
  • 331
3 votes
1 answer
85 views

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

In order to sanitize the user input in an article insertion form (title and HTML content), here are the bits that I've included: Use of JInput: $jinput = JFactory::getApplication()->input; get ...
user avatar
3 votes
1 answer
31 views

Is there a functional reason for the naming convention for custom actions?

I'm writing a component for which I'd like to implement some additional restrictions on actions. For example, I want administrators to be able to view user details, but restrict some sensitive ...
user avatar
0 votes
1 answer
35 views

Is it possible to make it so that authors can edit their own published articles creating a new unpublished version of them?

Related: Is it possible to remove the "new article" button from all sections in a Joomla website? Worflows in Joomla 4 are great, but there is a feature I'm not sure they have: letting ...
user avatar
1 vote
1 answer
48 views

Is it possible to remove the "new article" button from all sections in a Joomla website?

A mate and I are doing an internship at university, and the project we are working on is a small Joomla 4.1 website. Our supervisors asked us to override the mechanics of content insertion so that an ...
user avatar
1 vote
1 answer
27 views

Attempt to assign property "team" on bool

I am trying to create a model in Joomla that will display various information pertaining to a certain ID. When I create the function: public function getItem ($id = null) { if ($this->_item ===...
user avatar
  • 35
0 votes
1 answer
8 views

URL doesn't recognize view after slash in custom component

The view in my custom component is no longer recognized in Joomla4 when passed as, for example, mycomponent/view/anotherinfo. In Joomla3, this worked normally. What happened? What do I need to change ...
user avatar
0 votes
1 answer
17 views

Login works sometimes

Here is a video of what I see: https://youtu.be/Qbljr2CZu9k When I visit my login page here: https://www.dev.plantbasedplanet.co.uk/sign-up I cannot login using my credentials. However, when I fail to ...
user avatar
  • 1,819
1 vote
1 answer
59 views

Joomla 3.10.x SQL Injection XSS Vulnerability

I have a website setup on my infrastructure that is running Joomla 3.10.8. During a security audit, certain SQL injection vulnerabilities / XSS have been identified. The setup includes a bunch of ...
user avatar
0 votes
1 answer
62 views

Override a method of the Indexer class (com_finder) using a plugin

I'm trying to override a Joomla method (toggleTables in the Indexer class of the com_finder) using a plugin, but it doesn't work. Where am I going wrong? use Joomla\CMS\Plugin\CMSPlugin; use Joomla\...
user avatar
0 votes
0 answers
43 views

SEO-friendly URLs are being corrupted after update

I have built a directory website and started to add some content. I have created the standard pages (contact us, privacy, etc.) and added businesses. I would like SEO-friendly URLs, so I set: Search ...
user avatar
2 votes
1 answer
77 views

What is the difference between mysqli and mysqlnd php extensions?

I'm considering upgrading from PHP7.4 to PHP8.0 on a Joomla 3.10.8 installation. I was surprised to find that my hosting provider only offers mysqlnd as a PHP extension in PHP 8.0, but not mysqli. ...
user avatar
1 vote
1 answer
34 views

select onChange changed to on-change after saving Joomla 4.1 form

I have been successfully using a homemade article including a form and some javascript for a while now on Joomla 3 which also uses the Regularlabs Sourcerer plugin. Turns out that I recently migrated ...
user avatar
  • 21
2 votes
0 answers
17 views

Joomla MEMORY tables cause an error in creating/editing articles

I am encountering an error with Joomla 4 that has never occurred to me in previous installations. When I try to create/edit an article, a category or to index contents in smart search, I get the ...
user avatar
1 vote
1 answer
48 views

Updated to Joomla 4 and custom PHP scripts no longer run

I have just upgraded from Joomla 3.10.8 to the latest version of Joomla 4 (it is 100% better). However some of my scripts that have run for years now no longer work. The scripts basically import files ...
user avatar
  • 31
0 votes
1 answer
93 views

Update Joomla! 3.10.8 to PHP 7.4 or PHP 8.0

I am using a Joomla! 3.10.8 Stack from Turnkey Linux, it shows a warning, that I have to upgrade to a higher PHP-version. So how I update/upgrade the higher PHP-version? And is it clever to upgrade to ...
user avatar
  • 21
0 votes
2 answers
57 views

How can I sort an unordered list alphabetically by class with JavaScript or PHP?

In a custom J4 site I am using the Shack Locations (previously Focalpoint) core extension that displays a dynamically generated legend of location types on the front end, but it is listing the nine ...
user avatar
  • 161
0 votes
1 answer
18 views

Fetching custom user field values in custom module

I'm having some problems with a custom module that I'm making to display some basic "logged in" user information. I'm working on a template with "SP Page Builder" CMS. My module: {...
user avatar
  • 1
2 votes
2 answers
60 views

Joomla 4 URL processing/routing

I have a Joomla extension running on 3.10 which fails on Joomla 4. The issue is that it generates URLs of the form /index.php?option=COMPONENT&view=VIEW&task=TASK&parameter=PARAM which ...
user avatar
  • 31
0 votes
0 answers
19 views

Language pre-selection based on user group

Administrator area. When user login, I need to preselect categories, articles and modules based on the user's main group. Group EN Group ES Group IT For each group you have specific "language&...
user avatar
  • 133
0 votes
1 answer
69 views

How to return data from 2 tables to one table using a select field

My tables: dzialki +--------------+-------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------+-------------+------+---...
user avatar
0 votes
1 answer
33 views

Displaying API data in Joomla Component

So, this is a two parted question but both pertaining to REST APIs. I am developing a component for Joomla in which I have a few database fields (ie. teamid and platform) that are stored in the local ...
user avatar
  • 35
0 votes
1 answer
52 views

Implement SELECT query with a LEFT JOIN in J4

I want to get data from two tables using a LEFT JOIN. My query works in my current PHP code, I just don't know how to implement it with query building methods in J4. Can anyone help? SQL: SELECT `...
user avatar
1 vote
0 answers
23 views

How do I get the tag parent with Joomla 4?

I'm using Joomla 4 and need to use the new API to get tags which have a specific parent. (I am already able to do it with the legacy API using the $tag->parent_id). It seems that the new API doesn'...
user avatar
  • 131
1 vote
0 answers
25 views

Make a custom user field searchable and sortable in administrator list

I'm trying to figure how to make a custom user field searchable, and sortable, in admin users panel. My custom field stores a client ID. As I can have multiple accounts per ID, i'd like to make this ...
user avatar
  • 11
1 vote
1 answer
50 views

How to remove a file from a template using the installer?

I am developing a template for a small group of sites. In the old J3 days, I had to make an override for some core templates to fix some minor things. With the update to J4 this was no longer ...
user avatar
0 votes
0 answers
25 views

Get IP and Country of user who downloads a file

I've written a component for downloading files from my website and it also writes data to the database about the downloading of files. To understand where the downloading users are from, I want to ...
user avatar
  • 1
1 vote
1 answer
26 views

Cannot login to previously working Joomla site front end and back end

Front end and also Admin does not log in, and it does not error. It just seems to refresh. I'm using Joomla 3.x I have tried overwriting all of the core files via FTP plg_user_joomla is enabled (...
user avatar
  • 1,819
0 votes
0 answers
26 views

How to encrypt and decrypt User data in joomla

I am new to joomla, and working on joomla application which is currently running on production environment. Application contains 1000+ registered users. As per GDPR Policy, I have requirement for ...
user avatar
  • 1
1 vote
0 answers
11 views

Create a public controller method

I have a controller method that outputs some JSON which should be publicly accessible index.php?option=com_mycomponent&task=mycontroller.json&format=json If I set this as a System > URL ...
user avatar
  • 131
0 votes
0 answers
6 views

How can I dynamically remove tab-index when URL off the page?

In J4.1x I have a three-article carousel, on a 24-second repeating cycle, based on an alternative blog menu item. The carousel works purely with CSS and animation delays of 0, 8 and 16 seconds, with ...
user avatar
  • 161
3 votes
2 answers
85 views

New files in Joomla 4 components

In Joomla 4 there are new files in the components, like: services/provider.php Extension/XxxComponent.php Service/HTML/AdministratorService Are there available documentation about how to implement ...
user avatar
  • 197
2 votes
0 answers
27 views

MySQL Server has gone away with mysqli_connect to another LAMP Stack / TURNKEY Linux

I am trying to connect to another VM (192.168.16.27) from 192.168.16.28 to get Data out of the MariaDB Database (joomla). So my Code is: $link = mysqli_connect("192.168.16.27", "user&...
user avatar
  • 21
1 vote
1 answer
35 views

How to use Joomla for insert, delete, display and update data from mysql?

I'm just started to learn using Joomla and one of the things that I need to do is to build a form that can insert data and that data can be displayed to another Joomla page. I got a few comments from ...
user avatar

15 30 50 per page
1
2 3 4 5
143