RN 2.3.01
FCKEditor up to date
/javascript and /jquery up to date
FCKEditor copied from RN 2.4
/javascript and /jquery copied from RN 2.4
Editor works just fine, no problem there.
Image linked with Lightbox works (displays ok) but instead of being displayed where the original image displays, the LB image displays at the very bottom left corner side of the screen well below the theme display. Theme doesn't matter, tried in several including fisubice and ravenice, still the problem.
Other domains running RN 2.4, no problem, just this one domain still on 2.3.01
New problem. Installed/updated this same site to 2.40.01 and the LightBox preference is not in the Editor under "Link" like it was in 2.30.01 .. disappeared. /javascript and /jquery are still there as before .. dunno what we did to get it to show in the previous versions, will try searching here again as I think there was some mod to install or edit a file or two.
Ok, I got the addon back and installed but back to the same problem when clicking on a thumb, the larger image displays well below the theme border. Try it yourself:
Only registered users can see links on this board! Get registered or login to the forums!
Click on the first "beer" image and see what happens. Theme doesn't matter, it does the same in all other themes including Ravenice and Fisubice.
Cheers
Update: Changed back to my original theme and loaded another style.css mod and works now like a charm.
Joined: Mar 11, 2007 Posts: 1536 Location: North Carolina
Posted:
Wed Mar 31, 2010 9:16 am
There are known conflicts with running the prototype/scriptaculous along side jquery. I have several alternatives on my site that use jquery so no conflicts arise. One uses the colorbox addon that is already in RavenNuke. Another that uses slimbox which is a direct jquery replacement for lightbox.
Also, with the use of addCSSToHead and addJSToHead in RavenNuke 2.4, it would be better the make a file in includes/addons called head-yourfilename.php to call css and js into the head of RavenNuke with something like this in it:
The site works just fine with RN 2.40.01 with LightBox_Addon and correcting the javascript.php edit. Should there be anything else added in besides that? What "conflicts" should I be on the lookout for?
Joined: Mar 11, 2007 Posts: 1536 Location: North Carolina
Posted:
Wed Mar 31, 2010 6:45 pm
Both jQuery and prototype define “$” as an alias. So when both libraries are included, the browser doesn't know which to use. That is why I made the slimbox mod because it is a jquery clone of lightbox. Now that colorbox is included in RavenNuke, it kind of makes them all redundant. I had users that experienced issues with logins and on some clan modules that would not work. If it works for you, cool.
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum