All Questions

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

API Routes with more than one parameter in Joomla 4/5

I have an API route that should accept more than one parameter, but it seems that only one parameter is being recognised, like this: new Route( ['POST'], 'v1/myapiendpoint/:nr/:id', 'mycomponent....
cappu's user avatar
  • 137
1 vote
0 answers
20 views

Why is my rewriterule not working in Joomla 4

I am using Joomla 4 I have a requirement to rewrite certain URL's to a specific article (article with ID 32). This worked OK with Joomla 3 but now I am getting unexplained error 404 using the same ...
user1104799's user avatar
1 vote
1 answer
21 views

Can't use WebAsset useStyle in index.php in Joomla! 5

I am working on a Joomla! 5 compatible theme and want to use the WebAssetManager function in combination with joomla.asset.json to register and include theme assets. I am bumping into an issue where ...
rhuijben's user avatar
0 votes
1 answer
20 views

Duplicate custom fields "media" to make "image" plugin

I am using the custom fields for the articles. I have downloaded the "media" custom field plugin and renamed this to "image" (along with the relevant files) I have installed the ...
RustyJoomla's user avatar
  • 2,076
0 votes
0 answers
20 views

Grant access to Joomla API from just one site

I finally got my Joomla 4/5 API component and plugin up and running. The API endpoints are called from an external website (Netlify) using the API tokens of a super user. - I experimented a bit with ...
cappu's user avatar
  • 137
0 votes
0 answers
28 views

Use Loadmodule plugin in custom component

I want to embed existing modules into the content of my custom component. I thought I could simply use {loadmoduleid 123} within the text of my component record and on display of this record, the ...
Glenn Arkell's user avatar
0 votes
1 answer
24 views

Joomla 4 Router parse function

I'm converting a custom component from Joomla 3, where the component was using the legacy router, to Joomla 4 router. I have the router service set up and working on Joomla 4.4.0. I first tried ...
James Wadsworth's user avatar
0 votes
1 answer
30 views

Custom Component Error on Save / Edit: Save failed with the following error: Prepared statement needs to be re-prepared

I have here a really curious issue in Joomla 5.0.0 on a custom component I'm building right now. In one of the views i cannot save edits on existing elements (create new elements is not an issue at ...
Marco's user avatar
  • 583
0 votes
0 answers
18 views

PHP type error on creating admin menu item

When I try to create an admin menu item in Joomla 5 (I imagine the same will apply to Joomla 4), I get this error: An error has occurred. 0 strlen(): Argument #1 ($string) must be of type string, ...
Bruce Button's user avatar
1 vote
1 answer
43 views

CSRF Token Mismatch Issue in Joomla 4 Custom Form Submission

I've implemented a custom form directly within my Joomla article template's code. The form is processed by a handler located in my template. Everything worked fine until I decided to add a CSRF token ...
Deny Alines's user avatar
0 votes
1 answer
14 views

How do I setup Joomla to use Postfix on a local machine?

As title states, I need to setup Joomla on my local machine for testing, and want to use Postfix to debug mails that are sent. Any links or tips are welcome.
Olle Härstedt's user avatar
1 vote
2 answers
28 views

Does Jinput has a limit of max file size that supersedes PHP directives?

Here's one that is driving me crazy: PHP memory_limit: 512M PHP post_max_size: 256M PHP upload_max_filesize: 128M $app = Factory::getApplication(); dd($app->getInput()->files->get('jform')); ...
Alexandre Paulo's user avatar
0 votes
0 answers
12 views

VirtueMart PayPal Checkout Advanced Credit Card form is incomplete

Joomla ‎4.3.4 VM 4.2.2 VM PayPal Checkout 4.2.2 VM PayPal 4.2.2 We have been using the VM PayPal plugin for a while now and are in the process of changing to PayPal Checkout so that we get to use the ...
Andres Cruz's user avatar
0 votes
2 answers
36 views

How to conditionally display custom fields in template overrides

I am using the following code to pull in some custom fields into an override of com_content > category > blog_item.php: $video = $this->item->jcfields[4]->value; $media = $this->item-...
Mike Hermary's user avatar
1 vote
1 answer
39 views

Which line should PHP files in Joomla start with?

I know, that the first line in PHP Files is because of security reasons. I read it here: https://docs.joomla.org/Why_do_most_of_the_Joomla!_PHP_files_start_with_defined(%27_JEXEC%27)%3F But in the ...
agi's user avatar
  • 303
0 votes
1 answer
46 views

Autoload external library in Joomla 5 component

In my Joomla 4 component I successfully used the Mpdf library. Since migrating to Joomla 5, the library does not initialise properly. This is the setup that worked in Joomla 4: class MyModel extends ...
cappu's user avatar
  • 137
0 votes
0 answers
9 views

Cypress testing command doAdministratorLogin fails

I'm trying to run the original Joomla Cypress tests here: https://github.com/joomla/joomla-cms/tree/5.0-dev/tests/System After Joomla gets successfully installed I always get this message when the ...
maidan's user avatar
  • 383
0 votes
0 answers
29 views

Media Resize plugin not working on article images

I have a Joomla 4 site and have enabled the 'Media Action - Resize' plugin, I have set the max width and max height in the plugin params to be 500 When I upload an image via Content > Media, it ...
RustyJoomla's user avatar
  • 2,076
0 votes
0 answers
14 views

Cypress Joomla installation test fails

So locally I'm working fine with cypress tests for my Joomla Component. When I try to test the Joomla installation in my repository on GitHub something is wrong. My cypress config is similar to this ...
maidan's user avatar
  • 383
0 votes
1 answer
29 views

Visual Hint on ordering by custom column in backend

When creating a backend list view there are options to sort items by clicking on the column title Default Ordering Column <th scope="col" style=".." class="text-center d-...
Marco's user avatar
  • 583
0 votes
0 answers
16 views

Can't install Antispam plugin by CleanTalk in Joomla3.8

I'm trying to install . Once the install button is clicked, I keep waiting and nothing happens. Upon checking the DevTools Console, there are errors stating: Uncaught Reference Error: jedpps-...
pal's user avatar
  • 1
1 vote
1 answer
34 views

Export as Excel with PHPSpreadsheet as download how to keep Joomla Messages?

In my custom Joomla 5 component I've added PHPSpreadsheet via composer. In the Export View (Backend) i have a small adminform for setting up the export and a submit button that toggles the download by ...
Marco's user avatar
  • 583
1 vote
0 answers
36 views

?format=html is appended to the URL on a multilingual website

Problem with adding ?format=html has been going on since joomla 4. The problem occurs when there are language connections between materials, but the problem could be solved using this principle:.../...
Sergei's user avatar
  • 11
0 votes
0 answers
23 views

Multiple media elements in manifest

I have a component which also contains a module as part of the component. In the component manifest I have, within the media element, a file joomla.asset.json which contains my preset styles etc. In ...
Glenn Arkell's user avatar
0 votes
0 answers
21 views

How to handle duplicate items coming from an external JSON API and being imported as article content

I have adapted working code from Joomla 3 and the CLI to Joomla 4/5 and the API. The core functionality using the API system is working, but I am struggling to find a replacement for checking for ...
Mike Hermary's user avatar
0 votes
0 answers
22 views

Disable single option in list-fancy-select

When using a custom select list field i can disable single options in it by setting an attribute. Here a simple version: <field name="somefield" type="mylist" label="...
maidan's user avatar
  • 383
0 votes
0 answers
22 views

The PHP temporary folder is not writeable

On Joomla 5 (same problem on Joomla 4) I am getting the warning "The PHP temporary folder is not writeable". In more detail: This folder is not writeable by the Joomla! instance, which may ...
Bruce Button's user avatar
0 votes
0 answers
24 views

J5. Activate Tab key and Indent in Codemirror in custom component

Codemirror v6 looks like not so easy to configure as previous versions. In my custom component I get codemirror editor with this code who use for options sintax like v5: $editor = Editor::getInstance('...
Peli's user avatar
  • 103
1 vote
1 answer
110 views

File Upload from WebApp to Joomla API

I have successfully programmed a Joomla 4/5 API to generate an API web service. There is a kind of weird bug uploading files though, because it basically works on localhost - but on the live system I ...
cappu's user avatar
  • 137
0 votes
0 answers
22 views

Field 'sid' doesn't have a default value

Only new to Joomla- I need to add a new link to this list of links. As you can see in the picture it's only a link with a description but when trying to save it appears with "Save failed with the ...
Todd's user avatar
  • 1
0 votes
0 answers
31 views

How to configure PHP-FPM to run Joomla without setting $live_site in configuration.php

I've spent a good few hours ploughing through code and setting up servers to test exactly what is goes on to cause Joomla to fail in PHP-FPM unless $live_site is correctly set. The problem turns out ...
mbrampton's user avatar
  • 314
0 votes
0 answers
10 views

Global robots tag is not inserted, only when you do it on menu basis or article basis

When I set the index,follow in the global configuration and set everything regarding this robots tag to use global it will not actually render the robots tag. It just does not render it at all. Only ...
Kuubs's user avatar
  • 345
0 votes
2 answers
68 views

Fix deprecated JRequest in Joomla 4

The following code use to work for generating variables for open graph data, but when I updated to Joomla 4 I now get an error because JRequest is deprecated. $option = JRequest::getCmd('option'); $...
limitedoptimist's user avatar
0 votes
2 answers
79 views

J5. Access editor instances in JavaScript

In JavaScript and J4, to get an editor object from the collection of objects with all editor instances running I use: let editor = Joomla.editors.instances[myEditorName]; I can see Joomla object in ...
Peli's user avatar
  • 103
0 votes
0 answers
21 views

Custom task on Task Scheduler

I am trying to create a custom Joomla 4 task scheduler by creating plugin, which runs the custom task code. I created the test plugin name plg_abc_def, but I don’t know how to link it with the Task ...
TMisiunas's user avatar
0 votes
1 answer
25 views

How to use component's joomla.asset.json file in module?

I have a module in which I would like to add a stylesheet and a script. I am creating a lot of modules for this project, and I would like to use a centralized json file for my scripts and styles, ...
mavrosxristoforos's user avatar
0 votes
2 answers
46 views

Get the form fields as defined in the form xml file

I have a set of fields that have been defined in an xml file and then I load the fields with $form->loadFile('myFormName'). Before displaying the fields I would like to manipulate the fields based ...
James Wadsworth's user avatar
0 votes
1 answer
43 views

How do I override Joomlas default field template, but just in my component?

Is it possible to override the default field template just in my component? How would I go about doing it? The template I specifically want to override is "joomla.form.renderlabel", which is ...
Obscerno's user avatar
  • 191
1 vote
0 answers
22 views

Load third parties libraries in his extensions with composer already used in others extensions

In my extension i load via composer the library ScssPhp\ScssPhp but in some sites there are others extensions installed which loads the same library ScssPhp\ScssPhp. It's the ScssPhp\ScssPhp from my ...
user3533235's user avatar
0 votes
0 answers
21 views

Try to make ACY Mailing newsletter archive view look more like a blog

I am using ACY to create and send newsletters - I am using their "menu newsletter archive view" ([https://www.beeswaxcandleshop.com/home/newsletters/archive/listing.html]) - The page looks ...
Honeyflow's user avatar
2 votes
1 answer
63 views

Create own Custom Field for Joomla 5

I am looking at how to create my own custom field using a self implemented form field in Joomla 5. I started my extension in the same way as the core extensions (https://github.com/joomla/joomla-cms/...
agi's user avatar
  • 303
0 votes
1 answer
24 views

Styling Joomla custom fields

0 i have created some custom fields in Joomla and created an over-ride: /components/com_fields/layouts/field/render.php to /templates/YOUR_TEMPLATE/html/layouts/com_fields/field/MY_OVERRIDE.ph ...
user408's user avatar
  • 33
0 votes
1 answer
14 views

Custom Rule (checked) for ClientSide Validation

I have a Form that includes two radio inputs both based on this field structure: <field name="privacy_policy" type="radio" layout="joomla.form.field.radio.switcher"...
Marco's user avatar
  • 583
0 votes
1 answer
60 views

joomla 3.x to 4.x migration

I'm moving from 3.x to 4.x. I wrote a component in 3.x which works fine but in 4.x it throws An error has occurred. 500 behavior::tabstate not found. I think it is because bootstrap has been removed??...
user1616338's user avatar
0 votes
0 answers
17 views

Joomla 4: plugin added field in com_content editing form won't save

I'm try to create a system plugin with Joomla 4. Its purpose is adding a new field (pippo) in the article editing form and save its value in the attribs column of the content table. I used the "...
luX0r's user avatar
  • 1
1 vote
1 answer
32 views

500 error on both front- and back-end

A working site has spontaneously started giving nicely-formatted 500 errors on both / and /administrator. I am running Joomla 4.2.8 with php 8.2 on Apache 2.4.56 with MariaDB Ver 15.1 Distrib 10.5.19. ...
seismofish's user avatar
0 votes
1 answer
45 views

Joomla 4 - Cassiopeia index.php override

I have created a child template from the main cassiopeia template and I can see it there. I then created an index.php in the root of the child template folder. Making changes to this file doesn't ...
j00m's user avatar
  • 181
0 votes
1 answer
81 views

Joomla 4 custom template not loading web assets

I am in the process of writing a custom theme for a client and am having issues with the Web Asset Manager. I have been following examples of other templates that are built for Joomla 4+, but I must ...
Mike Hermary's user avatar
0 votes
3 answers
45 views

Updater XML script on server targetplatform for joomla 4.3/4.4/5.0

In my XML script of my extension for the Joomla! updater, i need to allow the updates when the extension is installed on : Joomla! 4.3.x, 4.4.x and 5.0.x. I have set in my XML file the targetplatform ...
user3533235's user avatar
0 votes
0 answers
69 views

Error when upgrading from 4.3.4 5o 4.4 Error message

website working great before being asked to update Joomla to 4.4. received this error message: An error has occurred. 0 Return value of Joomla\CMS\Mail\MailerFactory::createMailer() must be an ...
aheng55's user avatar

15 30 50 per page
1
2 3 4 5
154