[TYPO3-core] RFC: TS resolving of select fields with TCA hardcoded items
Christian Jul Jensen
julle at typo3.org
Wed Feb 8 10:17:20 CET 2006
On Wednesday 08 February 2006 00:59, Michael Stucki wrote:
> Patch comments:
> - Works fine but (as you already mentioned) works only with 'items' fields
yeah, would be cool to have a general TCAlookUp property.
> - Use t3lib_div::trimExplode() when exploding the $inputValue
my bad...
> - The fallback works wrong: It returns $value instead of $inputValue
oops, I changed the naming at some point, thanks
> - Please try to have only 1 return statement (easier to debug)
I'm not sure I agree, but sure...
> 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.
> 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.
Here's another version with your suggestions, but without befunc.
If we agree, I can move the functions from BEfunc to di, but it will not be
before next week.
--
Christian Jul Jensen
TYPO3 association
http://association.typo3.org
* this mail is signed with GnuPG. If all you
* see is a file of unknown type, your mail client
* does not support it, just ignore it, it is not
* a virus, or have a look at http://openpgp.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: class.tslib_content.diff
Type: text/x-diff
Size: 2215 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060208/c5d25c24/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060208/c5d25c24/attachment.pgp
More information about the TYPO3-team-core
mailing list