.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ================== EXT: tcamanipulate ================== :Author: Kasper Skårhøj :Created: 2002-11-01T00:32:00 :Changed: 2009-02-03T11:38:04.430000000 :Author: Stig Nørgaard Færch :Email: stig@altforintet.dk :Info 3: :Info 4: .. _EXT-tcamanipulate: EXT: tcamanipulate ================== Extension Key: **tcamanipulate** Copyright 2000-2002, Stig Nørgaard Færch, 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: tcamanipulate 1** **Introduction 1** What does it do? 1 Two new features!: 1 Why should I ever change these titles? 1 Screenshots 2 **Administration - TSconfig 2** Renaming a few titles: 2 Renaming many titles: 2 Using both singlefield and allfields? 2 FAQ 2 .. _Introduction: Introduction ------------ .. _Two-special-features: Two special features!: ^^^^^^^^^^^^^^^^^^^^^^ - TCA manipulation through pageTS. This way you can change extensions into other uses. Example: Change the title of a record type like this:TCA.tt\_news.ctrl.title = Idea.Another example:TCA.tt\_news.ctrl.canNotCollapse = 1If set, then the "Show secondary options" check box will not affect this table - no matter what, all fields and palettes are displayed in the main form at all times. Just like if the check box was always set - Include your own libs for the backend:tx\_tcamanipulate.includeLibs.yourkey = fileadmin/scripts/mylib.incI guess there are many uses. One example is if you wanted to use the label\_userFunc field in the ctrl section in the TCA. - It's also possible to rename many fields at once in the tceform. For more information on this look in the Administration section. .. _Why-should-I-ever-change-the-TCA-and-field-titles: Why should I ever change the TCA and field titles? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Well, in my case I use the tt\_news extension for several purposes. In conjunction with the mbl\_newsevent extension I use it as a calendar for a church. In this case I would rename the text-field to "Sermon text". This way, it makes more sense for the BE-users which fields are used for what purposes. .. _Screenshots: Screenshots ^^^^^^^^^^^ |img-1| In this example you see the tt\_news news record. Here the title for text field is replaced with 'Sermon Text'. .. _Administration-TSconfig: Administration- TSconfig ------------------------ .. _Renaming-many-titles: Renaming many titles: ^^^^^^^^^^^^^^^^^^^^^ If you wish to rename many titles, this is the easiest way. Make a copy the language file and place it where you like(for example in uploads directory or in the same as the original). Then make the changes to the language file. tx\_tcamanipulate.renameFields.tx\_cal\_category = LLL:uploads/locallang\_db.php:tx\_cal\_category where tx\_cal\_category is the tablename. .. _FAQ: FAQ ^^^ \- Possible subsections: FAQ |img-2| EXT: tcamanipulate - 2 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. :border: 0 .. :height: 313 .. :id: Grafik1 .. :name: Grafik1 .. :width: 163 .. |img-2| image:: img-2.png .. :align: left .. :border: 0 .. :height: 32 .. :id: Graphic1 .. :name: Graphic1 .. :width: 102