Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

Javascript errot in frontend edit

09-04-2014, 07:02 AM
# 1 (permalink)
When editing an article we get "Uncaught ReferenceError: jQuery is not defined yjsgshortcodes.js:101"
I think because this js is loaded before the jquery one (check image)
Attached Images
File Type: jpg jquery.jpg (12.3 KB, 3 views)
09-04-2014, 07:24 AM
# 2 (permalink)
the assumption is correct but it should not do that
do you have any additional admin plugins
and please advise where you are editing , front back ?
look where mine is located
Screenshot by Lightshot

joomla admin
09-04-2014, 07:26 AM
# 3 (permalink)
I see the bug , is frontend ,
on it , will give you a possible fix but cant release it now
u know the drill 2.0.1
09-04-2014, 07:42 AM
# 4 (permalink)
ok. do you have an ETA for 2.0.1?

also check the calendar popup style in frontend edit ...
09-04-2014, 07:43 AM
# 5 (permalink)
2 weeks max maybe even sooner,
I am collecting the issues around the forum and waiting for new template to be released
09-04-2014, 08:08 AM
# 7 (permalink)
quick fix

add this

PHP Code:

$defaultJsFiles[]     = 'src/yjsgshortcodes.js'
after line 758

PHP Code:

$defaultJsFiles[]     = 'templates/' $document->template

in plugins/system/yjsg/yjsg.php

so it looks like this

PHP Code:

$defaultJsFiles[]     = 'templates/' $document->template;
$defaultJsFiles[]     = 'src/yjsgshortcodes.js'
Screenshot by Lightshot
Thread Tools
Display Modes

Powered by vBulletin®
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

Members Login