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

Robert auxxx at netspace.net.au
Thu Dec 8 08:02:11 CET 2005


Ingmar Schlecht wrote:

>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
>  
>
Hey Ingmar,
I'm Robert Lockerbie, living on the Far South Coast of Australia. We've 
already met, I was the one who showed up really late to your 
presentation of typo3 in Bega.



More information about the TYPO3-UG-australia mailing list