[TYPO3] how to use TS variable in ext_tables.php

Anders Tillbeck at at opengate.dk
Tue May 1 12:01:57 CEST 2007


Hi

I would like to replace the 7 in this ext_tables.php code:
tempColumns = Array (
	...
	"foreign_table_where" => "AND pages.pid=7 ORDER BY pages.title",	
	...
);

with this variable:
$GLOBALS['TSFE']->tmpl->setup['og_homann_list_page_relations.']['selectable_page_pid'];

Until now all attempts have failed.

BR. Anders


More information about the TYPO3-english mailing list