3e32b194 | 22-Feb-2017 |
Gerry Weißbach <gerry.w@gammaproduction.de> |
Remove the flavour feature. It was some kind of a hassle. If you really want to filter out styles, you have to write a plugin either way and implement the tpl metaheaders event as well and handle eve
Remove the flavour feature. It was some kind of a hassle. If you really want to filter out styles, you have to write a plugin either way and implement the tpl metaheaders event as well and handle everything your self.
The CSS modification is more like the JS_SCRIPT_LIST now. It adds some overhead, but not too much. It still gives great flexibility over the CSS.
show more ...
|
ef36714b | 09-Feb-2017 |
Gerry Weißbach <gerry.w@gammaproduction.de> |
Use the flavour system to create individual css files. Only the default flavour (style / style.ini) will have the default styles for interwiki and filetypes. There are two new events:
1. CSS_STYLES
Use the flavour system to create individual css files. Only the default flavour (style / style.ini) will have the default styles for interwiki and filetypes. There are two new events:
1. CSS_STYLES_INCLUDED to modify the list of stylesheet files for a certain mediatype or prevent the mediatype or styles within it. This event is fired for the interwiki and filetypes too, to prevent that they are included * The Data that is being sent to the event contains: list of files or the keyword DW_DEFAULT for the interwiki / filetypes; the mediatype, the flavour, if the data should be encapsulated by a default @media and the encapsualation prefix (e.g. @media screen) 2. CSS_CACHE_USE to prevent the use of a cached version of the CSS, just like the JS event that already exists.
show more ...
|
82edff4d | 09-Feb-2017 |
Gerry Weißbach <gerry.w@gammaproduction.de> |
Add flavours to template ini files. The template will now be checked for multiple ini files and inserts them as a custom flavours. The css.php can detect these flavours and reads the stylesheet + rep
Add flavours to template ini files. The template will now be checked for multiple ini files and inserts them as a custom flavours. The css.php can detect these flavours and reads the stylesheet + replacements from there. If the flavour is not the default one (style.ini), replacements are loaded from the default flavour first to ensure that the colours are available. Flavours can define their own set of replacements.
show more ...
|
6d3bebff | 08-Feb-2017 |
Gerry Weißbach <gerry.w@gammaproduction.de> |
Add Event to modify the list of javascript files before they are processed. This allows plugins to not have their - or other plugins - script delivered to the client. Creating the list of files upfro
Add Event to modify the list of javascript files before they are processed. This allows plugins to not have their - or other plugins - script delivered to the client. Creating the list of files upfront might add a little overhead which I think is OK when you can be certain that only JavaScript that really is needed will be delivered to the client.
Multiple Javascript requests, e.g. to only send the jQuery part or just editor/administrator scripts, could be implemented with this modification (I know, jQuery has already been split).
show more ...
|