Use your own label for content headers

17. September 2015

0 Kommentare

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
}

¬ geschrieben von 7masod7 in TYPO3

redirect domain.tld to www.domainname.tld with htaccess

22. March 2015

0 Kommentare


RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.domain\.com$
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

¬ geschrieben von 7masod7 in shell, Uncategorized

Include TSconfig and TypoSript-Root-Template from files

19. February 2015

0 Kommentare


<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/ts/TSconfig.ts">

<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/ts/root-template.ts">

¬ geschrieben von 7masod7 in TYPO3

Automatic cache clearing TYPO3 6.2.X , 4.5.X

1. February 2015

0 Kommentare

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.

¬ geschrieben von 7masod7 in Uncategorized

TYPO3 6.2.x set your own body class

14. October 2014

0 Kommentare


page.bodyTag >
page.bodyTagCObject = TEXT
page.bodyTagCObject.value = tpl-home
page.bodyTagCObject.value.wrap = <body class="|">

¬ geschrieben von 7masod7 in TYPO3

Use your own labels for TYPO3 login form (felogin)

19. September 2014

0 Kommentare

plugin.tx_felogin_pi1._LOCAL_LANG.de {

ll_welcome_header = Usereranmeldung
ll_welcome_message = Bitte melden Sie sich an!
}

¬ geschrieben von 7masod7 in extensions, TYPO3

Insert custom Javascript from external file

11. August 2014

0 Kommentare

<script type="text/javascript" src="{{env::files_url}}files/template/js/main.js"></script>

¬ geschrieben von 7masod7 in contao

.htaccess protection on folder for specific domain, multi-domain-sites

10. April 2014

0 Kommentare

##########################################################################
# 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
##########################################################################

¬ geschrieben von 7masod7 in Uncategorized

TemplaVoila 1.8.0 Error

25. February 2014

0 Kommentare


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.

¬ geschrieben von 7masod7 in TYPO3

language label without conditional statement Typoscript

5. February 2014

0 Kommentare

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>

¬ geschrieben von 7masod7 in TYPO3

Theme von BenediktRB • Powered by Wordpress • Abonniere den RSS Feed