10447 Posts in 2223 Topics by 1719 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 950 Views |
-
IE buggy with flickr preview

10 May 2010 at 5:26am
Anyone got the flickr module working with IE? In Firefox and Iron / Chrome my SS flickr page works no prob. When I view the site with internet explorer and click on a thumbnail, the lightbox pops up, but shrinks in size to a 32x32px or so image. If I click a second time, the preview comes up ok. And so on, this is reproducable with any image in the flickr gallery.
Are you having the same issue with IE and maybe ideas how to solve it?
regards, vr
-
Re: IE buggy with flickr preview

5 November 2010 at 4:53am
I have exactly the same problem with my site! http://www.carbon-era.co.uk/gallery....
Did you manage to fix it or get any help with it?On IE8 I get the error:
Invalid argument.
prototype.js
Code: 0
Line: 1596
Char: 9???????
-
Re: IE buggy with flickr preview

17 February 2011 at 1:06am
As no-one managed to resolve this, I fixed the issues by integrating Lightbox 2.04 rather than Lightwindow and it works well, fully tested in IE7/8, Opera, Safari, Chrome and Firefox!
Doesn't like working when FullTextSearchable is enabled though
A
-
Re: IE buggy with flickr preview

17 February 2011 at 2:09am Last edited: 17 February 2011 2:10am
UPDATED!
The enable BOTH the FlickrGallery with Lightbox AND have a fully functional full text search, the following JS files need to be blocked in the FlickrGallery.php page:
}
Requirements::javascript( "flickrservice/js/prototype.js" );
Requirements::javascript( "flickrservice/js/scriptaculous.js" );
Requirements::javascript( "flickrservice/js/lightbox.js" );
// Block the following conflicting JS files to enable Full Text Search AND Lightbox.
// These two files are responsible for stopping the Lightbox from working.
Requirements::block("sapphire/thirdparty/prototype/prototype.js");
Requirements::block("sapphire/javascript/prototype_improvements.js");
// This file MUST be blocked to ensure the Full Text Search continues to work.
Requirements::block("sapphire/thirdparty/behaviour/behaviour.js");Requirements::css("flickrservice/css/lightbox.css");
if($pos = strpos( $_SERVER[ 'HTTP_USER_AGENT' ], 'MSIE') ) {
$version = substr( $_SERVER[ 'HTTP_USER_AGENT' ], $pos + 5, 3 );
if( $version < 7 ) {
Requirements::css( "flickrservice/css/lightbox.css" );
}
} -
Re: IE buggy with flickr preview

19 March 2012 at 1:16pm
I've got a similar problem happening whereby the HTML editor in the SimpleWiki module doesn't work properly when FulltextSearchable is enabled. Text can be edited fine in the TinyMCE window but any changes are lost when you click save. (Problem only affects HTML editor, not the other editors such as Plain or Wiki.)
Any suggestions as to how I can solve this? What should I be looking for? -
Re: IE buggy with flickr preview

19 March 2012 at 2:38pm
Hi Dave,
Probably a javascript conflict. Using Firebug you should be able to track down which line of JS is conflicting.
Cheers,
Josh -
Re: IE buggy with flickr preview

21 March 2012 at 4:55pm Last edited: 21 March 2012 4:55pm
Hey Josh,
Thanks for the help, I think we could be on to something here.
Regardless of whether or not FulltextSearchable is enabled, Firebug gives me a missing js file error when I hit the Edit button on a Wiki page:
"NetworkError: 404 Not Found - http://localhost:8888/tdg_SilverStripe-v2.4.7/sapphire/thirdparty/tinymce/plugins/sslinks/editor_plugin_src.js?m=1328047223"
The only reference to editor_plugin_source.js in the simplewiki code is in the Edit function in WikiPage.php line 402 as follows:
public function edit()
{
HtmlEditorField::include_js();
Requirements::javascript('simplewiki/javascript/sslinks/editor_plugin_src.js');That js file starts with the following code:
(function() {
// Load plugin specific language pack
// tinymce.PluginManager.requireLangPack('sslinks');tinymce.create('tinymce.plugins.SSLinks', {
Perhaps there's some issue with creating that plugin? There's certainly no reference to sapphire/thirdparty/tinymce/plugins/sslinks/editor_plugin_src.js in the wikipage code at all so I'm guessing it must be something it's trying to create on the fly.
Firebug pops up one other error:
$ is not a function
var element = $(element);
http://localhost:8888/tdg_SilverStripe-v2.4.7/sapphire/thirdparty/prototype/prototype.js?m=1328047221Not sure if that has any relevance.
Your thoughts?
Many thanks,
David
| 950 Views | ||
|
Page:
1
|
Go to Top |



