{"id":861,"date":"2015-08-27T14:15:44","date_gmt":"2015-08-27T14:15:44","guid":{"rendered":"http:\/\/www.taywa.ch\/blog\/?p=861"},"modified":"2016-01-21T14:46:08","modified_gmt":"2016-01-21T14:46:08","slug":"noetige-anpassungen-fuer-typo3-upgrade-von-4-5-auf-6-2","status":"publish","type":"post","link":"https:\/\/www.taywa.ch\/blog\/typo3\/noetige-anpassungen-fuer-typo3-upgrade-von-4-5-auf-6-2\/","title":{"rendered":"N\u00f6tige Anpassungen f\u00fcr typo3 upgrade von 4.5 auf 6.2"},"content":{"rendered":"<p><strong>Vorbereitungen in der Version 4.5<\/strong><\/p>\n<ul>\n<li>Extension so weit wie m\u00f6glich Updaten<\/li>\n<li>Kurz testen ob die Seite nach dem Extension-Update noch funktioniert.<\/li>\n<li>Login in Install Tool typo3\/install und unter &#8222;Database Analyser &#8222;&gt; COMPARE Datenbankfelder aufr\u00e4umen<\/li>\n<\/ul>\n<p><strong>Auf TYPO3 6.2 zeigen<\/strong><\/p>\n<pre class=\"wiki\" style=\"color: #000000;\">ln -sfTv ..\/..\/typo3_src-6.2.latest typo3_src\nrm t3lib\nrm typo3conf\/temp_CACHED*\nrm -rf typo3temp\/*\ntouch typo3conf\/ENABLE_INSTALL_TOOL<\/pre>\n<p><strong>Install Tool unter 6.2\u00a0<\/strong><\/p>\n<ol>\n<li>Install Tool \u00a0unter typo3\/install aufrufen<\/li>\n<li>&#8222;Upgrade Wizard&#8220; durchgehen: &#8222;Perform updates!&#8220; click -&gt; &#8222;Go to the next update wizard&#8220; click<\/li>\n<li>&#8222;Folder structure&#8220; \u00fcberpr\u00fcfen -&gt; \u00a0mit &#8222;Try to fix file and folder permissions&#8220; flicken<\/li>\n<li>&#8222;Clean up&#8220; &gt; &#8222;Clear tables&#8220; alles L\u00f6schen<\/li>\n<\/ol>\n<p><strong>Anpassungen der Spaltenansicht\u00a0im Backend<\/strong><br \/>\nDaf\u00fcr wird auf der Rootseite (PID 1) ein \u00a0&#8222;backend layout&#8220; gmachen, da sonst alle vier Spalten angezeigt werden:<\/p>\n<ul>\n<li>Listenansicht &gt; New &gt; System Records &gt; Backend Layout<\/li>\n<\/ul>\n<p>Fr\u00fcher wurde die Spaltenconfiguration \u00fcber\u00a0Page TSConfig der Root Seite gemacht mit:<\/p>\n<pre class=\"lang:default decode:true\">### Spalten definieren\n### 0=Normal, 1=Left, 2=Right, 3=Border\nmod.SHARED {\n  colPos_list= 0\n}\n<\/pre>\n<p>Neu mit &#8222;Backend Layout&#8220;, mit Titel\u00a0&#8222;Normal&#8220; in root page:<\/p>\n<pre class=\"lang:default decode:true\">backend_layout {\n\tcolCount = 1\n\trowCount = 1\n\trows {\n\t\t1 {\n\t\t\tcolumns {\n\t\t\t\t1 {\n\t\t\t\t\tname = Normal\n\t\t\t\t\tcolPos = 0\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n<\/pre>\n<p>Variante f\u00fcr\u00a0drei Spalten:<\/p>\n<pre class=\"lang:default decode:true\">mod.SHARED {\n  colPos_list= 0,1,2\n}<\/pre>\n<p>Mit Backend Layout, mit Titel &#8222;Normal\/Links\/Rechts&#8220;<\/p>\n<pre class=\"lang:default decode:true\">backend_layout {\n colCount = 3\n    rowCount = 1\n    rows {\n      1 {\n         columns {\n               1 {\n                 name = Normal\n                   colPos = 0\n              }\n               2 {\n                 name = Links\n                   colPos = 1\n              }\n               3 {\n                 name = Rechts\n                   colPos = 2\n              }\n           }\n       }\n   }\n}<\/pre>\n<p>Auf der Rootseite \u00a0(PID 1) \u00a0wird dann ein \u00a0&#8222;Backend Layout&#8220;, z.B &#8222;&#8220;Normal&#8220;&#8220; ausgew\u00e4hlt, einmal f\u00fcr die Seite selbst und dann als Vererbung f\u00fcr die Unterseiten.<\/p>\n<ul>\n<li>Edit Page &gt; Appearence &gt; Backend Layout (this page only)<\/li>\n<li>Edit Page &gt; Appearence &gt; Backend Layout (subpages of this page)<\/li>\n<\/ul>\n<p><strong>Anpassungen f\u00fcr DAM (Digital Asset\u00a0Management)<\/strong><br \/>\nIn den Rechte einer Gruppe mit Usern:<\/p>\n<p>Backend usergroup &gt; Access Lists &gt; Tables Listing<\/p>\n<pre>File, File Metadata, File Reference<\/pre>\n<p>anw\u00e4hlen<\/p>\n<p>Backend usergroup &gt; Access Lists &gt; Tables Modify<\/p>\n<pre>File, File Metadata, File Reference<\/pre>\n<p>anw\u00e4hlen<\/p>\n<p>Backend usergroup &gt; Access Lists &gt; Allowed excludefields<\/p>\n<pre> File Metadata: Title<\/pre>\n<pre class=\"\"> File Reference (alle Vier): Alternative Text, Description, Link, Title<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Doctype anpassen:<\/strong><\/p>\n<p>Fr\u00fcher haben wir &#8222;config.doctype = xhtml_trans&#8220; genutzt im Setup des Root Templates, neu nutzen wir:<\/p>\n<pre class=\"lang:default decode:true \">config.doctype = html5<\/pre>\n<p><strong>Anpassungen f\u00fcr Extension &#8222;RealUrl&#8220;<\/strong><\/p>\n<p>Fr\u00fcher haben wir &#8222;config.baseURL = http:\/\/www.example.com&#8220; genutzt im Setup des Root Templates, neu nutzen wir:<\/p>\n<pre class=\"lang:default decode:true \">config.absRefPrefix = \/<\/pre>\n<p><strong>Aktivieren der Extension &#8222;rsaauth&#8220;<\/strong><\/p>\n<p>Die Core Extension &#8222;rsaauth&#8220; erm\u00f6glicht eine Verschl\u00fcssellung des Passworts beim Login in das Backend. \u00a0Die Extension muss \u00fcber den Extension Manager aktiviert werden und \u00fcber \u00a0typo3conf\/LocalConfiguration.php konfiguriert\u00a0werden:<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\nreturn array(\n\t'BE' =&gt; array(\n\t\t'loginSecurityLevel' =&gt; 'rsa',\n\t),\n)<\/pre>\n<p><strong>Updaten der Extension unter TYPO3 6.2<\/strong><\/p>\n<p>Zum Abschluss nochmals die Extensiondatenbank updaten und gucken ob es updates gibt.<\/p>\n<p><strong>Updaten der Sprache\u00a0unter TYPO3 6.2<\/strong><\/p>\n<p>Unter &#8222;Admin Tools&#8220; &gt; &#8222;Language&#8220; deutsch updaten.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Installationsspezifische Anpassungen<\/strong><\/p>\n<p>Wir haben in unseren Projekten dieses Standartwrapping in TYPO 4.5:<\/p>\n<pre class=\"lang:default decode:true\">tt_content.stdWrap.innerWrap.cObject {\n\tdefault.14 = LOAD_REGISTER\n\tdefault.14  {\n    \t\t\tContCounter.cObject = TEXT\n   \t\t\t\tContCounter.cObject.data = register:ContCounter\n  \t\t\t\tContCounter.cObject.wrap = |+1\n  \t\t\t\tContCounter.prioriCalc = intval\n  \t\t\t\t }\n\n\tdefault.15.value = csc-default {field:CType}-cont c{register:ContCounter}\n    default.15.insertData = 1\n}<\/pre>\n<p>Neu muss das so geschrieben werden:<\/p>\n<pre class=\"lang:default decode:true\">tt_content.stdWrap.innerWrap2 &gt;\ntt_content.stdWrap.innerWrap.cObject.default.20 {\n\t5 = LOAD_REGISTER\n\t5  {\n\t\tContCounter.cObject = TEXT\n\t\tContCounter.cObject.data = register:ContCounter\n\t\tContCounter.cObject.wrap = |+1\n\t\tContCounter.prioriCalc = intval\n\n\t\tinitOpen.cObject = TEXT\n\t\tinitOpen.cObject {\n\t\t\tvalue = open\n\t\t\tstdWrap.if.isTrue.field = linkToTop\n\t\t}\n\t}\n\n\t10.value = csc-default {field:CType}-cont c{register:ContCounter} {register:initOpen}\n\n\t10.insertData = 1\n}<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Feld Subheader von tt_content nutzen:<\/strong><\/p>\n<p>Im LocalConfiguration.php hinzuf\u00fcgen<\/p>\n<pre class=\"lang:default decode:true\">return array(\n'DB' =&gt; array(\n'extTablesDefinitionScript' =&gt; 'extTables.php',\n )\n)\n..<\/pre>\n<p>extTables.php unter typo3conf:<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php \n\n\\TYPO3\\CMS\\Core\\Utility\\ExtensionManagementUtility::addFieldsToPalette('tt_content','header','--linebreak--,subheader;LLL:EXT:cms\/locallang_ttc.xlf:subheader_formlabel','after:header');<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Weiter Artikel zum Typo3 Upgrade:<\/strong><\/p>\n<ul>\n<li><a title=\"Verhalten der Dateien (Bilder, pdf) bei TYPO3 6.2 wenn man sie ersetzt oder unbennent\" href=\"https:\/\/www.taywa.ch\/blog\/allgemein\/verhalten-der-datien-in-typo-6-2-beim-ersetzen\/\">Verhalten der Dateien (Bilder, pdf) bei TYPO3 6.2 wenn man sie ersetzt oder unbennent<\/a><\/li>\n<li><a title=\"\/typo3\/uploads\/pics\/ Ordner nach Migration von TYPO3 4.5 auf  6.2\" href=\"http:\/\/www.taywa.ch\/blog\/typo3\/typo3uploadspics-ordner-nach-migration-von-typo3-4-5-auf-6-2\/\">\/typo3\/uploads\/pics\/ Ordner nach Migration von TYPO3 4.5 auf \u00a06.2<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Vorbereitungen in der Version 4.5 Extension so weit wie m\u00f6glich Updaten Kurz testen ob die Seite nach dem Extension-Update noch funktioniert. Login in Install Tool typo3\/install und unter &#8222;Database Analyser &#8222;&gt; COMPARE Datenbankfelder aufr\u00e4umen Auf TYPO3 6.2 zeigen ln -sfTv ..\/..\/typo3_src-6.2.latest typo3_src rm t3lib rm typo3conf\/temp_CACHED* rm -rf typo3temp\/* touch typo3conf\/ENABLE_INSTALL_TOOL Install Tool unter 6.2\u00a0<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,3,112,136,166],"tags":[],"class_list":["post-861","post","type-post","status-publish","format-standard","hentry","category-extension-konfiguration","category-typo3","category-typo3-4-5","category-typo3-6","category-typo3-upgrade"],"_links":{"self":[{"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/posts\/861","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/comments?post=861"}],"version-history":[{"count":32,"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/posts\/861\/revisions"}],"predecessor-version":[{"id":1034,"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/posts\/861\/revisions\/1034"}],"wp:attachment":[{"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/media?parent=861"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/categories?post=861"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/tags?post=861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}