when you are talking about the default joomla category blog checkout how to do a template override - there you can enter your custom position.
a good point to start: https://docs.joomla.org/J3.x:Layout_Overrides_in_Joomla
remember : Never edit core files directly
Thanks to those who cooperated on this issue.
I had solved this by calling the public url (full url) of the module from the administrator, without letting JPATH_BASE fill in the location. For which modify the url to call by:
You must add ...
Your AJAX URL is relative and ends up pointing to administrator/index.php. You can change that by prepending root path. First, load the required dependencies:
Then change the URL:
url: Joomla.getOptions("system.paths").root + "/index.php?option=com_ajax&module=my_module&method=deleteImages&format=json&...
Am I understanding correctly that your module is on the front end, but you want to call a helper function from the back end?
If yes, I wonder if JPATH_ADMINISTRATOR might do the trick for you?