.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt =================================== EXT: check for installed extensions =================================== :Author: Kasper Skårhøj :Created: 2002-11-01T00:32:00 :Changed by: Franz Holzinger :Changed: 2015-05-01T18:08:41 :Classification: patch10011 :Keywords: forEditors, forDevelopers, forIntermediates, Extension Manager :Author: Franz Holzinger :Email: franz@ttproducts.de :Info 4: :Language: en |img-1| EXT: check for installed extensions - patch10011 .. _EXT-check-for-installed-extensions: EXT: check for installed extensions =================================== Extension Key: patch10011 Language: en Keywords: forEditors, forDevelopers, forIntermediates, Extension Manager Copyright 2015, Franz Holzinger, This document is published under the Open Content License available from http://www.opencontent.org/opl.shtml The content of this document is related to TYPO3 \- a GNU/GPL CMS/Framework available from www.typo3.org .. _Table-of-Contents: Table of Contents ----------------- `EXT: check for installed extensions 1 <#__RefHeading__399_1027078062>`_ **`Introduction 3 <#__RefHeading__401_1027078062>`_** `What does it do? 3 <#__RefHeading__403_1027078062>`_ **`Users manual 4 <#__RefHeading__405_1027078062>`_** **`Administration 5 <#__RefHeading__407_1027078062>`_** `Reference 5 <#__RefHeading__409_1027078062>`_ **`Known problems 6 <#__RefHeading__411_1027078062>`_** **`To-Do list 7 <#__RefHeading__413_1027078062>`_** **`ChangeLog 8 <#__RefHeading__415_1027078062>`_** .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ - It is sometimes necessary to give a different setup if an additional extension has been installed. See `bug10011 `_ , which is pending in the Core list for many years. You can use this to write one template setup for several sites with different installed extensions. You can configure an alternative output in the FE if an extension has not been installed. This can be used also for the default setup of extensions. Maybe you want to read an additional table field from the database if another extension has been installed. - The Typoscript match condition userFunc (user defined) allows to have multiple parameters and a return value which can be checked against string values. **Example:** :: [userFunc = tx_ttproducts_match_condition->checkShipping(delivery, country_code) = DEU] some Typoscript lines [ext=tt_news:version > 3.5.99] Typoscript lines which will be active only if tt_news in a version greater than 3.5.99 has been installed. .. _Users-manual: Users manual ------------ Just install the extension together with any other extension which supports this patch. This will enable new conditions for the template setup. Be aware that this extension is using code based on the replacement of TYPO3 classes. Maybe it will make parts of TYPO3 unusable. If you discover any trouble with TYPO3 conditions, then deinstall this extension. .. _Administration: Administration -------------- .. _Reference: Reference ^^^^^^^^^ See TSref .. _ext: ext """ .. _Syntax: Syntax: ~~~~~~~ :: [ext=extensionkey:parameter = value1, >value2, =value3, 1.2.3] .. _Known-problems: Known problems -------------- - In TYPO3 6.x.x before 6.2.13 you must apply this patch: `https://review.typo3.org/#/c/38917/ `_ - Some TYPO3 Core developer consider this patch as not useful. Please explain them the reasons why the current TYPO3 possibilities are not sufficient and simple enough to get the job done. .. _To-Do-list: To-Do list ---------- - This patch should become part of TYPO3. If you consider this extension useful, then please add your comments here: `https://forge.typo3.org/issues/19739 `_ - Outdated info: This patch has been pending in the Core list since 2008. |img-2| .. _ChangeLog: ChangeLog --------- See the file "ChangeLog" 8 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. |img-2| image:: img-2.png .. :align: left .. :border: 0 .. :height: 363 .. :id: images1 .. :name: images1 .. :width: 669