⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Relation n_n - fill third column in middle table



Alessandro Garcez
  • profile picture
  • Member

Posted 15 January 2014 - 00:14 AM

I have an application where I use Codeigniter + Grocery CRUD.

I was making a "n_n" relation , but in table that store the relation there is a third field.

Bellow my DB structure:

JDFhI.png

Grocery CRUD allows me to select the socialmedia as displayed bellow:

jrVbe.png

The complete functionality is showed here:http://www.grocerycrud.com/documentation/options_functions/set_relation_n_n

How can I complete the profile field (commerce_socialmedia.profile) when a socialmedia item is selected in my form? Someone can help me? Is there something already done for my necessity?

Thanks