.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ================== EXT: oecolorscheme ================== :Author: Kasper Skårhøj :Created: 2002-11-01T00:32:00 :Changed: 2013-04-04T11:54:07 :Author: das oe :Email: christian.oettinger@gmx.de :Info 3: :Info 4: .. _EXT-oecolorscheme: EXT: oecolorscheme ================== Extension Key: **oecolorscheme** Copyright 2000-2002, das oe, 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: My Extension 1** **Introduction 1** What does it do? 1 Screenshots 1 **Users manual 1** FAQ 1 **Adminstration 1** FAQ 2 **Configuration 2** FAQ 2 Reference 2 **Tutorial 2** **Known problems 2** **To-Do list 2** **Changelog 2** .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ This mostsimple extension adds different colors to the blocks of fields in BE. When you edit a Text with image for example header is one block, text is one and all fields used for image control are one. This is great for simplified working and the colors make it even easier to distiguish between the blocks. Thanks to the fairly consinstent pre-configuration for coloring of Typo3 itself you can so aid assoziative working for BE-users, for e.g. each block having something to do with images appears in the same color scheme. My clients love it. .. _Screenshots: Screenshots ^^^^^^^^^^^ |img-1| *without this extension* |img-2| *with this extension* .. _Users-manual: Users manual ------------ Simply install the extension using the extension manager and you are done. You might want to edit the default colors, though. In this case, see Administration. .. _img-3-Adminstration: |img-3| Adminstration --------------------- To override the default values simply click on this extension in extension manager. You get an overview with Configuration options: Just insert 3 RGB-Hex-Values (seperated by Commas) for each of the 5 colorscheme blocks. Example: #D5DDE4,#98ACBF,#98ACBF. First Value is Background of the Block, second is Background of Header, third is Background of highlighting inside the Block. Click Update to write the values. .. _How-to-use-Colorschemes-in-your-own-extension: How to use Colorschemes in your own extension: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ In your extensions you define the blocks (i.e. grouping of fields) in tca.php. An example: if (!defined ('TYPO3\_MODE')) die ('Access denied.'); $TCA["EXTENSIONKEY"] = Array ( "ctrl" => $TCA["EXTENSIONKEY"]["ctrl"],..."types" => Array ("0" => Array("showitem" => "hidden;;;;1-1-1, internaltitle;;;;2-2-2, title, image;;;;3-3-3, imageposition, keywords;;;;2-2-2")... In this example *hidden* is in an extra block with the first colorscheme, *internaltitle* and *title* in another, *image* and *imageposition* in the next, *keywords* finally in yet another. Each block has another color. Keywords has the same colorscheme as the tile block . The strings like ";;;;1-1-1" start the new blocks and define wich colors are used. For more information see the core reference. .. _Which-colors-to-choose-for-which-field: Which colors to choose for which field ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The coloring of the fields in Typo3 is done in a fairly consistent manner. The idea behind this extension is to simplify working so in your own coloring you should try to keep this logic. Very roughly speaking Typo3 uses the following colorschemes for fields: 1 is used for the first block, usually “type” and “hidden” 2 is used for headers 3 is used for blocks regarding text 4 is used for blocks regarding images 5 is used for files and specific options general options (found on the end) are without colorscheme, they resemble the most scheme 1 .. _Configuration: Configuration ------------- See Administration. .. _Known-problems: Known problems -------------- - This extension may interfere with skin extensions, for maybe both define color schemes. This is not a real problem, though. Just make sure to install this extension after the skin extension. - After an update you may experience your colors lost. Same problem as above, the extension has to loaded as last extension dealing with skinning. Just de-install the extension and install it again and you are done. - With some Versions of TYPO3 IRRE Fields may not take the defined coloring. As far as I know this is because IRRE did not use the coloring scheme of TYPO3. With newer versions of TYPO3 this seems to have changed (very likely thanks to Oliver Hader who kindly listened to me about this problem). Thanks! - Please tell if you encounter any other problems. .. _To-Do-list: To-Do list ---------- For me it's enough like that, I don't see any real use in developing it further. But please contact me if you have wishes or ideas. I am happy to make the extension better. .. _Changelog: Changelog --------- 0.0.1 first version 0.1.0 added a small tutorial 0.2.0 added configuration option via Extension manager, revised tutorial. That's it! 0.2.1 added a rough list which colorschemes are used for which fields in Typo3 0.3.2 (Sorry, versioning confusion on upload) Added dependency because of TER clean up. Changed default colors |img-4| EXT: oecolorscheme - 3 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. :border: 0 .. :id: graphics1 .. :name: graphics1 .. :width: 100% .. |img-2| image:: img-2.png .. :align: left .. :border: 0 .. :id: graphics2 .. :name: graphics2 .. :width: 100% .. |img-3| image:: img-3.png .. :align: left .. :border: 0 .. :height: 185 .. :id: graphics3 .. :name: graphics3 .. :width: 243 .. |img-4| image:: img-4.png .. :align: left .. :border: 0 .. :height: 32 .. :id: Graphic1 .. :name: Graphic1 .. :width: 102