Project

General

Profile

Actions

Feature #15715

closed

plugin.tx_anyname._CSS_DEFAULT_STYLE_FILE not provided

Added by old_hkdennis2k over 18 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-02-24
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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)

Actions

Also available in: Atom PDF