Feature #15715
closedplugin.tx_anyname._CSS_DEFAULT_STYLE_FILE not provided
0%
Description
May plugins are using _CSS_DEFAULT_STYLE to insert it own stylesheet into the page.
Many of them are hure and people wanted to make them become external css file. Some plugin manual will told people using css @import url(xx);.
But, it do not support EXT: path lookup. User have to make a copy of their stylesheet and than hardcode the path into tstemplate. Also, large tsmptelate isn't a good idea.
I suggest add a new _CSS_DEFAULT_STYLE_FILE. Which wll use TSFE-tmpl->getFileName to reslove the file path.
It may even has addition setting,
e.g.
inline the css in html
copy css to temp folder (make EXT:plugin path hidden from web)
choose html <link> style include, or css @include style include.
Good:
It reduce the size tstemplate.
CSS will be standalone file, easier to edit by editor.
Reduce output html size.
Bad:
will not supported tsconstants in stylesheet.
(issue imported from #M2684)