[Typo3-UG Oesterreich] frage zu kickstarter neue ext.

robert baumgart baumgart at skills.at
Mon Nov 15 13:49:25 CET 2004


Wolfgang Klinger wrote:
>  Hallo!
> 
>  robert baumgart schrieb folgendes am 15.11.2004:
> 
>>das problem ist nur diese wird überhaupt nicht angesprochen.
> 
> 
>  Installiert hast du sie? ;-)
> 
> 
>>weiss wer woran das liegen könnte?
> 
> 
>  Poste mal den Inhalt von ext_tables.php
> 
>  
>  lg
>  Wolfgang
> 
> 
hi!
ja, ist installiert ;-)

habe eben bemerkt das diese ext_tables.php garnicht in 
configuration/$TYPO§_LOADED_EXT vorhanden war weil ich diese 
nachträglich per ftp eingebunden habe.(aus unwissenheit das ich vorher 
Extend existing Tables klicken muss)
habe ich nun gemacht, drin ist sie und installiert.

aber nun habe ich nicht wie gewünscht 6 spalten sondern überhaupt nur 
mehr 1(!),nämlich TOP_LEFT



hier der code:


<?php
if (!defined ("TYPO3_MODE")) 	die ("Access denied.");
$tempColumns = Array (
	
);


t3lib_div::loadTCA("tt_content");


if (is_array($TCA['tt_content'])) {
array_splice(
$TCA['tt_content']['columns']['colPos']['config']['items'], // The list 
of items
array(array('Extra Column|Ekstra kolonne',4)) // Element to be inserted. 
Value is '4' and language is specified for english and danish.
);
}
if (is_array($TCA['tt_content'])) {
array_splice(
$TCA['tt_content']['columns']['colPos']['config']['items'], // The list 
of items
array(array('Extra Column2|Ekstra kolonne2',5)) // Element to be 
inserted. Value is '4' and language is specified for english and danish.
);
}

$TCA['tt_content']['columns']['colPos']['config']['items'][0][0]='TOP_LEFT:'; 
#LEFT
$TCA['tt_content']['columns']['colPos']['config']['items'][2][0]='TOP_RIGHT:'; 
#RIGHT

$TCA['tt_content']['columns']['colPos']['config']['items'][1][0]='CONTENT_LEFT:'; 
#NORMAL

$TCA['tt_content']['columns']['colPos']['config']['items'][5][0]='CONTENT_RIGHT:'; 
#extra2
$TCA['tt_content']['columns']['colPos']['config']['items'][4][0]='BORDER:'; 
#BORDER
$TCA['tt_content']['columns']['colPos']['config']['items'][3][0]='EXTRA:'; 
#extra

?>

danke
robert




More information about the TYPO3-at mailing list