Questions tagged [com-ajax]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
2answers
209 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
1answer
26 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
0answers
29 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
0answers
43 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
1answer
40 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
3answers
76 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
1answer
63 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
1answer
61 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 ...