[Typo3-UG Australia] Pulling values from the kickstartes preset dropdowns.

Ingmar Schlecht ingmar at typo3.org
Thu Dec 8 05:30:22 CET 2005


Hi,

auxxx at netspace.net.au wrote:
> Once you have created a preset dropdown in the kickstarter you can acccess the
> values with this ugly bit of code:
> global $TCA;
> $name = $GLOBALS['TSFE']->sL($TCA['#TABLE NAME#']['columns']['#FIELD
> NAME']['config']['items'][#ID#][0];

That's right, yet you have to make sure that the TCA is already 
completely included beforehand. Therefore you have to call 
$GLOBALS['TSFE']->includeTCA(); before executing the code you posted.

BTW, what's your name and where about in Australia are you living?

cheers,
Ingmar



More information about the TYPO3-UG-australia mailing list