Here's the complete reference of the TypoScript options for the plugin. Remember that you can set each one through the constant editor.
Property: | Data type: | Description: | Default: |
|---|---|---|---|
recursive | boolean | Also check for stylesheet(s) on the parent pages. | 1 |
xHTML | boolean | Use XHTML rules for the geeration of tags. | 1 |
cssUseImportForPersistent | boolean | Use @import directives for inclusion of persistent stylesheets. | 0 |
cssComments | boolean | Add CSS comments in the HTML source code. | 1 |
cssMimeType | string | The MIME type of the stylesheet(s). | text/css |
cssCharset | string | The charset parameter of the <link> tag. | utf-8 |
[tsref:plugin.tx_afcssselect_pi1.]
Configuration of the directory for the “Standard Stylesheet” resource type happens in the Page TSConfig. Available options can be found in the table below. Defaults for the configuration options can be set in the extension manager.
Property: | Data type: | Description: | Default: |
|---|---|---|---|
cssDirectory | string | The directory for Standard Stylesheets, relative to the site path. | |
cssDirectory.recursive | boolean | If set, show files from the cssDirectory recursively. | |
cssExtension | string | The extension of the CSS files that should be shown in the selector. |
[tsref:tx_afcssselect.]
Note that it might lead to unexpected results if a page inherits “Standard Stylesheet” type records from a page with a different value for the cssDirectory setting.