[TYPO3-core] RFC: TS resolving of select fields with TCA hardcoded items

Michael Stucki michael at typo3.org
Wed Feb 8 14:18:23 CET 2006


Hi Julle,

>> I have attached a new version of your patch which uses
>> t3lib_beFunc::getProcessedValueExtra() to lookup the values. Works great
>> but be warned: This works only as long as you are running a BE session!
> 
> that's not a good idea, it need to work without a BE session, or it's
> meaningless.

Of course, that's why I wrote the warning. It was just to show how easy it
*could* be.

>> Ideas to solve this:
>> - move the getProcessedValue* functions to t3lib_div?
>> - ... (anything else?)
> 
> That would be great, I don't know how often I need those things in FE, but
> it is not as easy as it looks, cause the functions depend on other stuff
> like LANG which is only initalised in BE.

I think $LANG is only used for running the sL() function. No big problem
since it is also present in $GLOBALS['TSFE']...

> Here's another version with your suggestions, but without befunc.

+1

> If we agree, I can move the functions from BEfunc to di, but it will not
> be before next week.

That can be done later but is definitely nice to have, but it would have to
be done before the feature freeze...

Michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-team-core mailing list