Questions tagged [com-ajax]
The com-ajax tag has no usage guidance.
9
questions
1
vote
1
answer
27
views
com_ajax to plugin / or plugin field
I have this customfield plugin where the user can select a folder in a popup, the call should be ajax based. The form-"field" including AJAX call etc. works already in some of my modules ...
4
votes
2
answers
346
views
Adding ajax call in a module for Joomla 4
I'm trying to add an ajax call to Article Latest module.
I added the code below to /modules/mod_articles_latest/src/Helper/ArticlesLatestHelper.php
public static function getAjax()
{
$data ...
1
vote
1
answer
31
views
com_ajax call is hitting function but not returning result from other function call
I'm using an ajax call that hits the immediate function fine, and then returns a dummy value via dump(). However, when I change it to call another function and get my data rather than using the dummy ...
0
votes
0
answers
42
views
com_ajax resulting in immediate 500 error in Joomla module
I'm currently using the com_ajax component in order to make an internal ajax call/response in my custom module, but upon the ajax call I immediately get a 500 error.
This is the code in my default.php ...
1
vote
0
answers
50
views
Simple Ajax Request Without Component/Module/Plugin
I am trying to create a simple login popup. From the shared image of UI, you can see, a login button(top right) which opens a popup for login form.
https://prnt.sc/1mc5ppq
Now, I want to pass the ...
2
votes
1
answer
55
views
using Ajax to save contents of html how to make safe
I am using com_Ajax to save the contents of my editor (front end of the website in a module)
Ajax and passing the content of the editor all works fine. I am concerned about security.
To get the data (...
2
votes
3
answers
88
views
Joomla Ajax in Module from Administrator not work
I have a module that creates thumbnails from the main image and over time the hosting fills with images, for that reason I want to add a maintenance button that deletes the previous images. It is from ...
1
vote
1
answer
69
views
Use com_ajax with a custom field
I've created a custom form field for templates, which is meant to handle SCSS compile. In short, I've opened an issue on Github where I had a little chat with one of the Joomla devs about wasm compile....
2
votes
1
answer
106
views
Change the helper.php path for com_ajax
I'm trying to use Joomla's com_ajax for my module by using this url : index.php?option=com_ajax&module=MODNAME&method=MODMETHOD&format=json
However my helper.php file is located under ...