Use your own label for content headers
17. September 2015
Page TSConfing:
TCEFORM.tt_content.header_layout { ## Rename content headers altLabels.1 = FIRST BIG Header altLabels.2 = Header2 altLabels.3 = Customized Header3 altLabels.100 = LLL:fileadmin/shared_locallang.xml:label_header_hidden } TCEFORM.tt_content.header_layout { ## Remove content headers removeItems = 0,4,5 }
redirect domain.tld to www.domainname.tld with htaccess
22. March 2015
RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.domain\.com$ RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
Include TSconfig and TypoSript-Root-Template from files
19. February 2015
<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/ts/TSconfig.ts"> <INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/ts/root-template.ts">
Automatic cache clearing TYPO3 6.2.X , 4.5.X
1. February 2015
TYPO3 6.2.x :
options.clearCache.pages = 1 options.clearCache.all = 1
TYPO3 4.5.x TSconfig:
TCEMAIN.clearCacheCmd = pageId,pageId //or TCEMAIN.clearCacheCmd = all
You can find an article with more information here.
TYPO3 6.2.x set your own body class
14. October 2014
page.bodyTag > page.bodyTagCObject = TEXT page.bodyTagCObject.value = tpl-home page.bodyTagCObject.value.wrap = <body class="|">
Use your own labels for TYPO3 login form (felogin)
19. September 2014
plugin.tx_felogin_pi1._LOCAL_LANG.de { ll_welcome_header = Usereranmeldung ll_welcome_message = Bitte melden Sie sich an! }
Insert custom Javascript from external file
11. August 2014
<script type="text/javascript" src="{{env::files_url}}files/template/js/main.js"></script>
.htaccess protection on folder for specific domain, multi-domain-sites
10. April 2014
########################################################################## # Password-protection for domain-b.tld --> domain-a.tld is still available SetEnvIfNoCase Host ^www\.domain-b\.tld$ SECURED=yes AuthType Basic AuthName "Restricted area of domain-b.tld" AuthUserFile /var/www/vhosts/www.domain-b.tld/.htpasswd Require valid-user Satisfy any Order allow,deny Allow from all Deny from env=SECURED ##########################################################################
TemplaVoila 1.8.0 Error
25. February 2014
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /../typo3conf/ext/templavoila/classes/class.tx_templavoila_file.php on line 78
Parse error: syntax error, unexpected T_STRING in /../typo3conf/ext/templavoila/classes/class.tx_templavoila_file.php on line 100
You need php 5.3.x for TemplaVoila 1.8.0. After migration to an other server with php 5.2.X you will get this error.
language label without conditional statement Typoscript
5. February 2014
lib.field_footer.7 = TEXT
lib.field_footer.7.value = <h4>Recommend us</h4>
lib.field_footer.7.lang.de = <h4>Empfehlen Sie uns</h4>