Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 2299

Extension Writers Discussion • How does AJAX work in extensions?

$
0
0
I'm trying to implement an AJAX request in an extension and whilst I could fudge a method my own way, there's clearly a phpBB API of sorts to allow this in core natively but I can't find any documentation about it anywhere.

Are there any instructions of how to implement this? I've seen that you can use data-ajax on elements and specify a callback but I'm kind of at a loss as to how I link that to my controller to make it do something.

If there's anything I can read (ie. documentation or an extension's code) then please let me know! 🥺

Thanks

Statistics: Posted by danieltj — Mon May 12, 2025 9:19 pm



Viewing all articles
Browse latest Browse all 2299

Trending Articles