[TYPO3-dev] Problem with IRRE
Steffen Ritter
info at rs-websystems.de
Mon Jan 12 19:20:04 CET 2009
> 1) not 2 questions in one thread.
well it's both about fields not accessible in $FieldArray in one Hook,
which Is especially a problem when using IRRE
> 2) Would be easier to understand if you tell us, what you like to
> achieve instead of submitting code. Perhaps there's a different approach.
You might be right.. But I thought I did.
But ok I will try to describe what I'm aiming.
I have a table in my extension... One field is relation to a fe_user
(fe_users uid). The value of the another field has to be computed out of
a value from the connected fe_user... With TCEMainhook I did this like
everytime. I the record is opened as single record I can access the
value in field parent_user.
If i connect this table with IRRE (1:n foreign_field) to fe_users the
field parent_user is not available anymore in the tcemain hooks.
So my Question is: what's the way to get Fields "accessible" in
tcemainhooks or is there any other "place" where i might hook in.
First I need to calculate a value for a field with a value i can't
access everytime and second I want to overwrite the pid of special
record types so that some recordstypes are created only in a special
sysfolder.
I hope it is clearer right now...
so far...
More information about the TYPO3-dev
mailing list