[TYPO3-irre] irre: record selector in 1:n relations
belbono
belbono at gmx.de
Mon Aug 13 10:27:41 CEST 2007
hi
i´m developing an extension for my bachelor thesis and therefore i need
to analyse every way of getting data into typo3.
the last days i spend some time with irre and now there are some things
i want to know.
according to the irre-tutorial extension i build up my tables and
configuration. my extension will manage scientifical publications
including some export funcionality.
so i got a relation between a book and a publisher table.
in my book table i have a publisher field that is configured as 'inline'
and refers to the publisher table, by setting foreign_table,
foreign_field and foreign_table_field, just as it is shown in the example.
the problem now is, that i want to choose from existing records in
publications. in m:n relations with an intermediate table you have a
nice option with a record selector, but i think this is not possible in
my 1:n relation. i only can add new publishers - what is quite
unneccesary for a books released under the same publisher.
due to a record selector needs a configured select field on the other
side (the foreign table), i tried to configure the uid field in my
publisher table a such a field.
so i got a selector field in my 'add book' dialog which shows every
existing publisher, but i cannot choose anyone of them.
a solution of this might be to add another intermediate table, but i
don't like this idea, because such a table unneccesary.
so is there a nice solution at the moment i may havn't seen, or is this
something for the future of irre?
alex
More information about the TYPO3-project-irre
mailing list