Freeway action conflict

Hi, I’m getting some conflict between two actions on my new website when I publish… see the error message here…

http://tinyurl.com/33azudz

My question is, can somebody please advise how to remove the action or address the error??


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Well, it’s hard to say which Action is adding Prototype to the page, but Softpress ships Freeway with a number of them in the FX namespace and others in the Show/Hide Target namespace, so it could be any of those. But if you’re using MooTools on your page, that should be your first warning. Unless you’re dedicated to only ever using Moo for all effects on your page, you’re going to hit this problem.

MooTools “forked” off of the original Prototype.js project a number of years ago, and while it extended the thinking of Prototype quite a lot (basically creating something akin to jQuery, which is another integrated JavaScript/Effects library) it kept a lot of the function names the same as Prototype, and also followed some of the design decisions that Prototype took – but changed what those functions and design choices did in a fundamental manner. So the two cannot live together on the same page. You can have one page in your site that uses Moo and another that uses Prototype, but you can’t mix them on the same page.

There’s another thing to think about here: these libraries are quite large, and all of them can do more or less the same things. It behooves you to stick to one per page anyway, just because it’s nicer to your visitors.

If you can describe what you’re using Moo to do, maybe I can suggest a Prototype-based equivalent. I also recommend you look over at http://scripteka.com for a very long list of Prototype-based “cool” scripts.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options