[FEATURE] Add backend for loading translations via ajax
This commit is contained in:
@@ -14,6 +14,21 @@ plugin.tx_templatesaide_dummy {
|
||||
}
|
||||
}
|
||||
|
||||
plugin.tx_templatesaide_translationplugin {
|
||||
view {
|
||||
# cat=plugin.tx_templatesaide_translationplugin/file; type=string; label=Path to template root (FE)
|
||||
templateRootPath = EXT:templates_aide/Resources/Private/Templates/
|
||||
# cat=plugin.tx_templatesaide_translationplugin/file; type=string; label=Path to template partials (FE)
|
||||
partialRootPath = EXT:templates_aide/Resources/Private/Partials/
|
||||
# cat=plugin.tx_templatesaide_translationplugin/file; type=string; label=Path to template layouts (FE)
|
||||
layoutRootPath = EXT:templates_aide/Resources/Private/Layouts/
|
||||
}
|
||||
persistence {
|
||||
# cat=plugin.tx_templatesaide_translationplugin//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
|
||||
|
||||
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:templates_aide/Resources/Private/TypoScript/constants.ts">
|
||||
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:templates_aide/Resources/Private/TypoScript/constants.ts">
|
||||
@@ -1,11 +1,11 @@
|
||||
|
||||
plugin.tx_templatesaide_dummy {
|
||||
view {
|
||||
templateRootPaths.0 = EXT:{extension.shortExtensionKey}/Resources/Private/Templates/
|
||||
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:tx_templatesaide/Resources/Private/Layouts/
|
||||
layoutRootPaths.0 = EXT:templates_aide/Resources/Private/Layouts/
|
||||
layoutRootPaths.1 = {$plugin.tx_templatesaide_dummy.view.layoutRootPath}
|
||||
}
|
||||
persistence {
|
||||
@@ -24,6 +24,31 @@ plugin.tx_templatesaide_dummy {
|
||||
}
|
||||
}
|
||||
|
||||
plugin.tx_templatesaide_translationplugin {
|
||||
view {
|
||||
templateRootPaths.0 = EXT:templates_aide/Resources/Private/Templates/
|
||||
templateRootPaths.1 = {$plugin.tx_templatesaide_translationplugin.view.templateRootPath}
|
||||
partialRootPaths.0 = EXT:templates_aide/Resources/Private/Partials/
|
||||
partialRootPaths.1 = {$plugin.tx_templatesaide_translationplugin.view.partialRootPath}
|
||||
layoutRootPaths.0 = EXT:templates_aide/Resources/Private/Layouts/
|
||||
layoutRootPaths.1 = {$plugin.tx_templatesaide_translationplugin.view.layoutRootPath}
|
||||
}
|
||||
persistence {
|
||||
storagePid = {$plugin.tx_templatesaide_translationplugin.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 {
|
||||
|
||||
Reference in New Issue
Block a user