?
avatar weeblr-dev
weeblr-dev
3 Mar 2015

Steps to reproduce the issue

Try to perform menu item assignment from a template style edit page, using the Menus assignment tab. You get a javascript error when trying to use the toggle buttons: $$ is not a function.
IMPORTANT: this will not happen with Joomla default template (ie Beez), though the problem is indeed in Joomal and not in external templates

Expected result

Working assignment

Actual result

Javascript error

System information (as much as possible)

Joomla 3.4

Additional comments

Looks like mootools is needed in /administrator/components/com_teplates/views/style/tmpl/edit_assignement.php. However, it is not explicitely loaded by com_templates, which leads to the error.
This problem is hidden in Joomla! default templates because both of them have a "media" field in their params, which requires mootools and does load it. However, any template that doesn't have such a field will fail (I'm using Yootheme's yoo_katana for instance). Again, this has nothing to do with the templates themselves.

avatar weeblr-dev weeblr-dev - open - 3 Mar 2015
avatar brianteeman brianteeman - change - 3 Mar 2015
Status New Confirmed
avatar brianteeman
brianteeman - comment - 3 Mar 2015

Confirmed with a really basic template that has no fields at all


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6272.
avatar brianteeman brianteeman - change - 3 Mar 2015
Category Templates (admin) JavaScript Templates (admin)
avatar dgt41
dgt41 - comment - 3 Mar 2015

@brianteeman can you close this? The respected pr with the fix was already merged for 3.4.1

avatar zero-24 zero-24 - change - 3 Mar 2015
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2015-03-03 18:30:43
Closed_By zero-24
avatar joomla-cms-bot joomla-cms-bot - close - 3 Mar 2015
avatar zero-24 zero-24 - close - 3 Mar 2015
avatar zero-24
zero-24 - comment - 3 Mar 2015

Closing thanks @dgt41 for the fix.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6272.
avatar joomla-cms-bot
joomla-cms-bot - comment - 3 Mar 2015

Set to "closed" on behalf of @zero-24 by The JTracker Application at issues.joomla.org/joomla-cms/6272

avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment