[TASK] Add some typoscript
This commit is contained in:
17
Configuration/TypoScript/constants.ts
Normal file
17
Configuration/TypoScript/constants.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
plugin.tx_templatesaide_dummy {
|
||||
view {
|
||||
# cat=plugin.tx_templatesaide_dummy/file; type=string; label=Path to template root (FE)
|
||||
templateRootPath = EXT:templates_aide/Resources/Private/Templates/
|
||||
# cat=plugin.tx_templatesaide_dummy/file; type=string; label=Path to template partials (FE)
|
||||
partialRootPath = EXT:templates_aide/Resources/Private/Partials/
|
||||
# cat=plugin.tx_templatesaide_dummy/file; type=string; label=Path to template layouts (FE)
|
||||
layoutRootPath = EXT:templates_aide/Resources/Private/Layouts/
|
||||
}
|
||||
persistence {
|
||||
# cat=plugin.tx_templatesaide_dummy//a; type=string; label=Default storage PID
|
||||
storagePid =
|
||||
}
|
||||
}
|
||||
|
||||
## EXTENSION BUILDER DEFAULTS END TOKEN - Everything BEFORE this line is overwritten with the defaults of the extension builder
|
||||
65
Configuration/TypoScript/setup.ts
Normal file
65
Configuration/TypoScript/setup.ts
Normal file
@@ -0,0 +1,65 @@
|
||||
|
||||
plugin.tx_templatesaide_dummy {
|
||||
view {
|
||||
templateRootPaths.0 = EXT:templates_aide/Resources/Private/Templates/
|
||||
templateRootPaths.1 = {$plugin.tx_templatesaide_dummy.view.templateRootPath}
|
||||
partialRootPaths.0 = EXT:templates_aide/Resources/Private/Partials/
|
||||
partialRootPaths.1 = {$plugin.tx_templatesaide_dummy.view.partialRootPath}
|
||||
layoutRootPaths.0 = EXT:templates_aide/Resources/Private/Layouts/
|
||||
layoutRootPaths.1 = {$plugin.tx_templatesaide_dummy.view.layoutRootPath}
|
||||
}
|
||||
persistence {
|
||||
storagePid = {$plugin.tx_templatesaide_dummy.persistence.storagePid}
|
||||
#recursive = 1
|
||||
}
|
||||
features {
|
||||
#skipDefaultArguments = 1
|
||||
# if set to 1, the enable fields are ignored in BE context
|
||||
ignoreAllEnableFieldsInBe = 0
|
||||
# Should be on by default, but can be disabled if all action in the plugin are uncached
|
||||
requireCHashArgumentForActionArguments = 1
|
||||
}
|
||||
mvc {
|
||||
#callDefaultActionIfActionCantBeResolved = 1
|
||||
}
|
||||
}
|
||||
|
||||
# these classes are only used in auto-generated templates
|
||||
plugin.tx_templatesaide._CSS_DEFAULT_STYLE (
|
||||
textarea.f3-form-error {
|
||||
background-color:#FF9F9F;
|
||||
border: 1px #FF0000 solid;
|
||||
}
|
||||
|
||||
input.f3-form-error {
|
||||
background-color:#FF9F9F;
|
||||
border: 1px #FF0000 solid;
|
||||
}
|
||||
|
||||
.tx-templates-aide table {
|
||||
border-collapse:separate;
|
||||
border-spacing:10px;
|
||||
}
|
||||
|
||||
.tx-templates-aide table th {
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.tx-templates-aide table td {
|
||||
vertical-align:top;
|
||||
}
|
||||
|
||||
.typo3-messages .message-error {
|
||||
color:red;
|
||||
}
|
||||
|
||||
.typo3-messages .message-ok {
|
||||
color:green;
|
||||
}
|
||||
)
|
||||
|
||||
## EXTENSION BUILDER DEFAULTS END TOKEN - Everything BEFORE this line is overwritten with the defaults of the extension builder
|
||||
|
||||
plugin.tx_templatesaide._CSS_DEFAULT_STYLE >
|
||||
|
||||
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:templates_aide/Resources/Private/TypoScript/setup.ts">
|
||||
Reference in New Issue
Block a user