ragtek
10-19-2009, 10:00 PM
This add-on enables to dynamically add YUI components without str_replace & Template modifications.
To add a new component, simply add a new plugin on hook style_fetch with the following code:
$ yui_components [] = 'xxx';
replace xxx with the element name.
Learn More: http://developer.yahoo.com/yui/phploader/#modulenames
The archive contains a class that is under the BSD license.
Attention, the zip file contains a german readme file.
Installation:
Search in the headinclude for<script type="text/javascript" src="$stylevar[yuipath]/yahoo-dom-event/yahoo-dom-event.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript" src="$stylevar[yuipath]/connection/connection-min.js?v=$vboptions[simpleversion]"></script> replace it with$ragtek_yuifilesfiles
To add a new component, simply add a new plugin on hook style_fetch with the following code:
$ yui_components [] = 'xxx';
replace xxx with the element name.
Learn More: http://developer.yahoo.com/yui/phploader/#modulenames
The archive contains a class that is under the BSD license.
Attention, the zip file contains a german readme file.
Installation:
Search in the headinclude for<script type="text/javascript" src="$stylevar[yuipath]/yahoo-dom-event/yahoo-dom-event.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript" src="$stylevar[yuipath]/connection/connection-min.js?v=$vboptions[simpleversion]"></script> replace it with$ragtek_yuifilesfiles