Marco 33
|
IE8, 9 jQueriy is undefined on line 21 Joomla 1.5 Template
|
|
Trace7r
|
Same error here, also in Chrome and FireFox:
<script type="text/javascript">if (jQuery) document._artxJQueryBackup = jQuery;</script>
grtz Trace7r
|
|
Alex
|
Try
<script type="text/javascript">if (''undefined' != typeof Query) document._artxJQueryBackup = jQuery;</script>
instead.
Regards,
Alex
|
|
Alex
|
Right code:
<script type="text/javascript">if ('undefined' != typeof Query) document._artxJQueryBackup = jQuery;</script>
|
|
load88
|
Instead where How do thankyou
|
|
Trace7r
|
Alex,
I do get your point but I guess this is a bug in Artisteer 3.0
Grtz, Trace7r
|
|
Trace7r
|
Alex did change the code but still no succes...
Grtz Trace7r
|
|
Trace7r
|
Alex,
Sorry, code is working, there are 2 lines:
script type="text/javascript">if (jQuery) document._artxJQueryBackup = jQuery;</script>
and:
<script type="text/javascript">if (document._artxJQueryBackup) jQuery = document._artxJQueryBackup;</script>
I changed the wrong one, didn't read it all so sorry, my mistake.
Greetings and thanks for the solution...
Trace7r
|
|
Chris
|
I'm getting these syntax errors in jquery.js and jquery not defined errors too, in forefox (OSX) + IE7. Using 2.6.0.35493 for Mac. Here's whats in the index.php:
<script type="text/javascript">if ('undefined' != typeof jQuery) document._artxJQueryBackup = jQuery;</script>
<script type="text/javascript" src="<?php echo $templateUrl; ?>/jquery.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript" src="<?php echo $templateUrl; ?>/script.js"></script>
<script type="text/javascript">if (document._artxJQueryBackup) jQuery = document._artxJQueryBackup;</script>
|
|
Alex
|
This issue is fixed in RC2: http://www.artisteer.com/?p=news
Regards,
Alex
|
|
chryssot
|
I'm getting the following error msg using Artisteer 3.0 Beta 2 for Windows (3.0.0.37922)
script type="text/javascript">if (document._artxJQueryBackup) jQuery = document._artxJQueryBackup;
|
|
BreTweb
|
Hi
I'm worlking with the last 3.0.38499 and I have the same problem with jquery !
<script type="text/javascript">if ('undefined' != typeof jQuery) document._artxJQueryBackup = jQuery;</script>
<script type="text/javascript" src="/templates/hbyachting/jquery.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript" src="/templates/hbyachting/script.js"></script>
<script type="text/javascript">if (document._artxJQueryBackup) jQuery = document._artxJQueryBackup;</script>
does someone know if this is resolve ?
|
|
WebNest
|
Hi,
I am working on a client's project and have developed a template in Artisteer latest version and on my demo server everything is working fine. After uploading the website on client's server I started getting the same error and the interesting thing which I have noticed is as under:
I logged in to client's admin panel
Went to templates menu under extensions
Clicked on templates at the left side menu
Now I clicked on the template name to change the code from admin panel of the website
Now I went in to index.php file to do some modifications in the template from admin panel
After doing the modifications I have saved the file and noticed that the following tags are automatically changed from
<link rel="stylesheet" href="<?php echo $document->baseurl; ?>/templates/system/css/system.css" />
<link rel="stylesheet" href="<?php echo $document->baseurl; ?>/templates/system/css/general.css" />
to
<l-ink rel="stylesheet" href="<?php echo $document->baseurl; ?>/templates/system/css/system.css" />
<l-ink rel="stylesheet" href="<?php echo $document->baseurl; ?>/templates/system/css/general.css" />
notice the "l-ink" and also same happened with <script> to <s-cript>
I went in to cPanel and modified the whole code from my local machine template index.php to client's server index.php file in the correct template folder and saved the file. After that I refreshed the page and everything works perfectly. I am not sure if this is Joomla bug or Artisteer but to me it looks like a bug in Joomla but not sure about it.
I recommend that do not change the template file in Joomla Administrator but instead use FTP or cPanel file editor in order to avoid this type of error.
Hopefully it will help someone to fix the issue.
Regards,
WebNest
www.webnest.com.au
|
|