This Extension hoses Brandon Kelly’s “Playa” (and possibly other extensions that are putting JS in the header). I’ve been trying to fix this all night. Wondering if there is some sort of conflict in the JS in the header and the Playa JS?
It’s unfortunate that this one uses Proyotype. Anyone think they can convert this to a jQuery version?
EDIT: Better yet, has anyone seen markitup? Wonder how difficult that would be to implement as a custom field?
Hi Ryan,
Not entirely certain what the problem is there but you may try adding in the no conflict script for jQuery and see if that works. I recently had problems with getting a script to work as I had both jQuery and Prototype enabled on a page and so added :
<sc*ipt type="text/javas*ipt">
var $j = jQuery.noConflict();
</sc*ipt>
to the page and it all worked out fine. Perhaps check out this page here and see if that helps at all. Not sure if that is what you are experiencing or not but I don’t suppose it would hurt to try. Admittedly any jQuery calls will in any of the jQuery scripts for that page / template that you are using them on will need to have the $j in them instead of just $ but you never know?
Best wishes,
Mark
I don’t think jQuery is involved here…um, amywhere. Have you read this thread or are you just boosting your post count again, you naughty monkey!?
How dare you suggest such a thing. If I was just boosting post count then I wouldn’t have posted some technical jargon and gone looking over the net for it!
I feel deeply hurt by that 😉 Going to sulk in the corner for a bit now!! 😊
Actually I got confused as I thought that Playa used jQuery from reading what you had put above. You asked if anyone could convert something to jQuery and not have it as Prototype and as I had this same problem myself (jQuery & Prototype working together and causing problems) just thought I would post what might be a fix.
Now I’m going to go off and sulk!! 😊
Posts + 2 now though instead of 1 because of what you said 😉 😊 😉
Best wishes,
Mark
For the record, I just whipped together an Extension for a Markitup custom field…and Playa and Markitup both play very nice together. Seems that Markitup is playing nice with everything so far, actually.
It isn’t ready for prime time, but it’s working quite well. If anyone is interested, and I can polish it a bit, I may release it.
For the record, I just whipped together an Extension for a Markitup custom field…and Playa and Markitup both play very nice together. Seems that Markitup is playing nice with everything so far, actually. It isn’t ready for prime time, but it’s working quite well. If anyone is interested, and I can polish it a bit, I may release it.
Yep! Interested. Polish it. Release it and I’ll take it!! Markitup does look very nice.
Will make up for what you said about me earlier 😉 !!
Still getting over that one 😊
Best wishes,
Mark
I might try to release a super simple version, just so it’s out there. It would be nice to incorporate per-field settings (like, default for one field, textile for another, etc). Attached is a screenshot of the field in action. This might make for a nice alternative to TEH.
Now that’s just naughty posting an image preview but no extension download!! 😉
I think from what I have seen from Markitup it seems as though you can make it spit out the code you want as opposed to the bloat that other Text Editors seem to do which in my mind makes it the best yet for this kind of thing.
Looking forward to perhaps a look at the extension! 😉
Best wishes,
Mark
Hi guys - Ryan, I wanted to say thanks for all your detective work - I’ve got at test install of playa and teh going now so I’ll see if I can get a fix going - probably later tonight. Sorry to have ignored this thread lately… have been swamped with client work.
Also, I like markitup, but not being able to do multi-line lists is a deal-breaker for me, otherwise I’d be much happier with a jQuery solution too. I don’t think the Slate guys are really using prototype for anything other than attaching the domready event and instantiating the class - if I can’t resolve the conflict cleanly I might try porting it. That was my plan for EE 2.0 anyway, unless something better comes along of course…
-mike
Also, I like markitup, but not being able to do multi-line lists is a deal-breaker for me
I didn’t understand what you meant by this at first, but now I think I get it: this thing doesn’t do lists well at all. In Textile mode, the last item always breaks off into another list, no matter what. I tried everything, short of resorting to full-on html. Is that what you were talking about?
Otherwise, this thing is crazy, and it loads extremely fast, even on my test page where I have three Markitup fields, each set to a different setting.
Are we going to get to see the finished extension soon Ryan? 😉
Oh go on! Please, pretty please!
Looks great what you have done so far. Would love to see how it is all done though, I mean integrating something external into an extension. There’s quite a few things I’d like to do like that and give out to the EE community if only I had the knowledge of how to do it and this would be a great leap-board to learning all of that I reckon.
Best wishes,
Mark
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.