Questions tagged [com-ajax]
The com-ajax tag has no usage guidance.
10
questions
2
votes
1
answer
278
views
Joomla login module Ajax Request
Is it possible to login the user in frontend through Ajax request and without all this redirecting? I am using the joomla login module and trying to extend it but so far no results.
I have this js
<...
1
vote
2
answers
131
views
Joomla plugin ajax request / class extend
I have created a "custom" authentication plugin and inside of it there is a function (onAjaxMyfunction) that is called from a module through com_ajax.
The call "url" looks like ...
1
vote
1
answer
289
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
2k
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
35
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 ...
1
vote
0
answers
72
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
94
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
174
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
79
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
177
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 ...