New answers tagged

0

I solved my problem echo JHtml::_('form.csrf'); jimport( 'joomla.html.editor' ); $config = JFactory::getConfig(); $global_editor = $config->get( 'editor' ); $user_editor = JFactory::getUser()->getParam("editor"); if($user_editor && $user_editor !== 'JEditor') { $selected_editor = $...


0

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


1

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: url: "'.Uri::root().'index.php?option=com_ajax&module=my_module&method=deleteImages&format=json", You must add ...


2

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: JHtml::_('behavior.core'); Then change the URL: url: Joomla.getOptions("system.paths").root + "/index.php?option=com_ajax&module=my_module&method=deleteImages&format=json&...


0

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? https://docs.joomla.org/Constants


Top 50 recent answers are included