Zum Inhalt springen

Typoe 6.0 Doctype

Erstellt am 20. Januar 2013 · 5 Antworten · letzte Antwort am 21. Januar 2013

Tags: Frage

DarkNemesis ·

Die Doctype definition funktioniert scheinbar nicht mehr oder nicht mehr so wie früher.

Folgender TS Code:

config {
  sys_language_uid = 0
  language = de
  locale_all = de_DE
  
  doctype = html_5
  htmlTag_setParams = lang="de" dir="ltr"
  metaCharset = utf-8

  disablePrefixComment = 1
  
  noPageTitle = 1
  
  # Cool Uri
  tx_cooluri_enable = 1
  redirectOldLinksToNew = 1
}

ergibt jedenfalls diese HTML Ausgabe.

html_5
<html lang="de" dir="ltr">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- 
	This website is powered by TYPO3 - inspiring people to share!
	TYPO3 is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.
	TYPO3 is copyright 1998-2012 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
	Information and contribution at http://typo3.org/
-->


<link rel="shortcut icon" href="http://www.hochzeitsfotograf-xanten.de/fileadmin/images/favicon.ico" type="">
<link rel="icon" href="http://www.hochzeitsfotograf-xanten.de/fileadmin/images/favicon.ico" type="">
<title>Der Hochzeitsfotograf für Xanten</title>
<meta name="generator" content="TYPO3 6.0 CMS">
LuP ·

Hallo,

für TYPO3 CMS 6 heißt es:

config.doctype = html5

Da gilt auch für alle Versionen ab 4.5.0.

VG,
LuP

DarkNemesis ·

Ja, das wars.

Es muss aber auch bei typo 4.6 noch html_5 heißen bzw. gehen, denn ich habe auch davon eine installation wo es
genau so steht 😉

LuP ·
DarkNemesis schrieb

Es muss aber auch bei typo 4.6 noch html_5 heißen bzw. gehen

ja, da hast Du recht. Seit 4.5 deprecated und in 4.7 entfernt.

Danke für den Hinweis 😉

VG,
LuP