Last active
November 28, 2019 11:18
-
-
Save mkrappitz/fd0a891f788158573dde8bb77a472835 to your computer and use it in GitHub Desktop.
Notizen aus der TYPO3Camp Hamburg 2018 Session zum TYPO3 Update eines Projekts von 6 auf 9.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hier meine Notizen-Liste für das TYPO3 CMS Update der Installation https://www.kastrati.com/ auf dem Samstag des TYPO3Camp Hamburg 2018. Macht überwiegend nur Sinn für Teilnehmer der Session: | |
- AdditionalConfiguration.php für DB Verbindung anpassen | |
- DB Compare ausführen | |
- Preview Domain im PageTs setzen | |
- TS Conditions für Frontend auf Dev Umgebung setzen (baseurl, ...) | |
- extension updates (EXT:powermail nur bis 2.25.3) | |
- EXT:realurl Configuration fixen bzgl. globaler Variable | |
- EXT:metaseo installieren, Daten umschreiben, Static TS ändern, Constants ändern | |
- php auf 7.1 hoch | |
- TYPO3 Core Update auf 7.6 | |
- Extension Updates machen | |
- EXT:flux grid viewhelper entfernen | |
- Translations updaten | |
- EXT:css_styled_content deinstallieren, EXT:fluid_styled_content installieren, Upgrade Wizard ausführen, Static TS ändern, CSS anpassen | |
- Entweder mysql: UPDATE tt_content SET header_layout = 1 WHERE header_layout = 0; oder Default header type per TS setzen | |
- Language ISO codes in sys_language setzen | |
- EXT:powermail auf 3.22.1, upgrade wizard, autoload cache leeren, css anpassungen: | |
.powermail_label { width:200px; display:inline-block; float: left; } | |
.powermail_legend { color:#e7a539; font-weight:bold; margin:20px 0 5px; } | |
.powermail_input, .powermail_field { width:280px; padding:3px 5px; float: left; } | |
.powermail_fieldwrap_textarea, | |
.powermail_fieldwrap_input { margin-bottom:5px; } | |
.powermail_fieldwrap { position:relative; clear: both; } | |
- TYPO3 Core update auf 8.7 | |
- DB Anpassungen in AdditionalConfiguration.php machen | |
- Clear All Cache | |
- Extension Updates machen | |
- Translations updaten | |
- In EXT:kastratielements, dependency auf EXT:fluidcontent entfernen, ext_localconf.php erstellen mit | |
if (!defined('TYPO3_MODE')) { | |
die('Access denied.'); | |
} | |
// fix for https://github.com/FluidTYPO3/flux/issues/1442 in flux 8 | |
if (TYPO3_MODE == 'FE') { | |
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['includeStaticTypoScriptSources'][] = \FluidTYPO3\Flux\Backend\TableConfigurationPostProcessor::class . '->processData'; | |
} | |
\FluidTYPO3\Flux\Core::registerTemplateAsContentType('AEMKA.Kastratielements', 'EXT:kastratielements/Resources/Private/Templates/Content/Container3cols.html'); | |
\FluidTYPO3\Flux\Core::registerTemplateAsContentType('AEMKA.Kastratielements', 'EXT:kastratielements/Resources/Private/Templates/Content/Example.html'); | |
und | |
\FluidTYPO3\Flux\Core::registerProviderExtensionKey('kastratielements', 'Content'); | |
entfernen | |
- EXT:fluidcontent löschen, EXT:kastratielements wieder installieren, dass seltsamer deinstalliert wurde | |
- Optional: Icon kopieren und in Elementen per <flux:form.option.icon value="EXT:kastratielements/Resources/Public/Icons/Content/Example.svg" /> setzen | |
- CTypes umsetzen per | |
UPDATE tt_content SET CType = "flux_container3cols" WHERE tx_fed_fcefile = "kastratielements:Container3cols.html"; | |
UPDATE tt_content SET CType = "flux_example" WHERE tx_fed_fcefile = "kastratielements:Example.html"; | |
- lib.contentElement zu lib.renderContentElement umbenennen | |
- EXT:rte_ckeditor installieren | |
- alte RTE PagetsConfig raus | |
- Update auf EXT:flux 9 | |
- Enfügen colPos in Container Element columns | |
- Migration der Kindelemente des Containers mit | |
UPDATE `tt_content` SET colPos = CONCAT(tx_flux_parent, "10") WHERE tx_flux_column = "content.left"; | |
UPDATE `tt_content` SET colPos = CONCAT(tx_flux_parent, "11") WHERE tx_flux_column = "content.middle"; | |
UPDATE `tt_content` SET colPos = CONCAT(tx_flux_parent, "12") WHERE tx_flux_column = "content.right"; | |
- Optional: Icon und Group name neu setzen in den Flux Elementen | |
- flux.input.file xclass einsetzen | |
- CTypes noch mal umsetzen per | |
UPDATE tt_content SET CType = "kastratielements_container3cols" WHERE tx_fed_fcefile = "kastratielements:Container3cols.html"; | |
UPDATE tt_content SET CType = "kastratielements_example" WHERE tx_fed_fcefile = "kastratielements:Example.html"; | |
- Render Fix von flux 8 aus ext_localconf.php wieder entfernen | |
// fix for https://github.com/FluidTYPO3/flux/issues/1442 in flux 8 | |
if (TYPO3_MODE == 'FE') { | |
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['includeStaticTypoScriptSources'][] = \FluidTYPO3\Flux\Backend\TableConfigurationPostProcessor::class . '->processData'; | |
} | |
- Auf php 7.2 updaten | |
- .htaccess aktualisieren aus 8er core für Google Pagespeed | |
- SSL Force Umleitung per .htaccess regeln: | |
RewriteEngine On | |
RewriteCond %{HTTPS} off | |
RewriteRule (.*) https://%{HTTP_HOST}/$1 [R=301,L] | |
- Redakteursrechte anpassen für neue Felder | |
- DB Compare ausführen | |
- TYPO3 CMS Update auf 9.3 | |
- Dependencies aus EXT:kastratielements raus bis auf EXT:flux | |
- Uninstall EXT:realurl, uninstall EXT:metaseo, update EXT:powermail | |
- Site Conf anlegen | |
Fragen? Interesse an einem TYPO3 Update? | |
[email protected] | |
https://www.aemka.de/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey!
Thanks for sharing, It sounds good with very detailing steps. At last T3DD18, I'd same talk about "TYPO3 Upgrade", I had introduced one of our cool TYPO3 extension EXT:ns_ext_compatibility which will useful before and after TYPO3 upgrade projects. We would love to receive your any feedback/suggestions to keep improve. Thank you!
Cheers,
Sanjay