Developer
Supported
Introvert
Back to this add-on's main page
View Other Add-ons From iain
Does this only work out of the relationships table?
General
|
Adrienne Travis
|
| Posted: 04 October 2011 02:33 PM |
|
|
|
|
Or could I point it at a custom field, for example a Selectatron field, to pull entries from?
(I don’t have a copy yet, I’m trying to figure out whether it will do what I need it to first!)
|
|
|
|
|
iain
|
| Posted: 04 October 2011 02:42 PM |
# 1
|
|
|
Developer
|
It does pull from the native relationships table, but not at a specific field level.
The rel table only uses entry_ids to store it’s data so if you had two Selectatron fields at the other end, you couldn’t distinguish which field had which rel data - if that’s what you’re after?
|
|
|
|
|
Adrienne Travis
|
| Posted: 04 October 2011 03:08 PM |
# 2
|
|
|
|
Selectatron fields don’t store in the relationships table at all, though?
(I think you answered my question, though. I’ll have to write something to do what i need. :) )
|
|
|
|
|
iain
|
| Posted: 04 October 2011 05:08 PM |
# 3
|
|
|
Developer
|
There’s a preference setting in the field to store the relationship in the native relationships table too, so yes it can *also* store it’s data in the rel table.
The reason it stores a pipe delimited string of selected entry ids in the field is because the related_entries tag only lets you use a single entry, so using the field data into an embed you are getting one to many relationships… and using the native reverse_related_entries you can work the entries the other way…
Make sense?
|
|
|
|