|
|
|
At the moment we have an annoying problem where some YUI libraries rely on related CSS files. This means that if you do $PAGE->requries->yui_lib on some libraries after $OUTPUT->header you get an exception.
Instead, we should adopt an approach more like we do with plugin sheets. There should be a $THEME->yuisheets in theme_config which defaults to true, and if that is true, then theme/styles.php should include all the CSS for all the YUI components in the output it is building.
The list of CSS files that are needed should come from the big array of dependencies in ajaxlib.php
|
|
Description
|
At the moment we have an annoying problem where some YUI libraries rely on related CSS files. This means that if you do $PAGE->requries->yui_lib on some libraries after $OUTPUT->header you get an exception.
Instead, we should adopt an approach more like we do with plugin sheets. There should be a $THEME->yuisheets in theme_config which defaults to true, and if that is true, then theme/styles.php should include all the CSS for all the YUI components in the output it is building.
The list of CSS files that are needed should come from the big array of dependencies in ajaxlib.php |
Show » |
made changes - 18/Aug/09 10:58 AM
made changes - 19/Aug/09 04:02 PM
made changes - 19/Aug/09 04:07 PM
|