- Posts: 11
COMMUNITY FORUM
sig plugin shows status bar warnings
- juanp
-
Topic Author
- Offline
- New Member
Less
More
14 years 3 months ago #37845
by juanp
sig plugin shows status bar warnings was created by juanp
this plugin is very good, it works fine but I have a problem:
it shows this warning:
Mensaje: Syntax error
Línea: 1
Carácter: 1
Código: 0
URI: www.mysite.com/://
and when I am logged it also shows these warnings:
Mensaje: '$tmp' is null or not an object
Línea: 92
Carácter: 741
Código: 0
URI: www.mysite.com/media/system/js/mootools.js
Mensaje: Object doesn't support this property or method
Línea: 59
Carácter: 102
Código: 0
URI: www.mysite.com/media/system/js/mootools.js
Note: It looks to me like it has some relation with this line of /public_html/plugins/content/jwsig.php
<script type="text/javascript" src="'.$mosConfig_live_site.'/plugins/content/plugin_jw_sig/mootools.js"></script>
I have IE8, joomla 1.5.22, Simple Image Gallery Plugin plugin_jw_sig-v1.2.1r2_j1.5.zip
I also have the problem of the tooltips showing <br \> and <br>
it shows this warning:
Mensaje: Syntax error
Línea: 1
Carácter: 1
Código: 0
URI: www.mysite.com/://
and when I am logged it also shows these warnings:
Mensaje: '$tmp' is null or not an object
Línea: 92
Carácter: 741
Código: 0
URI: www.mysite.com/media/system/js/mootools.js
Mensaje: Object doesn't support this property or method
Línea: 59
Carácter: 102
Código: 0
URI: www.mysite.com/media/system/js/mootools.js
Note: It looks to me like it has some relation with this line of /public_html/plugins/content/jwsig.php
<script type="text/javascript" src="'.$mosConfig_live_site.'/plugins/content/plugin_jw_sig/mootools.js"></script>
I have IE8, joomla 1.5.22, Simple Image Gallery Plugin plugin_jw_sig-v1.2.1r2_j1.5.zip
I also have the problem of the tooltips showing <br \> and <br>
Please Log in or Create an account to join the conversation.
- juanp
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 11
14 years 3 months ago #37846
by juanp
Replied by juanp on topic Re: sig plugin shows status bar warnings
I FOUND a simple SOLUTION
since it was working fine
just that it showed warnings
I silenced it AND NOW IT WORKS GREAT
I simply added this line to the file /public_html/plugins/content/jwsig.php:
<script type="text/javascript">window.onerror=Block_Error;function Block_Error(){return true;}</script>
before this line:
<script type="text/javascript" src="'.$mosConfig_live_site.'/plugins/content/plugin_jw_sig/mootools.js"></script>
now I'm only missing the tooltip thing.
I found this solution here:
www.mooforum.net/help11/object-doesn-support-this-property-method-t977.html
and I was told in
extensions.qivva.com/forum.html?func=view&id=1674&catid=5
that this was a useful link as well:
www.seongyupyoo.com/index.php?option=com_content&task=view&id=10&Itemid=29
since it was working fine
just that it showed warnings
I silenced it AND NOW IT WORKS GREAT
I simply added this line to the file /public_html/plugins/content/jwsig.php:
<script type="text/javascript">window.onerror=Block_Error;function Block_Error(){return true;}</script>
before this line:
<script type="text/javascript" src="'.$mosConfig_live_site.'/plugins/content/plugin_jw_sig/mootools.js"></script>
now I'm only missing the tooltip thing.
I found this solution here:
www.mooforum.net/help11/object-doesn-support-this-property-method-t977.html
and I was told in
extensions.qivva.com/forum.html?func=view&id=1674&catid=5
that this was a useful link as well:
www.seongyupyoo.com/index.php?option=com_content&task=view&id=10&Itemid=29
Please Log in or Create an account to join the conversation.
- juanp
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 11
14 years 3 months ago #37847
by juanp
Replied by juanp on topic Re: sig plugin shows status bar warnings
and to take away Alt text displayed on tooltips I did 3 changes in the file /plugins/content/jwsig.php
else {$html .= '<b>'.$images[$a].'</b>';}
changed to:
else {$html .= $images[$a];}
if ($displaymessage) {$html .= $message.'
<b>'.$itemtitle.'</b>';}
changed to:
if ($displaymessage) {$html .= $message.$itemtitle;}
if ($displaynavtip) {$html .= $navtip.'
';}
change to:
if ($displaynavtip) {$html .= $navtip;}
I found the clue to this solution here:
forum.joomlaworks.net/simple-image-gallery-(plugin)/alt-text-displayed-on-mouseover/
else {$html .= '<b>'.$images[$a].'</b>';}
changed to:
else {$html .= $images[$a];}
if ($displaymessage) {$html .= $message.'
<b>'.$itemtitle.'</b>';}
changed to:
if ($displaymessage) {$html .= $message.$itemtitle;}
if ($displaynavtip) {$html .= $navtip.'
';}
change to:
if ($displaynavtip) {$html .= $navtip;}
I found the clue to this solution here:
forum.joomlaworks.net/simple-image-gallery-(plugin)/alt-text-displayed-on-mouseover/
Please Log in or Create an account to join the conversation.