Thickbox uses jquery, which conflicts with the prototype library. Try this fix:
http://forums.pligg.com/showpost.php...4&postcount=68


![]() |
| | Thread Tools | Display Modes |
| |||
|
Thickbox uses jquery, which conflicts with the prototype library. Try this fix: http://forums.pligg.com/showpost.php...4&postcount=68 |
| |||
|
Applied the fix, still not working though. Quote:
Geoserv |
| |||
|
As a follow up here is my pligg.tpl file.
|
| |||
|
You seem to have a hardcoded path to the thickbox.js file in that template, but not jquery. I assume it is loading in the module? All you want is for the files to appear in the source code, when viewing a page on your site, in the following order: jquery.js thickbox.js (with fix applied) scriptaculous.js (etc) If it still doesn't work correctly for you, there are other potential fixes provided by the authors of jquery here. |
| |||
|
I hardcoded the thickbox.js line in today to see if it would help. Should I take that back out? Also, I can't find jquery.js anywhere, where is it normally located? Geoserv |
| |||
|
Not sure what I was thinking, I found the jquery one, it was actually right in front of me. ![]() Still not working, and as far as the link you posted goes, thats over my head for sure. I think I will put my pligg.tpl back the way it was. If I disable thickbox, then everything works again. Geoserv Last edited by Geoserv; 04-13-2007 at 01:03 PM. |
| |||
|
Ok, I have made progress. I have thickbox working as well as all other js effects except for one. The only one not working is when you hover over the story source link, I dont get the popup showing the site. For those who want to know what I did, when you look at pligg.tpl itdifferent from doing a view source, so I just needed to find where scriptaculous and jquery and thickbox were in the source code, then fiqure out which line of code in pligg.tpl controlled it. Quote:
Quote:
Geoserv. Last edited by Geoserv; 04-13-2007 at 01:35 PM. |
| |||
|
Ok, sorry about all the posts, but I find if I edit each one, the solutions can get lost. I moved this line of code: Quote:
Quote:
I have attached my updated pligg.tpl file so people can see it in full. Hopefully I won't find anything else broken. Geoserv |
| |||
|
Glad you got it working - the order in which javascript files are loaded does seem to make a difference.
|
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [MOD] MP3 Upload Module | cent | Questions and Comments | 34 | 03-18-2011 08:50 PM |
| [MOD] Image Upload Module (v1.0) -- Now Available | cent | Questions and Comments | 190 | 01-08-2011 05:12 PM |
| Fixes to Profile Extra Fields Module v0.2 and Extended Profile Module v0.1 | redwine | Questions and Comments | 11 | 12-20-2010 04:18 PM |
| Optimised Scriptaculous Module with Thickbox | Simon | Questions and Comments | 83 | 10-08-2010 02:41 AM |
| [MOD] Image Upload Module (v0.93) -- Please test | cent | Questions and Comments | 54 | 05-01-2009 11:12 PM |