.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ===================== EXT: abz\_eff\_labels ===================== :Author: Kasper Skårhøj :Created: 2002-11-01T00:32:00 :Changed by: Sebastian Müller :Changed: 2011-08-08T11:59:37.610000000 :Author: Author Name :Email: your@email.com :Info 3: :Info 4: .. _Override-Labels: Override Labels =============== Extension Key: **abz\_eff\_labels** Copyright 2008-20011, Franz Ripfel, Sebastian Müller, 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.com .. _Table-of-Contents: Table of Contents ----------------- **Override Labels 1** **Introduction 1** What does it do? 1 **Users manual 1** .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ This extension give you the working examples to override already existing labels of third party extensions and the Core. Adding new labels is also possible. There is no new fancy trick, just consequently used possibilities of TYPO3. If you override existing labels in abz\_eff\_labels you can update the extensions or the core without worriying about loosing your label changes. **Mind:Nothing will happen just by installing the extension. You will have to uncomment and modify the examples to your needs. This extension is made to be adapted individually to every project.** .. _Users-manual: Users manual ------------ - Download and install the extension. - Have a look into the files ext\_localconf.php, locallang\_db.php and ext\_typoscript\_setup.txt. There you follow the given examples and change whatever existing label you want to. If you want to change labels for the frontend, just add your TypoScript code into ext\_typoscript\_setup.txt. If changes are needed for the backend, find the correct locallang file (probably with a global search in files) and use the configuration options with $TYPO3\_CONF\_VARS['BE']['XLLfile'] like the examples you can see in ext\_localconf.php.If you want, you can alternatively use Page TypoScript to modify labels for dropdowns modified in TCA. - Clear the cache and you should see your modified labels. .. _Frontend-Labels: Frontend Labels ^^^^^^^^^^^^^^^ If you have any label in an frontend plugin you want to edit, do it in ext\_typoscript\_setup.txt. Just enter the plugin TypoScript path right to the label and insert the value you want. For example the value of the more link in tt\_news is by default [more]. If you want it without the [ ] enter ***plugin.tt\_news .\_LOCAL\_LANG.default.more = more*** in ext\_typoscript\_setup.txt. There is the another more detailed example already there since you often want to edit labels in various languages. .. _Backend-Labels: Backend Labels ^^^^^^^^^^^^^^ .. _backend-labels-core-and-former-extensions: backend labels (core and former extensions) """"""""""""""""""""""""""""""""""""""""""" If you want to change the value of a label in the backend you have to find out in which xml file your label is definied. If you know that, insert a line in our ext\_localconf.php like $TYPO3\_CONF\_VARS['SYS']['locallangXMLOverride']['EXT:lang/locallang\ _core.xml'][] ='EXT:abz\_eff\_labels/locallang\_db.xml'; There you add the locallang\_db.xml file of our abz\_eff\_labels to the overriding files for an already used translation file (here EXT:lang/locallang\_core.xml). Now just add you label in locallang\_db.xml and override its value. See the already existing examples. Clear your cache and enjoy your changed labels =) .. _list-elements-labels: list elements labels """""""""""""""""""" If you want to edit labels in list elements ie. page doktypes you can also define them via page Tsconfig. Just include the tsconfig\_page.txt in ext\_localconf.php and change your labels in abz\_eff\_labels/tsconfig\_page.txt. For more information take a view in the TSconfig dokumentation →TCEFORM →TCEFORM\_confObj →altLabels, `http://typo3.org/documentation/document-library/core- documentation/doc\_core\_tsconfig/4.2.0/view/1/3/#id4155235 `_ .. _another-way-for-labels-of-already-installed-extensions: another way for labels of already installed extensions """""""""""""""""""""""""""""""""""""""""""""""""""""" If you want to edit backend labels from already installed extensions you can also define addLLrefForTCAdescr in ext\_tables.php of our extensions. Example is existing. If you use this, you just have to know how the label is named and in which extension it is, there is no need for the full path of the xml file where this label is defined first. .. _backend-description: backend.description ^^^^^^^^^^^^^^^^^^^ You know the descriptions and details of fields in the TYPO3 Backend? In previous versions it was the |img-1| image. By hover or click on a field name, there will be a description and/or detailed informations displayed. If you want to edit them, you have to know how the field is named and in which table it is. We prefer doing the overriding in an extra file so normal backend labels and backend descriptions are seperated. Since there can be a description for every table and every field, you may want different descriptions for title of page and title of tt\_news. So it would be good using various files. E.g. locallang\_pages\_descriptions.xml and locallang\_tt\_news\_descriptions.xml Override the descriptions in this files like the example in locallang\_pages\_descriptions.xml and include it with addLLrefForTCAdescr in ext\_tables.php of our extension. Example is existing. .. _Upgarde-Introductionsfor-TYPO3-4-5: Upgarde Introductionsfor TYPO3 4.5 ---------------------------------- If you are already using this extension in a project, you must not simply upgrade this extension using the extension manager. The reason therefore is that you may have inserted labels in the locallang files of this extension and if you upgrade, your changes are lost. The best practice is downloading the new version extension, inserting your labels again, include the XML files in localconf.php and ext\_tables.php again, and replace this extension with the old abz\_eff\_labels. Note that the former .php files are now TYPO3 language XML files and therefore must be inserted as XML tag. |img-2| EXT: abz\_eff\_labels - 2 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :border: 0 .. :height: 17 .. :id: Grafik1 .. :name: Grafik1 .. :width: 19 .. |img-2| image:: img-2.png .. :align: left .. :border: 0 .. :height: 32 .. :id: Graphic1 .. :name: Graphic1 .. :width: 102