I tried to modify mod_articles_latest by adding support for ajax. Because of unresolved issue in #32136 I added dummy helper.php to include ArticlesLatestHelper.php and added getAjax function into ArticlesLatestHelper.php.
But everytime I tried to access this url index.php?option=com_ajax&module=articles_latest&method=get&format=json
it always returned {"success":false,"message":"Method getAjax does not exist.","messages":null,"data":null}
I think this is still related to namespaced module's issue because when I tried to comment namespace Joomla\Module\ArticlesLatest\Site\Helper;
and rename Helper Class name from ArticlesLatestHelper
to ModArticlesLatestHelper
it returned {"success":true,"message":null,"messages":null,"data":"yes it works"}
Joomla 4 beta 7
Priority | Critical | ⇒ | Medium |
Labels |
Added:
Information Required
|
yes
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-03-14 09:44:32 |
Closed_By | ⇒ | alikon |
Sorry mistakenly marked the issue as critical, should be Urgent or Medium
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32455.