Integrities

In case you want to automatically delete children items when a parent item is suppressed, you need to define the integrity parameter.
Open the properties of the children Foreign Key, and choose your prefered option.

N:M Foreign Key Integrity Cook

The integrities are infinitely cascadable.



Many to Many

If you are using many-to-many relations in your component, you need to set this option for both foreign keys. (Most cases)

For every foreign key in the Pivot table, choose 'FK integrity' = 'cascad' in the field properties.
(The previous image is giving the example)

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started