Try to create module AJAX request for administrator app
Run AJAX on admin module
Looks only for site modules, using include in admin
The class should be refactored to add admin AJAX module support and to use Joomla! loader
I can create PR, but I would need to talk about refining component on site part. As it is all in one file right now and I am not sure which way would be the best:
-load helper class and fire it if no variable is passed for compatibility
-go MVC which may be too much just for module/plugin file load and call
-leave it as it is and just fix backend to call proper path files
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4949.
What I mean by this is to put all the logic from current ajax.php file to helper class and create new instance of it inside main file to do what it does right now. Also to add a variable for admin/site choose which defaults to site. This way we can choose if we want to run administrator module AJAX or if we want default behavior.
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-11-12 17:43:57 |
Closed_By | ⇒ | brianteeman |
It has been over a year since the last comment on this and with no code to evaluate I am closing this. It can always be reopened if in the future someone wants to propose some code
@betweenbrain Something for your to look into.