All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Change the form field name from one view to a related one

I have two related views (item and booking) in my custom component. A view for the items, and another view for booking them. So, if you browse to an item view, you will see there a "booking ...
user avatar
  • 227
1 vote
2 answers
52 views

Is it possible to exclude a plugin from Progressive and Conservative cache?

I have a plugin that works fine in that it reads a value from the params of the plugin and then based on the current date/time, replaces it with a new value in the params, however with Progressive or ...
user avatar
  • 2,275
0 votes
1 answer
22 views

I am new to Joomla and I'm trying to figure out if I need to install the software or if I can just log in online to make changes

I recently started a summer job and it requires some website management. The company that hired me already has their website through Joomla! and I am just trying to figure out if I need to download ...
user avatar
2 votes
0 answers
36 views

Unit tests for Joomla 3 plugin

I have written some moderately complicated software for my Joomla site and want to improve on my code base in coming releases. To this end I am writing some unit tests however it's hard to run the ...
user avatar
  • 249
3 votes
3 answers
150 views

Joomla 4 API Question

How to convert a custom Joomla 3 to Joomla 4, and use the Joomla 4 web services API? I have an extension I wrote for J3 and with a bit of tweaking it works just fine in J4. I want to add web services ...
user avatar
  • 1,737
1 vote
1 answer
35 views

Unlock and Unistalling the Sample Data - Blog plugin in Joomla 4

I want to Uninstall the Sample Data - Blog plugin, but the plugin can't be remove when it's stil locked. How to unlock the Sample Data - Blog plugin in Joomla 4?
user avatar
1 vote
1 answer
34 views

Joomla 4 API Issues using Joomshaper Melvin Template

It may be too specific a question, but is anyone having any issues utilizing Joomla 4 Templates and the API with extensions from Joomshaper? I have 1 site that seems to work fine, but another that is ...
user avatar
  • 1,737
1 vote
1 answer
65 views

Module class suffix not allowed in Joomla 4

I'm using some UIkit classes in module suffixes when working with modules. My template added those classes via chrome in Joomla 3. In Joomla 4 I cannot longer add a Module suffix class like "uk-...
user avatar
  • 101
0 votes
1 answer
76 views

JRequest Error to Joomla 4

I use this code on my component in Joomla 3: function add() { if(JRequest::checkToken( 'get' )) { JRequest::checkToken( 'get' ) or die( 'Invalid Token' ); } else { JRequest::...
user avatar
0 votes
1 answer
33 views

Tooltip On Top of Module

I updated joomla to J4.1.4 and now i am getting module information top right of all the modules.
user avatar
0 votes
1 answer
42 views

Why aren't the credentials being binded in the user registration email and how can we fix it in J4?

As per the title, when an admin creates a new account with a certain email address, the new user correctly receives the email that should contain the credentials, but the values are not binded, i.e. ...
user avatar
0 votes
1 answer
49 views

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

I have made a custom login plugin for Joomla 3 and now for Joomla 4. However, in Joomla 4, the login works as it should, but it generates a stack dump in the error log: [Mon Jun 06 10:13:58.034860 ...
user avatar
0 votes
0 answers
27 views

How to override Joomla 4 Editor - TinyMCE Templates into Joomla template

I did not find a way to to override Joomla 4 Editor - TinyMCE Templates into Joomla template, have anyone know how?
user avatar
  • 73
0 votes
1 answer
86 views

How to catch Joomla\CMS\Router\Exception\RouteNotFoundException in Joomla 4.1?

As per the title, how can we catch a RouteNotFoundException? For time constraints, instead of creating a custom component we opted for some hand-waving, and decided to display custom content at non-...
user avatar
2 votes
1 answer
58 views

What is the correct way to insert the first category called "Uncategorized" in the categories table in the SQL file during installation of component?

I also need to know if the insert of the table #__content_types is correct and if there is something missing in the SQL installation code. SET time_zone = "+00:00"; CREATE TABLE IF NOT ...
user avatar
1 vote
1 answer
32 views

Customizing filters layout from joomla.searchtools.default for list view of custom component

In Joomla 4, there is the layout joomla.searchtools.default for the filters in a list view that you can see everywhere in the BackEnd. In a list view of my custom component (FrontEnd), I managed to ...
user avatar
  • 227
2 votes
1 answer
33 views

Scheduled task only running when logged in0

I built a Joomla plugin for a task and I scheduled that task to run every 5 minutes. While monitoring the task it seems it is only running when I am logged into the administrator back end if the site....
user avatar
  • 69
0 votes
1 answer
40 views

How do I create parameters in a Joomla module depending on another parameter / number?

I'm trying to create a Joomla module for typical CSS cards, but I want to make the number of cards dependent on a number input from the user. For example the user wants 5 cards so in the parameter ...
user avatar
1 vote
1 answer
45 views

How to validate a user name in Joomla registration forms so that it is not used for spamming?

The problem I have had a problem with a spammer registering fake users to send spam around. The method used is to set the user name to something like "Yesterday I published this awesome video ...
user avatar
1 vote
1 answer
46 views

What is the best way to have pages displaying articles from our custom content table in Joomla 4.1?

Related: Is it possible to make it so that authors can edit their own published articles creating a new unpublished version of them? The answer to that question is "In Joomla 4 it is, but authors ...
user avatar
0 votes
1 answer
49 views

Update system from my extension don't work

I'm not able to make my component's update system work on Joomla 4. I don't know what's missing. My manifest file: https://tabaoca.org/tabapapo-updates/updates.xml Download component: https://tabaoca....
user avatar
0 votes
2 answers
63 views

Join tables where one column value has leading zeros and the other doesn't

I am trying to LEFT JOIN a table, but the two columns used for relating rows are not identically formatted. My problem is the value in a.vendor, it has leading zeros on it, and c.No doesn't have ...
user avatar
1 vote
1 answer
32 views

How can I block articles referenced by article id?

I have discovered that someone is systematically searching my Joomla 3.10.9 site using article id, e.g. https://domain_name/10 This obviously only works for articles with Public access, but means that ...
user avatar
1 vote
0 answers
29 views

Why does Joomla (or Akeeba) recommend that Output buffering is disabled?

When I use Akeeba Kickstart it recommends that output buffering is disabled. Why does it recommend this? All my research shows that it can speed up sites. It seems I'm not the only one asking https:/...
user avatar
  • 1,839
0 votes
1 answer
46 views

Pulling api data and saving to mySQL

So, I am trying to pull data from EA Sports API for games like NHL or FIFA. The issues with EAs API is it only shows the last 5 games played. I am trying to have a script run every minute and save ...
user avatar
  • 69
2 votes
1 answer
25 views

Uninstalling packages with shared component

I have three related components - call them comA comB and comC comA and comB both use comC (comC manages a table of people details. Individuals may be used by comA or comB or both). Some sites want ...
user avatar
  • 73
0 votes
1 answer
18 views

Joomla 3.10.9 - edit User Account Details displays my login details

joomla back end editing user account details reverts to my user info. I see the users info for a second then it switches to my user account details (superadmin). The assigned user groups is correct. ...
user avatar
  • 105
0 votes
1 answer
21 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
  • 101
0 votes
0 answers
43 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
23 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
1 answer
55 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
37 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
  • 227
1 vote
0 answers
36 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
62 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
30 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
32 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
31 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
202 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
30 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
103 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
25 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
36 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
44 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
  • 341
3 votes
1 answer
122 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
32 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
44 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
54 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
76 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
  • 69
0 votes
1 answer
11 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

15 30 50 per page