RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : November 20, 2008, 03:55:07 am
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  RSgallery2 bugs & problems
| | |-+  Resolved Issues (Moderators: Jonah, Daniel Tulp, Ronald Smit)
| | | |-+  [FIXED] Unable to display Galleries on IE 7
Advanced search
  « previous next »
Pages 1 2
Author
Topic: [FIXED] Unable to display Galleries on IE 7  (Read 15314 times)
Reply #15
« on: February 14, 2008, 03:42:23 am »
john Online
Dev Team
Sr. Member
*
Posts: 458

View Profile Email

Hello.

There is nothing wrong with the javascript.

The problem is that the library supporting window.addevent is not always loaded. To fix that, add the following to the head section of your Joomla template file:

for Joomla 1.5:
Code:
<?php  JHTML::_('behavior.mootools'); ?>

for Joomla 1.0.x

Code:
<script type="text/javascript" src="http://paszkowski.home.pl/www/components/com_rsgallery2/lib/j15backport/includes/media/system/js/mootools.js"></script>

good luck :-)

john
« Last Edit: February 14, 2008, 03:47:54 am by john » Logged
 
Reply #16
« on: February 14, 2008, 04:24:41 am »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1870
danieltulp@hotmail.com
View Profile WWW Email

it does indeed seem to be the culprit, but my flash sponsor rotating banner, won't load at all now on all the pages now, also when I call the mootools file

I'm going to use another way of getting the flashmovie to display correctly

going to try the Adobe solution:
http://www.adobe.com/devnet/activecontent/articles/devletter.html -> same problem Sad
« Last Edit: February 14, 2008, 05:17:00 am by Daniel Tulp » Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Reply #17
« on: February 14, 2008, 05:08:14 am »
labelthc Offline
Newbie
*
Posts: 8

View Profile

hey i found a solution, for me i think Smiley
everything is OK now. John say true that is problem with window.addevent ...

Microsoft give us this solution:
http://support.microsoft.com/default.aspx/kb/927917

I found something else, link for my solution:
http://talk.cmyweb.net/2008/01/26/ieoperation-aborted-solution/

I apply in my webpage, and results you can see at my wepage:
www.bogdanpaszkowski.pl

Mayby someone will have same problem, so i put code of my webpage:

BEFORE [PROBLEM]:
Code:
<script type="text/javascript">
// <![CDATA[
window.addEvent('domready', function(){
var so = new SWFObject("http://www.paszkowski.home.pl/www/templates/glowna/banner.swf", "banner", "100%", "100%", "6.0.65", "");
<!--kolejno: nazwa pliku, szerokość, wysokość, wersja FlashPlayer'a, kolor tła-->
so.addParam("quality", "high");
so.write("logo_area");
});
  // ]]>
</script>
AFTER[SOLUTION]:
Code:
<script type="text/javascript">
// <![CDATA[
function load_swf(){
    var so = new SWFObject("http://www.paszkowski.home.pl/www/templates/glowna/banner.swf", "banner", "100%", "100%", "6.0.65", "");
<!--kolejno: nazwa pliku, szerokość, wysokość, wersja FlashPlayer'a, kolor tła-->
so.addParam("quality", "high");
so.write("logo_area");
}
    // ]]>
</script>
<script type="text/javascript">
if(document.body){
    if(document.all){
        document.body.onload = load_swf;
      }else
      {
        document.body.setAttribute("onload","load_swf()");
      }
      }else{
        alert("This code must be included after the body tag :)");   
    }
  </script>


I apply Jonh's solution on my frontpage - Works fine
For any others subpages my solution - Works fine too

What is the difference ?

Anyway, guys A BIG THANKS for help. Cya next BUG Smiley
« Last Edit: February 14, 2008, 05:19:09 am by labelthc » Logged
 
Reply #18
« on: February 14, 2008, 08:34:27 am »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1870
danieltulp@hotmail.com
View Profile WWW Email

ok, after many attempts I discovered that my own slideshow module also creates this error, I'll need to deal with that

further more, I used a different method, described here: http://www.adobe.com/devnet/activecontent/articles/devletter.html#multipleoccurrences

the code below worked for me

Code:
<script type="text/javascript">
AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','135','height','500','wmode','transparent','align','middle','src','<?php echo $mosConfig_live_site?>/templates/<?php echo $cur_template?>/Sponsors','quality','high','bgcolor','#ffffff','name','Sponsors','allowscriptaccess','sameDomain','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','<?php echo $mosConfig_live_site?>/templates/<?php echo $cur_template?>/Sponsors' );
</script>
<noscript>
<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='135' height='500' id='Sponsors14' align='middle'><param name='allowScriptAccess' value='sameDomain' />
<param name='movie' value='<?php echo $mosConfig_live_site?>/templates/<?php echo $cur_template?>/Sponsors.swf' /><param name='quality'  value='high' /><param name='wmode' value='transparant' /><embed src='<?php echo $mosConfig_live_site?>/templates/<?php echo $cur_template?>/Sponsors.swf' width='135' height='500' wmode='transparant' name='Sponsors' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />
</embed></object>
</noscript>
Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Reply #19
« on: February 18, 2008, 10:34:15 am »
Wilm Thys Offline
Newbie
*
Posts: 2

View Profile Email

Hi Guys,

I'm having the same problem with the RS2 gallery and the IE7 error message. I have red what you guys have posted here but can't figure out what to do to make it work...
I use Flashrotator 2.5 and when I enable this module, I get the IE7 error.

EDIT :
After some testing, I think I have found how to apply the fix.
you have to edit the mod_flashrotator.php page. Here is my working code version :
Code:
<script type="text/javascript" defer="defer">
function load_swf(){
var s1 = new SWFObject("modules/mod_flashrotator/js_flashrotator/flashrotator.swf","rotator","<?php echo $width?>","<?php echo $height?>","7", "<?php echo $backcolor?>");
s1.addVariable("file","modules/mod_flashrotator/js_flashrotator/js_flashrotator<?php echo $module->id?>.xml");
s1.addVariable("wmode","transparent");
s1.addVariable("backcolor","0x<?php echo $backcolor?>");
s1.addVariable("autostart","<?php echo $autostart?>");
s1.addVariable("shownavigation","<?php echo $shownavigation?>");
s1.addVariable("kenburns","<?php echo $kenburns?>");
s1.addVariable("linkfromdisplay","<?php echo $linkfromdisplay?>");
s1.addVariable("transition","<?php echo $transition ?>");
s1.addVariable("shuffle","<?php echo $shuffle?>");
s1.addVariable("repeat","<?php echo $repeat?>");
s1.addVariable("frontcolor","0x<?php echo $frontcolor?>");
s1.addVariable("lightcolor","0x<?php echo $lightcolor?>");
s1.addVariable("linktarget","<?php echo $linktarget?>");
s1.addVariable("overstretch","<?php echo $overstretch?>");
s1.addVariable("rotatetime","<?php echo $rotatetime?>");
s1.addVariable("showicons","<?php echo $showicons?>");
s1.write("player");
s1.addParam("quality", "high");
}
if(document.body){
if(document.all){
document.body.onload = load_swf;
}else{
document.body.setAttribute("onload","load_swf()");
}
}else{
alert("This code must be included after the body tag :)");   
}
</script>

« Last Edit: February 25, 2008, 11:28:25 am by Wilm Thys » Logged
 
Reply #20
« on: February 20, 2008, 11:13:16 am »
rafael Offline
Newbie
*
Posts: 3

View Profile Email

I Try used this code but any one of this codes work for me some one knows another way to make this works?
And just to Known, this codes is to put in index.php on my template???
Logged
 
Reply #21
« on: March 01, 2008, 07:00:27 am »
Tom Puchner Offline
Newbie
*
Posts: 8

View Profile Email

hello, I had to disable the slideshow module on my sites since upgrading to 1.14.3 - the galleries didn't load anymore in IE (Problem the same as in this thread). Any fix for this yet? I really liked that module...
Code:
<script type="text/javascript" src="http://meeresschule.at/components/com_rsgallery2/lib/j15backport/includes/media/system/js/mootools.js"></script>
in the head section and
Code:
window.addEvent('domready', function(){  [the javascript code comes here] });
around the script didn't work, page is displayed ok in IE7 but slideshow module doesn't show.
see http://www.meeresschule.at/index.php?option=com_rsgallery2&Itemid=42&catid=49&lang=de
« Last Edit: March 01, 2008, 07:34:29 am by Tom Puchner » Logged
 
Reply #22
« on: March 02, 2008, 02:41:36 pm »
john Online
Dev Team
Sr. Member
*
Posts: 458

View Profile Email

Tom,

what kind of slideshow module do you use ?
It seems that the slideshow declaration has been wrapped in to the "domready" trick, which is wrong!

john
Logged
 
Reply #23
« on: March 03, 2008, 04:14:24 am »
Tom Puchner Offline
Newbie
*
Posts: 8

View Profile Email

Hello John,
it's mod_rsgallery2_slideshow_1.2.2-alpha.zip
do you have any suggestions for me?
Thank's!
Tom
Logged
 
Reply #24
« on: March 03, 2008, 06:52:05 am »
john Online
Dev Team
Sr. Member
*
Posts: 458

View Profile Email

Hi Tom.

only the following code block has to be wrapped for the "domready" event ( about line 234 in mod_rsgallery2_slideshow.php")

Code:
<script language="javascript" type="text/javascript">
<![CDATA[
window.addEvent('domready', function(){new fadeshow(fadeimages, 1, 1, 1, 1, 1, "")});
]]>
</script>

remove any other "window.addEvent('domready', function(){ .... }) " that has been added to the module source code.



john
Logged
 
Reply #25
« on: March 03, 2008, 07:04:09 am »
Tom Puchner Offline
Newbie
*
Posts: 8

View Profile Email

Hi John,
Hm, I tried. As soon as the module is loading, the site disappears. I don't even get an error message...
That's the code I use in mod_rsgallery2_slideshow.php

Code:
echo "<script language=\"javascript\" type=\"text/javascript\">\n";
echo '/* <![CDATA[ */';
echo "window.addEvent('domready', function(){";
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
echo 'new fadeshow(fadeimages, 1, 1, 1, 1, 1, "")';
echo "});";
echo '/* ]]> */';
echo "</script>";

Anything wrong with it? You can tell I'm not a programmer ;-)
Logged
 
Reply #26
« on: October 25, 2008, 05:26:54 pm »
Jola Offline
Newbie
*
Posts: 2

View Profile

I have the same problem at www.joladarotti.com -> Rangolies Album

I couldn't solve my problem so far and all discussions in this forum so far has not helped me or I may have missed something really simple. I am new to Joomla and RSGallery. Any help would be greatly appreciated.
Logged
 
Print  Pages 1 2
« previous next »
Jump to: