.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ======================================= EXT: Rename Form-Field-Label via PageTS ======================================= :Author: Kasper Skårhøj :Created: 2002-11-01T00:32:00 :Changed: 2007-09-18T18:04:48 :Author: Malte Jansen :Email: m a i l ( a t ) m a l t e j a n s e n . d e :Info 3: :Info 4: .. _EXT-Rename-Form-Field-Label-via-PageTS: EXT: Rename Form-Field-Label via PageTS ======================================= Extension Key: **maja\_labelrename** Documentation for Version: 0.0.4 Copyright 2007, Malte Jansen, 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 ----------------- **EXT: Rename Form-Field-Label via PageTS 1** **Introduction 1** What does it do? 1 **Users manual 1** Reasons for the usage of this Extension: 1 Priorities of the different Label-Inputs: 1 Hint (for Typo3 4.1.x) 1 **Configuration 2** Direct Renaming (Fields) 2 Table Renaming (Fields) 2 Localconf Replacing (Fields, Items & Div-Tabs) [beta Version] 2 **Examples 3** **Known problems 3** **To-Do list 3** **Changelog 3** .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ Adds the support for renaming/overriding the field-label via TCEFORM in PageTS. .. _Users-manual: Users manual ------------ .. _Reasons-for-the-usage-of-this-Extension: Reasons for the usage of this Extension: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - With the extension you can use one extension or table for several purposes, which is not possible with one label-value. Now you can have a one label per System-Page. - You do not have to change anymore the locallang\_db.xml or locallang\_db.php for renaming a field. So it is pretty easy to update extensions without overwriting your labels in the Locallang. .. _Priorities-of-the-different-Label-Inputs: Priorities of the different Label-Inputs: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (From high to low) - :: page:TCEFORM.[table].[field]->TCEFORM_confObj - :: page:TCEFORM.[table]->TCEFORM_table - :: page:TCEFORMS.LOCALLANG.[number]->LOCALLANG_conf [beta Version] - :: $TCA[$table]["type"] - :: $TCA[$table]["columns"][$column]["label"] .. _Hint-for-Typo3-4-1-x: Hint (for Typo3 4.1.x) ^^^^^^^^^^^^^^^^^^^^^^ If you add the dependencies of this extensions to your extension with the Locallang. This Extension will be installed automatically, when you install your extension. So you cannot forget this extension. ;-) .. _Configuration: Configuration ------------- This Documentation is should be used together with the “doc\_core\_tsconfig”. All Properties belong to chapter “Page TSconfig” .. _Direct-Renaming-Fields: Direct Renaming (Fields) ^^^^^^^^^^^^^^^^^^^^^^^^ This is the easiest way to use this extension. .. _TCEFORM-confObj: ->TCEFORM\_confObj """""""""""""""""" - Additional properties for the TCEFORM configuration object (all properties see EXT:doc\_core\_tsconfig). - TCEFORM.[table].[field] -> TCEFORM\_confObj .. ### BEGIN~OF~TABLE ### .. _label: label ~~~~~ .. container:: table-row Property label Data type Value Description A label can be any value or declare a Locallang-Label Default .. ###### END~OF~TABLE ###### [page:TCEFORM.(tablename).(field)] .. _Examples: Examples ~~~~~~~~ :: TCEFORM.[table].[field].label = New Label Create your own small extension (e.g. with the Kickstarter) with one or more locallang-files. :: TCEFORM.[table].[field].label = LLL:EXT:your_extension/locallang_db.xml:table.field .. _Table-Renaming-Fields: Table Renaming (Fields) ^^^^^^^^^^^^^^^^^^^^^^^ This is the comfortable way to replace a whole Locallang. You can also rename fields like “hidden”. .. _TCEFORM-tableConf: ->TCEFORM\_tableConf """""""""""""""""""" Additional properties for the TCEFORM configuration object (all properties see EXT:doc\_core\_tsconfig). TCEFORM.[table] -> TCEFORM\_tableConf .. ### BEGIN~OF~TABLE ### .. _locallang: locallang ~~~~~~~~~ .. container:: table-row Property locallang Data type Value Description Must be a declaration of a Locallang-Label. This function overwrites every Field-Label starting with “LLL:EXT:”, so you can also rename fields like “hidden” etc. Notice: You cannot replace Item- and Div-Labels. Default .. ###### END~OF~TABLE ###### [page:TCEFORM.(tablename)] .. _Examples: Examples ~~~~~~~~ :: TCEFORM.[table].locallang= LLL:EXT:your_extension/locallang_db.xml .. _Localconf-Replacing-Fields-Items-Div-Tabs-beta-Version: Localconf Replacing (Fields, Items & Div-Tabs) [beta Version] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The is the comfortable way to replace a whole Locallang. You can also rename fields like “hidden”. The function is using a XCLASS, so be aware that there could be some trouble, if there is another XCLASS for the “t3lib\_TCEforms” .. _TCEFORM: ->TCEFORM """"""""" Additional properties for the TCEFORM configuration object .. ### BEGIN~OF~TABLE ### .. _LOCALLANG-number: LOCALLANG.[number] ~~~~~~~~~~~~~~~~~~ .. container:: table-row Property LOCALLANG.[number] Data type Value, ->LOCALANG Description Extra configuration for the whole Locallang in the TCEforms. The *Value* must be a declaration of a Locallang--File. The *[number]* must be replaced by any integer.So you can compare the LOCALLANG-Object with the COA-Object. Default .. ###### END~OF~TABLE ###### [page:TCEFORM] .. _LOCALLANG: ->LOCALLANG """"""""""" The first property is “replace” a whole file, but there are other possibilities like wrapping field after processing with filter. If your have a wish or idea what you can do with the Field-Label, write a mail to me. .. ### BEGIN~OF~TABLE ### .. _replace: replace ~~~~~~~ .. container:: table-row Property replace Data type Value Description The *Value* must be a declaration of a Locallang-File. If a label/item is not set in the new Locallang-File, the old one is used. Default .. ###### END~OF~TABLE ###### [page:TCEFORM.LOCALLANG.(number)] .. _Examples: Examples ~~~~~~~~ :: LOCALLANG.1 = LLL:EXT:any_extension/locallang_db.xml LOCALLANG.1.replace = LLL:EXT:my_extension/locallang_db.xml LOCALLANG.2 = LLL:EXT:any_extension/locallang_db2.xml LOCALLANG.2.replace = LLL:EXT:my_extension/locallang_db2.xml .. _Examples: Examples -------- See Configuration. .. _Known-problems: Known problems -------------- There should be no problems. .. _To-Do-list: To-Do list ---------- None .. _Changelog: Changelog --------- Version 0.0.4 Added: Replacing a whole Locallang-File with Items and Div-Tabs for one Page via TS. Version 0.0.3 Added: Replacing a whole Locallang-File for one Page via TS. Version 0.0.2 Added this documentation. Version 0.0.1 Created extension |img-1| EXT: Rename Form-Field-Label via PageTS - 3 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. :border: 0 .. :height: 32 .. :id: Graphic1 .. :name: Graphic1 .. :width: 102