RSS Feed

Posts Tagged ‘snippets’

  1. Typo3 Typoscript snippet Basic configuration

    November 3, 2011 by admin

    I develop a lot of HTML Typoscript templates for Typo3, without Templavoila or any other fancy extensions. With the release of Typo3 4.5 and the introduction of Backend Layouts there have been a lot of improvements which make Templavoila obsolete in many scenarios.

    I will post a few Typoscript snippets I use in a lot of projects over the next few weeks.

    Basic configuration stuff

    config {
      language = de
      locale_all = de_DE
      doctype = html5
      htmlTag_setParams = lang="de
      prologue = none
      metaCharset = utf-8
      htmlTag_langKey = de-DE
      linkVars = L
      sys_language_uid = 1
      spamProtectEmailAddresses = 1
      spamProtectEmailAddresses_atSubst =  (at) 
    }

    What this does is to set the language to german, define language url parameters for a multi language setup and try to protect standard email addresses.

     

    More to come soon …