-
1. TYPO3 setup: How to protect emails
-
Insert the following lines inside the root template setup:
config.spamProtectEmailAddresses = 2
config.spamProtectEmailAddresses_atSubst = (at)
-
2. TYPO3 setup: How to change body tag
-
Insert the following configuration on the page template setup:
page.bodyTag=<body id="myId">
-
3. TYPO3 setup: Page headers configurations
-
For page stylesheet you add the following configuration:
page.stylesheet = fileadmin/css/mystyle.css
For page header extra information (example: extra javascript files, extra css files etc.) you work with page.headerData configuration. An example for this kind of configuration:
page.headerData.10 = USER
page.headerData.10.userFunc = tx_metadata_pi1->getKeywords
page.headerData.20 = HTML
page.headerData.20.value = <script type="text/javascript" src="fileadmin/javascript/jquery.js"></script>
-
4. TYPO3 setup: How to wrap page header
-
Insert the following lines inside the root template setup:
lib.stdheader.10.1.wrap = ‹p›your wrap | ‹/p›
-
5. TYPO3 Setup: How to change header input into textarea
-
1. Add the following line in extTables.php:
$TCA['tt_content']['columns']['header']['config']['type'] = 'text';
2. Modify tt_content table and change the field "header" into "varchar".
-
6. TYPO3 setup: How to insert a typolink
-
Insert the following lines inside typoscript:
temp.loginLink = TEXT
temp.loginLink {
value = Login
typolink.parameter = 5
}
These lines generate: ‹a href="{baseUrl}index.php?id=5"›Login ‹/a›
-
7. TYPO3 setup: How to insert current date from typoscript
-
Insert the following lines inside typoscript:
temp.pageDate = TEXTtemp.pageDate { data = date:U strftime = %A %d %B %Y}
These lines generate today's date in a string.