Good reading
For those of us that when looking at similar threads and the title ( ) think of all this as rocket science, please keep in mind that the CB Team puts a great deal of effort to get things right BEFORE handing over to test teams.
Of course some times this cycle appears to be insanely time consuming and patience taxing for our community but I guess if things are released earlier, then frustration would be just as bad and would impact live sites and live communities - I for one am thankful that this is the case.
Don't get me wrong - I feel that features should be added quicker and released faster. This is the goal. reaching this goal without compromising quality is the challenge.
Please Log in to join the conversation.
No, as written above I'm using J! 1.5.9 and CB 1.2.
Mootools 1.11 are loaded by Joomla! Core. Only the above mentioned RokSlideshow and Menu (w/o effects) and login module are published.
I will do some further tests and report back if I found something weird. For you RokSlideshow works with J!1.5.9 and CB 1.2, so I can be sure that RokSlideshow is not broken?
Ok will check that. But doesn't $(document).ready() and its mootools counterpart ensure that all DOM and CSS is loaded before any action takes place?Finally loading CSS before Javascript matters too, but unfortunately even core joomla 1.5.9 templates, save 3pd templates, didn't do it right yet.
This means if I make a custom module/plugin and load a .css there, it is likely that it will break? How can I inject module/cb plugin specific .css and .js files into the head of the document?
Thanks!
Please Log in to join the conversation.
As I did, I do not use this module but wanted to test mootools compatibilityndee wrote:
No, as written above I'm using J! 1.5.9 and CB 1.2.
Mootools 1.11 are loaded by Joomla! Core. Only the above mentioned RokSlideshow and Menu (w/o effects) and login module are published.
I will do some further tests and report back if I found something weird. For you RokSlideshow works with J!1.5.9 and CB 1.2, so I can be sure that RokSlideshow is not broken?
Sorry, I can not make any statements on code i didn't read. I just downloaded latest versions from extensions.joomla.org for rokSlideShow and tried as reported above.
Full ack, don't like it either. Although I can't tell you any technical downsides of mootools - for me the way it works is not as good as jQuery's. But it is just a feeling without technical verfication. That's why I as many other suggested on joomla.org to include jQuery instead of mootools. But fact is that mootools is included in Joomla! Core and is widely spread and there are many extensions out there using it.For different reasons that I do not wish to go into details here, I believe mootools is broken by design, while jQuery has a great approach to its design. Seems that the users-list of jQuery shows that i'm not only one to think so.
Ok will check that. But doesn't $(document).ready() and its mootools counterpart ensure that all DOM and CSS is loaded before any action takes place?Finally loading CSS before Javascript matters too, but unfortunately even core joomla 1.5.9 templates, save 3pd templates, didn't do it right yet.
This means if I make a custom module/plugin and load a .css there, it is likely that it will break? How can I inject module/cb plugin specific .css and .js files into the head of the document?
Thanks!
Calm down. I know that jQuery does not use $ but noConflict() thingy instead - was an example and focus on DOM ready function which should ensure that the DOM tree is complete before any action takes place My question was if there would be any troubles if I write a plugin and include my custom jQuery code and .css files there.Again, please do more homework before posting assertions on CB's use of jQuery. CB does not do any $(document).ready() on purpose.
Exactly for that reason CB uses:
[code:1]jQuery(document).ready(function($){[/code:1]
and the way CB use jQuery makes it that the global $ isn't touched or used at all in CB and jQuery.
To my knowledge only jQuery allows that.
Ok Houston, thank you for your time.I posted into mootool's forum a post proposing to do something similar for mootools, but to my surprise, my friendly and constructive post got deleted 20 minutes later without any comment or mail . So making mootools non-conflicting was not a goal at all at that time, to the contrary unfortunately. Another reason that I will never use or recommend mootools.
I think that this closes pretty much this subject
(feel free to respond if you have a proven bug in CB or jQuery, or have found the reason of your site not working).
In short, final reply from Houston:
=========== NO BUGS IN CB ABOVE THIS LINE ============
EDIT: Fixed quoting of message
Post edited by: beat, at: 2009/03/07 13:09
Please Log in to join the conversation.
...
My question was if there would be any troubles if I write a plugin and include my custom jQuery code and .css files there.
Please Log in to join the conversation.
object doesnt support this property or method
Please Log in to join the conversation.
Please Log in to join the conversation.