J'ai entendu dire que mootools est installé avec Joomla et vous pouvez l'utiliser depuis n'importe quelle extension que vous construisez sans avoir à l'inclure à nouveau, est-ce exact? J'ai appris un peu de JQuery et j'ai voulu construire un module avec lui mais maintenant que mootools est inclus, je préfère le faire avec. Y at-il un bon tutoriel sur l'utilisation de mootools dans les modules joomla?MooTools et Joomla, comment ça marche?
1
A
Répondre
1
Attention: Joomla, jusqu'à la version 1.5.18, est Mootools base 1.1.x.
Il est annoncé que la prochaine version 1.5.X sera basée sur Moo 1.2.
de presse du 15 Juillet en raison 2010.
Joomla Beta (x) 1.6 est Moo 1.2 basé bien.
magique pour inclure votre script JS dans les joomla, que ce soit module ou composant:
<?php
$doc =& JFactory::getDocument();
$doc->addStyleSheet("js/style.css");
$doc->addScript("js/script.js");
?>
0
Essayez: Joomla! Docs - Using Mootools
Questions connexes
- 1. CSS - Comment ça marche
- 2. XpsSignatureDefinition.SpotLocation - Comment ça marche?
- 3. PNRP - Comment ça marche?
- 4. Comment ça marche?
- 5. UIView, comment ça marche?
- 6. aspx.designer.cs comment ça marche?
- 7. WPF: Canvas et zIndex? Comment ça marche?
- 8. Unity 2.0: Comment ça marche?
- 9. C# Async - Comment ça marche?
- 10. Scrapy BaseSpider: Comment ça marche?
- 11. C Tokenizer - Comment ça marche?
- 12. jQuery Plugin - Comment ça marche?
- 13. Jquery. Pourquoi ça marche?
- 14. msdeploy --- ça marche ou ça craint?
- 15. heroku et vendeur/plugins: ça marche?
- 16. git - ça marche sur l'image?
- 17. iAd sur iPad, ça marche?
- 18. Salamander .NET Linker - Comment ça marche?
- 19. Android - ClipDrawable, ScaleDrawable, comment ça marche?
- 20. Laplacien de Gaussian: comment ça marche? (OpenCV)
- 21. Liens de référence - comment ça marche?
- 22. IExtension: modèle d'objet extensible: Comment ça marche?
- 23. SAP Background Job: comment ça marche?
- 24. WPF: ComboBox TextSearch, comment ça marche?
- 25. Google chrome cadre - comment ça marche?
- 26. C#: Comment ça marche: Unit myUnit = 5;
- 27. iPhone Developer Program, comment ça marche?
- 28. L'administrateur introspectif de Django: comment ça marche?
- 29. DRUPAL: Module Spamspan ... comment ça marche?
- 30. Macro ARRAYSIZE C++: comment ça marche?