Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
typo3 [2016/10/12 10:29] gevattertypo3 [2017/08/02 23:52] (current) gevatter
Line 1: Line 1:
 ===== Best practise ===== ===== Best practise =====
   * Table garbage collector einrichten: http://typo3.system-testen.de/typo3-sys-log-prufen/   * Table garbage collector einrichten: http://typo3.system-testen.de/typo3-sys-log-prufen/
 +  * Scheduler
 +  * Extensionlist updaten
 +  * https://docs.typo3.org/typo3cms/SecurityGuide/GuidelinesIntegrators/Extensions/Index.html
  
 ===== Condition for live environment ===== ===== Condition for live environment =====
Line 9: Line 12:
 </code> </code>
  
 +===== Kategorie im TSconfig setzen =====
 +<code>
 +TCAdefaults.tx_news_domain_model_news.categories = 8
 +</code>
 +source: https://forum.typo3.org/index.php/t/195629/tx-news-localize-default-category-setting
  
 ==== Caching bei externem ts ==== ==== Caching bei externem ts ====
Line 111: Line 119:
   * Formulare mit DateTime-Objekten: https://github.com/froemken/typo3-extbase-guide/blob/master/Documentation/Fluid/BestPractice/FormsWithDateTimeObjects.rst   * Formulare mit DateTime-Objekten: https://github.com/froemken/typo3-extbase-guide/blob/master/Documentation/Fluid/BestPractice/FormsWithDateTimeObjects.rst
   * TypoScript to go - TYPO3 für Redakteure: http://www.typo3-fuer-redakteure.de/typoscript-to-go.html   * TypoScript to go - TYPO3 für Redakteure: http://www.typo3-fuer-redakteure.de/typoscript-to-go.html
 +  * The TYPO3 CMS version number is defined in file: typo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php
  
 ===== Redis backend ===== ===== Redis backend =====
 <code> <code>
 <?php <?php
-$TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['cache_pages']['backend'] = 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend'; +$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pages']['backend'] = 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend'; 
-$TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['cache_pages']['options'] = array(+$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pages']['options'] = array(
   'defaultLifetime' => 86400,   'defaultLifetime' => 86400,
   'database' => 0   'database' => 0
 ); );
-$TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['cache_pagesection']['backend'] = 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend'; +$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pagesection']['backend'] = 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend'; 
-$TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['cache_pagesection']['options'] = array(+$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pagesection']['options'] = array(
   'defaultLifetime' => 86400,   'defaultLifetime' => 86400,
   'database' => 1   'database' => 1
 ); );
-$TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['cache_hash']['backend'] = 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend'; +$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_hash']['backend'] = 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend'; 
-$TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['cache_hash']['options'] = array(+$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_hash']['options'] = array(
   'defaultLifetime' => 86400,   'defaultLifetime' => 86400,
   'database' => 2   'database' => 2
 ); );
-$TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['extbase_object']['backend'] = 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend'; +$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase_object']['backend'] = 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend'; 
-$TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['extbase_object']['options'] = array(+$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase_object']['options'] = array(
   'defaultLifetime' => 86400,   'defaultLifetime' => 86400,
   'database' => 3   'database' => 3
 ); );
-$TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['extbase_reflection']['backend'] = 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend'; +$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase_reflection']['backend'] = 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend'; 
-$TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['extbase_reflection']['options'] = array(+$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase_reflection']['options'] = array(
   'defaultLifetime' => 86400,   'defaultLifetime' => 86400,
   'database' => 4   'database' => 4
Line 146: Line 155:
 <code> <code>
 <?php <?php
 +if (!defined ('TYPO3_MODE')) {
 +    die ('Access denied.');
 +}
 if (strpos($_SERVER['HTTP_HOST'], 'dev.local') !== FALSE) { if (strpos($_SERVER['HTTP_HOST'], 'dev.local') !== FALSE) {
-  $GLOBALS['TYPO3_CONF_VARS']['DB']['database'] = 'DEV_DB_NAME'; +    $GLOBALS['TYPO3_CONF_VARS']['DB']['database'] = 'database'; 
-  $GLOBALS['TYPO3_CONF_VARS']['DB']['host'] = 'DEV_DB_HOST'; +    $GLOBALS['TYPO3_CONF_VARS']['DB']['host'] = 'localhost'; 
-  $GLOBALS['TYPO3_CONF_VARS']['DB']['password'] = 'DEV_DB_PASSWORT'; +    $GLOBALS['TYPO3_CONF_VARS']['DB']['password'] = 'password'; 
-  $GLOBALS['TYPO3_CONF_VARS']['DB']['username'] = 'DEV_DB_USER'; +    $GLOBALS['TYPO3_CONF_VARS']['DB']['username'] = 'user'; 
-  $GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword'] = '';+    $GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword'] = '$1$T1JapqtV$YgXn4AsCvy2kriRkSJGZr1';
  
 </code> </code>
 +
 +===== Disable Inline Fileupload =====
 +UserTS:
 +  setup.override.edit_docModuleUpload=0