Grégory Joseph ha scritto:

Hi Matteo,

Feel free to propose patches for this, it'd be a welcomed fix. We currently have a project that uses jquery without any problem, but most likely because it uses the jQuery.noConflict(); function to avoid this.

I think so, one of jQuery benefits is the "namespaced" feature.
MooTools is not scoped, as Prototype and other frameworks.
I will work to solve this issue and I will propose my solution (if I'll found it ;-) )

Maybe a workaround is to selectively load the magnolia scripts in your templates depending if you're in preview mode or not.

At now, I include Magnolia core js using taglib <cms:links /> just before the </head> page.

HTML code, replacing the tag, is:
-------------------------------------------------------
<link rel="stylesheet" type="text/css" href="/magnoliaAuthor/.resources/admin-css/admin-all.css" /><script type="text/javascript" src="/magnoliaAuthor/.magnolia/pages/javascript.js"></script><script type="text/javascript" src="/magnoliaAuthor/.magnolia/pages/messages.en.js"></script><script type="text/javascript" src="/magnoliaAuthor/.resources/admin-js/dialogs/dialogs.js"></script><link rel="stylesheet" type="text/css" media="all" href="/magnoliaAuthor/.resources/calendar/skins/aqua/theme.css" title="Aqua" /><script type="text/javascript" src="/magnoliaAuthor/.resources/calendar/calendar.js"></script>

<script type="text/javascript" src="/magnoliaAuthor/.resources/calendar/lang/calendar-en.js"></script> <script type="text/javascript" src="/magnoliaAuthor/.resources/calendar/calendar-setup.js"></script>
-------------------------------------------------------
The list is complete?
If yes I can try to include them manually in the right order, trying to debug the issue...




----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to