[TYPO3-mvc] MM relation

Stefan Isak stefanisak at googlemail.com
Tue Oct 19 16:36:06 CEST 2010


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
>>
>
>


More information about the TYPO3-project-typo3v4mvc mailing list