| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| typo3 [2016/07/20 20:00] – gevatter | typo3 [2017/08/02 23:52] (current) – gevatter |
|---|
| ===== 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 ===== |
| | <code> |
| | [globalVar = TSFE:sys_page|versioningWorkspaceId < 1] |
| | config.tx_cooluri_enable = 1 |
| | [global] |
| | </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 ==== |
| * https://typo3.org/extensions/repository/view/cdsrc_sass | * https://typo3.org/extensions/repository/view/cdsrc_sass |
| * https://typo3.org/extensions/repository/view/typoscript2ce | * https://typo3.org/extensions/repository/view/typoscript2ce |
| | |
| | ==== Conditions for workspaces ==== |
| | <code> |
| | [globalVar = TSFE:sys_page|versioningWorkspaceId = 1] |
| | page.config.tx_cooluri_enable = 1 |
| | [global] |
| | </code> |
| |
| ===== CASE richtig verwenden ===== | ===== CASE richtig verwenden ===== |
| * 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 |
| <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'] = '$1$T1JapqtV$YgXn4AsCvy2kriRkSJGZr1'; |
| } | } |
| </code> | </code> |
| | |
| | ===== Disable Inline Fileupload ===== |
| | UserTS: |
| | setup.override.edit_docModuleUpload=0 |