Fieldtype

Developer
Supported

EE 1
EE 2
Introvert

Back to this add-on's main page
View Other Add-ons From iain

     

You must be logged in to post.

Does this only work out of the relationships table?

General

Adrienne Travis
Adrienne Travis

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
# 1
Developer
iain

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
# 2
Adrienne Travis

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
# 3
Developer
iain

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?