TYPO3 LTS 8: Unterschied zwischen den Versionen

Aus Vosp.info
Wechseln zu:Navigation, Suche
(upgrade von typo3 7.6)
(upgrade von typo3 7.6)
Zeile 21: Zeile 21:
 
<source lang=bash>
 
<source lang=bash>
 
cd TYPO3.CMS
 
cd TYPO3.CMS
 +
 
git pull
 
git pull
 +
 
git checkout -b  8.7.4 8.7.4
 
git checkout -b  8.7.4 8.7.4
 
  error: Your local changes to the following files would be overwritten by checkout:
 
  error: Your local changes to the following files would be overwritten by checkout:
Zeile 27: Zeile 29:
 
  Please commit your changes or stash them before you switch branches.
 
  Please commit your changes or stash them before you switch branches.
 
  Aborting
 
  Aborting
 +
 
mv composer.lock composer.lock_20170810
 
mv composer.lock composer.lock_20170810
 +
 
git checkout -b  8.7.4 8.7.4
 
git checkout -b  8.7.4 8.7.4
 +
Switched to a new branch '8.7.4'
 +
 +
 
</source>
 
</source>
  

Version vom 10. August 2017, 13:47 Uhr

Typo3 - TYPO3.CMS 7.6 Schnipsel

upgrade von typo3 7.6

  • Datenbank backup
# export
mysqldump --single-transaction --default-character-set=utf8 -u _username_ -p _databasename_ > mysql.yyyymmdd.sql
  • Datenbankbackup und Installationsdateien auf einen neuen Server schieben, auf dem php7 läuft
  • Datenbank import
# import
mysql -u _username_ -p _databasename_ < mysql.yyyymmdd.sql
  • Source Code aktualisieren
cd TYPO3.CMS

git pull

git checkout -b  8.7.4 8.7.4
 error: Your local changes to the following files would be overwritten by checkout:
        composer.lock
 Please commit your changes or stash them before you switch branches.
 Aborting

mv composer.lock composer.lock_20170810

git checkout -b  8.7.4 8.7.4
 Switched to a new branch '8.7.4'

Unterschiede zu vorigen Versionen

extbase

fluid

f:if

<f:if condition="{var} == 'something'">
    <f:then>do something</f:then>
    <f:else if="{other-var} == 'something else'">do something else</f:else>
    <f:else>do the other thing</f:else>
</f:if>

<f:if condition="{something} || {someOtherThing}">
    Something or someOtherThing
</f:if>

vorher TYPO3.CMS_7.6_Schnipsel#elseif