What is the list of extensions you have installed? Do you happen to have any Solspace extensions installed? I’ve seen this happen for two reasons: Solspace uses a “noconflict” mode which can cause other jQuery JS written to the page to fail, or there may be another extension installed that happens to be calling jQuery again. If jQuery is called twice, many extensions using jQuery can fail.
What is the list of extensions you have installed? Do you happen to have any Solspace extensions installed? I’ve seen this happen for two reasons: Solspace uses a “noconflict” mode which can cause other jQuery JS written to the page to fail, or there may be another extension installed that happens to be calling jQuery again. If jQuery is called twice, many extensions using jQuery can fail.
I’m using Primary Category and User Authors from Solspace. When I get a chance, I’ll try disabling them and see what happens. Thx.
I believe User Authors is a major culprit. I think I’ve run into that one myself. User authors ties into the User module, which does NOT make use of jQuery in the Control Panel - it calls its own jQuery file. I don’t believe Solspace has ever updated this. I think I had to hack this in the past - but I had to comment out the call to jQuery in the User module - because I knew I was already using CP jQuery. I’ll bet that’s it.
I believe User Authors is a major culprit. I think I’ve run into that one myself. User authors ties into the User module, which does NOT make use of jQuery in the Control Panel - it calls its own jQuery file. I don’t believe Solspace has ever updated this. I think I had to hack this in the past - but I had to comment out the call to jQuery in the User module - because I knew I was already using CP jQuery. I’ll bet that’s it.
Sounds likely - I’ll experiment and chop out that call if I need to.
“Can’t we all just get along” ; )
I turned off User Authors, Primary Category and every other jquery-enabled cp extension that I could find - still getting the same error.
One other symptom - when SL Google Map is active at the same time as TEH, the jquery for the map isn’t called. When TEH’s off, it works. When SL GM is off, TEH still won’t work.
Grr. Really want to get all of this playing nicely together….
Do they both write jQuery to the source of the control panel page or is all of their jQuery self-contained? What’s the error? I find that any jQuery that is in the markup of the page should be wrapped in this:
(function(){
})(jQuery);
The problem, as I said before (but may have not been clear on) may be the User Module. Can you view source to to double check if Solspace is putting any jQuery code in the page at all, and whether or not jQuery is being called/loaded twice? We really need to see what the source code looks like, warts and all to know what the issue is.
(My offer still stands to take a look in your control panel if you want to make a user account for me)
Do they both write jQuery to the source of the control panel page or is all of their jQuery self-contained? What’s the error? I find that any jQuery that is in the markup of the page should be wrapped in this:The problem, as I said before (but may have not been clear on) may be the User Module. Can you view source to to double check if Solspace is putting any jQuery code in the page at all, and whether or not jQuery is being called/loaded twice? We really need to see what the source code looks like, warts and all to know what the issue is. (My offer still stands to take a look in your control panel if you want to make a user account for me)(function(){ })(jQuery);
The error I’m getting from TEH, whether or not any other JQuery-calling extensions are running, is “$(”#” + canvas).TextileEditor is not a function”
Before I monkey w/ hacking away at anything else, I want to at least get TEH running on its own, and can’t seem to get that going to begin w/. I’m sure I’ve got something pretty basic all messed up, but don’t know what that is ; )
The error was caused by an stupid .htaccess rule in my themes folder. ‘Deny from all’ tends to break a lot of stuff ; )
Took a lot of poking around to find this, but it’s fixed.
Don’t know where that file came from - hopefully an error from a recent server move, and not an indication of anything malicious going on.
Seem that if the script can’t find the images, it’s gonna fail. But, while I’ve fixed this extension, I’m having a heap of troubles w/ some others.
User Authors doesn’t function - just spins and gives no result when you search for an author. Doesn’t seem to matter whether TEH is running or not.
Markitup doesn’t work, and kills FF Matrix, to boot. Turn it on, and I get:
$(".markitupfield.xhtml, .markitupfield.none, .markitupfield.br").markItUp is not a function
obj.dom.$table.sortable is not a function
both w/ the path to jquery set in the MIU settings and w/o.
It’s enough to cause a serious headache.
Sounds like you got TEH figured out, so anything further about the jQuery problems probably belongs in another thread.
I don’t know what to tell you about your other issues - and I agree it can cause a headache. I know, because I’ve solved this problem in the past. I have most of these add-ons working together on a large website so I know what I’m talking about. I’ve offered to take a look at your Control Panel, and, barring that, mentioned that we would need to see the source code of a control panel page where the error is happening. Without that, I’m powerless to help you. I can guarantee you have a jQuery problem - especially if you have User Authors enabled.
I’m trying out this extension for the first time and I was having the same exact issue as ContextDesign (an error that looks like missing jQuery, even though it’s properly referenced and loaded.) The problem, for me, was that I downloaded TEH from Slate and expected that to work.
So, as a warning to people like me who may not have been paying attention: be sure to use the TEH you find in the EE extension package, NOT the version you’d download from Slate.
Also, thanks imagehat for a great extension!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.