PDA

View Full Version : Administrative and Maintenance Tools - ragtek yui loader


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

mbc100
10-20-2009, 11:23 AM
thank u

Floris
10-21-2009, 12:50 PM
Thank you for sharing :)

Green Cat
10-26-2009, 06:15 PM
Thanks for sharing ;)