Sections association
This is an open discussion with 4 replies, filed under Extensions.
Search
Section association is a way for the system to know if it needs to create a column with a entry count and link to the associated section. You see these columns when you have a section link field linking to another section.
Sorry, but I still don’t get the point :) Could you give me some teenie-tiny example of when should I use it?
Does this thread explain it any better: Core: Section Associations?
There are a small handful of fields that use the Associated Sections concept, the most common being the Select Box Link. When you link two sections together using this field, Symphony tracks this relationship in the associations database table. When it comes to render the entry table it looks for any relationships that this sections is a part of, and creates a column for each (each cell is a hyperlinked number of the total related entries, linking to the related section).
Okay, it’s clear now.
I had a feeling that I’m implementing something similar and it was a good feeling :) THANKS!
Create an account or sign in to comment.
Hi, I’m fighting with writing my own extension. One part of it is displaying entries exactly in the same way as symphony does in a content.publish.php (with some bonuses from me). I removed pagination and ordering because they are not necessary for now and make my code much more complicated. But I encountered an issue I can’t figure out, namely section_associations table in my database and pieces of code in content.publish.php related to it (__viewIndex function):
What this is for?