[TYPO3-mvc] MM relation

Dawid Pacholczyk dpacholczyk at gmail.com
Tue Oct 19 16:41:50 CEST 2010


Yes I`m using extbase_kickstarter. I`m creating relations from

 tx_myext_domain_model_article to  tx_myext_art_cat_mm 1 to many and from
tx_myext_domain_model_category to  tx_myext_art_cat_mm one to many

But now I`m wondering. Shoud I careate  tx_myext_art_cat_mm manualy by
writing it in ext_tables.php and ext_tables.sql or with extbase_kickstarter
?

Best regards,
Dawid

2010/10/19 Stefan Isak <stefanisak at googlemail.com>

> Or less confusing and better to talk about:
>  tx_myext_domain_model_article
>  tx_myext_domain_model_category
>  tx_myext_article_category_mm
>
> That are even more meaningful names for domain objects.
>
> 2010/10/19 Stefan Isak <stefanisak at googlemail.com>
>
> > Do you make use of extbase_kickstarter?
> >
> > Be aware of conventions. Your tables should look like:
> >   tx_myext_domain_model_art
> >   tx_myext_domain_model_cat
> >   tx_myext_art_cat_mm
> >
> > Cheers
> > Stefan
> >
> > 2010/10/19 Dawid Pacholczyk <dpacholczyk at gmail.com>
> >
> >> I just want to add that I`m asking here cause in old school
> >> ext/kickstarter
> >> I could click "true m-m relation". How can I achive it here ?
> >>
> >> 2010/10/19 Dawid Pacholczyk <dpacholczyk at gmail.com>
> >>
> >> > I would like to create a MM relation.
> >> >
> >> > I have categories. (table and model is created) and I have article
> >> (table
> >> > and model is created)
> >> >
> >> > Normalny I would create table "artcat_mm" and make 1-to-many relations
> >> from
> >> > category and article table so I did that. I`ve changed TCA
> configuration
> >> of
> >> > Article and made there a select box with categories. I can select them
> >> (2
> >> > or
> >> > 3 or how much I want) but how can I say TYPO3 to write records in
> >> artcat_mm
> >> > ??
> >> >
> >> > Best regards,
> >> > Dawid Pacholczyk
> >> >
> >> > --
> >> > Dawid Pacholczyk
> >> > tel: 502-054-334
> >> > gg: 5564051
> >> > skype: dpacholczyk
> >> > http://typo3blog.pl (only polish version at the moment)
> >> > _______________________________________________
> >> > TYPO3-project-typo3v4mvc mailing list
> >> > TYPO3-project-typo3v4mvc at lists.typo3.org
> >> >
> >>
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
> >> >
> >>
> >>
> >>
> >> --
> >> Dawid Pacholczyk
> >> tel: 502-054-334
> >> gg: 5564051
> >> skype: dpacholczyk
> >> http://typo3blog.pl (only polish version at the moment)
> >> _______________________________________________
> >> TYPO3-project-typo3v4mvc mailing list
> >> TYPO3-project-typo3v4mvc at lists.typo3.org
> >>
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
> >>
> >
> >
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>



-- 
Dawid Pacholczyk
tel: 502-054-334
gg: 5564051
skype: dpacholczyk
http://typo3blog.pl (only polish version at the moment)


More information about the TYPO3-project-typo3v4mvc mailing list