new Columns/ Columnsnames in Backend

In the directory typo3conf/ is a file named 'extTables.php'.

In this file you insert the following paragraph:

 

 

t3lib_extMgm::addPageTSConfig('
mod.SHARED.colPos_list = 0,1,2,3,4,5
');

$TCA["tt_content"]["columns"]["colPos"]["config"]["items"] = array (
					"0" => array ("middle||Mitte||||||||","0"),
					"1" => array ("left||Links||||||||","1"),
					"2" => array ("down left||Unten Links||||||||","2"),
					"3" => array ("right||Rechts||||||||","3"),
					"4" => array ("down right||Unten Rechts||||||||","4"),
					"5" => array ("footer||Fusszeile||||||||","5")
					); 

 

These names are used for multi-language-backend: (verified languages are bold, default= english and fallback)

default, dk, de, no, it, fr, es, nl, cz, pl, si, fi, tr, se, pt, ru, ro, ch, sk, lt, is, hr, hu, gl, th, gr, hk, eu, bg, br, et, ar, he, ua, lv, jp

 

If you have verified further languages, please report.

 

 

In this directory there also is a file named 'localconf.php', where you can insert the following line:

 

$typo_db_extTableDef_script = 'extTables.php'; 

 

 

For getting the content of these columns displayed in a page you have to use this code of typoscript. You have to do anything by your own!

 

	temp.additionalcolumn = CONTENT
	temp.additionalcolumn {
		table = tt_content
		select {
			pidInList = this
			orderBy = sorting
			where = colPos = <column-no>
			languageField = sys_language_uid
		}
	}

 

or you copy the configuration for the normal-column and modify the selection

 

	temp.additionalcolumn < styles.content.get
	temp.additionalcolumn.select.where = colPos = <column-no>
 
Ihre aktuelle Seitenauswahl:  
>>>