Thank you for this good news. It is going to open whole new avenues of development in Joomla.
On Mar 22, 9:26 pm, Amy Stephen <[email protected]> wrote: > I believe Ian MacLennan, Joomla! Development Team member, has worked on > switching Joomla! 1.5.16 (the next release) to the new version of Mootools. > It sounds like this release is expected soon. > > On Sat, Mar 20, 2010 at 7:16 AM, ghazal <[email protected]> wrote: > > Hello, > > I am sorry to say that what I see here is a complete misunderstanding > > of Joomla architecture. > > And this has nothing to do with Mootools. > > 1- Either you stick to moo 1.12 and most of the plugs/comps/modules > > you cite here should work because they are developed by serious > > developers and you don't know how to use them. > > 2- Or you try your luck with Moo 1.2 > > and find here various scripts that will help you include correctly Moo > > 1.2 in joomla : > > >http://www.google.com/#hl=en&source=hp&q=include+mootools+1.2+in+joom... > > and keep in mind that using Moo 1.2, you will have to rewrite a lot of > > JS scripts > > 3- just to give you a hint, the mootools behavior in Joomla is run > > by : > > libraries/joomla/html/html/behavior.php and various scripts in media/ > > system > > 4- re : Artofjoomla tut, I guess you are referring to : > > Layout Overrides: Popup Login Box > > >http://www.theartofjoomla.com/home/6-layouts/16-layout-overrides-popu... > > which is explicitly referring to a module tut/override, not a template > > tut > > > 5- You can use this in your template (I would not) : > > ******************** index.php ************* > > <?php JHTML::_( 'behavior.modal' ); ?> > > <?php $isIE6 = strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6'); > > /* --- This removes any default Scripts from the Header Buffer --- > > */ > > $header = $this->getHeadData(); // Get the > > current HEAD buffer > > $header['scripts'] = array(); // Clear all > > current 'scripts' entries > > $this->setHeadData($header); // Update the > > HEAD buffer > > /* --- We add the MooTools Framework manually, see below --- */ ?> > > > <script type="text/javascript" src="<?php echo $path; ?>/scripts/ > > mootools.js"></script> > > <script type="text/javascript" src="<?php echo $path; ?>/scripts/ > > modals.js"></script> > > ******************** end index.php ************* > > > Except that, by default, this > > <?php JHTML::_( 'behavior.modal' ); ?> > > is calling modal.js --->a specificity of Joomla architecture I was > > talking about earlier > > > that you call again with this : > > <script type="text/javascript" src="<?php echo $path; ?>/scripts/ > > modals.js"></script> > > > Besides, which Mootools script are you calling with this ? > > <script type="text/javascript" src="<?php echo $path; ?>/scripts/ > > mootools.js"></script> > > You should be calling mootools1.2.4.core.js AND > > mootools1.2.4.4.more.js or both libraries concatenated > > PS: re : mootools1.2.4.4.more.js should be downloaded entirely because > > it is quite difficult to know which features will be used > > > My advice : > > check thoroughly joomla docs where you will find a lot of tuts on this > > subject > >http://docs.joomla.org/Main_Page > > > Or, if you want to use Moo.12 great new features without having to > > rewrite your JS scripts > > Wait for J!1.6 launch. > > > Now, as it is a Mootools forum, lets get back to this wonderful > > framework. > > > On Mar 20, 4:57 am, Sanford Whiteman <[email protected]> > > wrote: > > > You can't use window.addEvent until _after_ you've loaded MooTools; > > > right now, that is the primary problem on your page at /Template/. > > > > It seems like you are still making changes without changing the URL, > > > so that makes it hard to troubleshoot further. > > > > -- S. > > > To unsubscribe from this group, send email to mootools-users+ > > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > > ME" as the subject. To unsubscribe from this group, send email to mootools-users+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
