Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

many_many question

Go to End



Community Member, 66 Posts

21 April 2008 at 11:27pm

Edited: 21/04/2008 11:28pm

Hi dear SilverStrip Team,

I've an question abou many_many
as shown in the Project -> Module relation
in the Silverstipe Sample 'Stundent'

Is the additionaly 'belongs_many_many' mandatory
on the Module end of the relation?
Doest saphire need it to do all things right?
The 'table' name 'Project_Modules' comes out of the many_many, so things should be
on the way...

I'm asking because i've got situations where i don't need these 'backways'.

Will things go right (also in ComplexForms) if i don't specify the 'belongs_many_many'
on the other end?

Would be nice to have any suggestions