Zum Inhalt springen

CSS Styled Content erweiten

Erstellt am 28. November 2005 · 4 Antworten · letzte Antwort am 30. November 2005

Tags: Frage

custom ·

Hallo,
ich benutze CSS Styled Content. Gibt es eine Möglichkeit diese um Bereiche zu erweitern.
Konkret an meinem Beispiel heisst das, ich habe nicht nur einen Inhalts- und Randbereich, sondern mein Inhaltsbereich ist auch nochmal in zwei Spalten geteilt.

Momentan würde es also so aussehen:

marks.INHALT < styles.content.get
marks.RAND < styles.content.getRight

jetzt bräuchte ich aber noch:

marks.INHALT2 < styles.content.xxx

Gibt es eine Möglichkeit so eine Erweiterung einzubauen????

steffenk ·

kommst Du mit den 4 Bereichen nicht aus ?
Dann gibts die Möglichkeit, mehr Spalten zu definieren. Du kannst das beliebig anpassen.

Wenn es das ist, so habe ich hier eine Anleitung dazu geschrieben 😉

custom ·

vielen Dank, bei mir ist in der Datei typo3conf/extTables.php leider alles auskommentiert, so sieht sie bei mir aus:

<?php
/**
 * Overriding $TCA
 *
 * The TYPO3 Configuration Array (TCA) is defined by the distributed tables.php and ext_tables.php files.
 * If you want to extend and/or modify its content, you can do so with scripts like this.
 * Or BETTER yet - with extensions like those found in the typo3conf/ext/ or typo3/ext/ folder.
 * Extensions are movable to other TYPO3 installations and provides a much better division between things! Use them!
 *
 * Information on how to set up tables is found in the document "Inside TYPO3" available as a PDF from where you downloaded TYPO3.
 *
 * Usage:
 * Just put this file to the location typo3conf/extTables.php and add this line to your typo3conf/localconf.php:
 * $typo_db_extTableDef_script = 'extTables.php';
 */

// Raise upload limit for images in 'image' content-elements to 10*1024 bytes = 1MB
# $GLOBALS['TCA']['tt_content']['columns']['image']['config']['max_size'] = 10*1024;

// Changes date fields to datetime fields in pages and tt_content
# $GLOBALS['TCA']['tt_content']['columns']['starttime']['config']['eval'] = 'datetime';
# $GLOBALS['TCA']['tt_content']['columns']['endtime']['config']['eval'] = 'datetime';
# $GLOBALS['TCA']['pages']['columns']['starttime']['config']['eval'] = 'datetime';
# $GLOBALS['TCA']['pages']['columns']['endtime']['config']['eval'] = 'datetime';

?>
steffenk ·

die wird ja wahrscheinlich nicht eingebunden. Hast Du Dir den Tipp genau durchgelesen ? Eine Anpassung sollte Dir danach nicht schwer fallen 😉