Hi. I get Error: 500 JHtmlBehavior::mootools not found error when I try to use this action.
Have you any solution to this?
Thanks,
Jesus.
Have you any solution to this?
Thanks,
Jesus.
Hi, Bob.
In line 19 of administrator/components/com_chronoforms/form_actions/ajax_enabled_dropdown_p/cfaction_ajax_enabled_dropdown_p.php
there is:
I simply comment this line, and works. My template does not load Mootools (cames from YooTheme).
Thanks,
In line 19 of administrator/components/com_chronoforms/form_actions/ajax_enabled_dropdown_p/cfaction_ajax_enabled_dropdown_p.php
there is:
...
function load( $form = null, $actiondata = null )
{
$params = new JParameter( $actiondata->params );
$document =& JFactory::getDocument();
//JHTML::_( 'behavior.mootools' ); //LINE 19: COMMENT THIS LINE
$mainframe =& JFactory::getApplication();
$uri =& JFactory::getURI();
I simply comment this line, and works. My template does not load Mootools (cames from YooTheme).
Thanks,
Hi neuronageek,
Ah OK.
The code changed in Joomla! 3 . . . :-(
You must now replace that with
This code is generally not needed because the library is usually loaded by Joomla! or by a template - or has been up to Joomla! 2.5. It is sometimes useful to make sure that the MooTools library is loaded early enough to be used by a a code snippet (Joomla! 2.5 had a habit of loading it late in the header).
Bob
Ah OK.
The code changed in Joomla! 3 . . . :-(
You must now replace that with
JHTML::_('behavior.framework');
to load just the MooTools Core library, orJHTML::_('behavior.framework', true);
to load both the MooTools Core and MooTools More libraries.This code is generally not needed because the library is usually loaded by Joomla! or by a template - or has been up to Joomla! 2.5. It is sometimes useful to make sure that the MooTools library is loaded early enough to be used by a a code snippet (Joomla! 2.5 had a habit of loading it late in the header).
Bob
This topic is locked and no more replies can be posted.