Questions tagged [com-ajax]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
347 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 <...
anthi_p's user avatar
  • 67
1 vote
2 answers
155 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 ...
anthi_p's user avatar
  • 67
1 vote
1 answer
341 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 ...
Marco's user avatar
  • 629
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 ...
webchun's user avatar
  • 2,418
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 ...
Geoff_S's user avatar
  • 125
1 vote
0 answers
74 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 ...
Alaksandar Jesus Gene's user avatar
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 (...
user1616338's user avatar
2 votes
3 answers
183 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 ...
Leoalv's user avatar
  • 167
1 vote
1 answer
81 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....
thednp's user avatar
  • 415
2 votes
1 answer
195 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 ...
webchun's user avatar
  • 2,418