[TYPO3-dev] Virtual TCA field for 1:n relation
    Peter Russ 
    peter.russ at 4many.net
       
    Fri Mar 13 10:12:33 CET 2009
    
    
  
--- Original Nachricht ---
Absender:   Sebastian Gebhard
Datum:       13.03.2009 09:20:
> Hi list,
> 
> I have a 1:n data relation. Let's say item and category and assume an 
> item has only one category. So it has a field category_id.
> 
> Is it possible to add a virtual field to category to 
> display,add,edit,delete the assigned items?
> 
> It has to remain a clear 1:n relationship, so that there is not a comma 
> separated list in the category table.
> 
> Regards
The "virtual field" is MM-releation and can go it both directions, i.e. 
you can add the catgory to an item or add items to a category. With the 
right TCA setup for the fields you limit the number of relations.
I think this is what you are looking for.
Peter.
-- 
Fiat lux! Docendo discimus.
_____________________________
uon GbR
http://www.uon.li
http://www.xing.com/profile/Peter_Russ
    
    
More information about the TYPO3-dev
mailing list