I am developing a joomla component. It is executing but giving
ReferenceError: Joomla is not defined
I check that default java scripts like motool.js core.js
are not loading.
How can I load them automatically and not manually like <script src=""></script>
?.
JHTML::_('behavior.mootools');
should load mootools.
If core is not loaded then run
JHtml::_('script', 'system/core.js', false, true);