Zum Inhalt springen

Typo3 6.1 Spaltennamen im Backend Ändern funktioniert nicht???

Erstellt am 10. Mai 2013 · 1 Antwort · letzte Antwort am 10. Mai 2013

Tags: TCA, Templates & Layouts, TYPO3 6, Frage

CM24 ·

Hallo mal ne Frage früher war es doch so wenn ich die exTables ändere und dann Hochlade

Wie folgt:

<?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';
*/

// Rotate loginbox images from this directory
# $GLOBALS['TBE_STYLES']['loginBoxImage_rotationFolder'] = '../fileadmin/loginimg/';

// 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';
t3lib_extMgm::addPageTSConfig('
mod.SHARED.colPos_list = 0,1,2,3,
');

$TCA['tt_content']['columns']['colPos']['config']['items'] = array (
'1' => array ('SLIDER||SLIDER','1'),
'0' => array ('CONTENT||CONTENT','0'),
'3' => array ('LINKS||LINKS','3'),
'2' => array ('RECHTS||RECHTS','2'),

);

?>

Dann wurden die Spalten geändert entweder man nmacht das über das Installtool oder via FTP Programm egal.#
Doch das geht schneiwahr nicht denn in der neuen LocalConfiguration.php (früher loclaconf.php) ist zwar der Verweis zur exTables.php

<?php
return array(
'BE' => array(
'disable_exec_function' => 0,
'installToolPassword' => 'bacb98acf97e0b6112b1d1b650b84971',
),
'DB' => array(
'database' => 'usr_web6_1',
'extTablesDefinitionScript' => 'extTables.php',
'host' => 'localhost',
'password' => 'QBDXrg9A',
'username' => 'web6',
),
'EXT' => array(
'extListArray' => array(
'info',
'perm',
'func',
'filelist',
'extbase',
'fluid',
'about',
'version',
'tsconfig_help',
'context_help',
'extra_page_cm_options',
'impexp',
'sys_note',
'tstemplate',
'tstemplate_ceditor',
'tstemplate_info',
'tstemplate_objbrowser',
'tstemplate_analyzer',
'func_wizards',
'wizard_crpages',
'wizard_sortpages',
'lowlevel',
'install',
'belog',
'beuser',
'aboutmodules',
'setup',
'taskcenter',
'info_pagetsconfig',
'viewpage',
'rtehtmlarea',
'css_styled_content',
't3skin',
't3editor',
'reports',
'felogin',
'form',
),
),
'EXTCONF' => array(
'lang' => array(
'availableLanguages' => array(
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'de',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
),
),
),
'GFX' => array(
'gdlib_png' => 0,
'im_combine_filename' => 'composite',
),
'SYS' => array(
'compat_version' => '6.0',
'encryptionKey' => '4d0ec68503192275f8c9357247f2d7a6cdc4d44bbc03c04f5cc891e2d8c46f4ed28ee50bc649563aec481fabefba62a0',
'sitename' => 'Demo Seite',
),
);

?>

Dennoch erkennt Typo3 6.1 nicht die Anweisungen aus der Datei???

Bitte um Hilfe und Ratschlag warum es nicht mehr Funktioniert?

Liegt es ggf. An folgenden:
Bisher konnte man die Spalten j aimmer Ändern in der exTables.php. OIst es möglich das es mit der neuen Version nur über die Installation einmalig geht weil es ggf. In der Mysql DB gespeichert wird???

Julian.​Hofmann ·

Hallo.

Die schnellste, einfachste (und evtl. einzige?) Möglichkeit dürfte die V>erwendung von BackendLayouts sein.
Diese haben danna uch noch das Gute, dass Du dem Redakteur ein besseres Gefühl von der Anordnung der Inhalte geben kannst, weil ein Raster existiert, statt der starren Spalten.

Viele Grüße
Julian