Add First custom TypoScript
In order to demonstrate how to configure rendering of TYPO3. !!!: Don't forget to include the static template within sys_template record.
This commit is contained in:
parent
63a65e3447
commit
1cea5afb5c
3 changed files with 18 additions and 0 deletions
|
@ -0,0 +1,10 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
// See: https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ExtensionArchitecture/FileStructure/Configuration/TCA/Index.html
|
||||||
|
// See: https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ExtensionArchitecture/FileStructure/Configuration/TypoScript/Index.html
|
||||||
|
|
||||||
|
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
|
||||||
|
'sitepackage',
|
||||||
|
'Configuration/TypoScript',
|
||||||
|
'Sitepackage'
|
||||||
|
);
|
|
@ -0,0 +1,4 @@
|
||||||
|
page {
|
||||||
|
11 = TEXT
|
||||||
|
11.value = Hello World
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
// See: https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ExtensionArchitecture/FileStructure/Configuration/TypoScript/Index.html
|
||||||
|
// See: https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/Configuration/TypoScriptSyntax/Index.html
|
||||||
|
|
||||||
|
<INCLUDE_TYPOSCRIPT: source="DIR:EXT:sitepackage/Configuration/TypoScript/Setup/" extensions="typoscript">
|
Loading…
Reference in a new issue