⚠ 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

How to join tables in edit view?



marongbo

marongbo
  • profile picture
  • Member

Posted 25 May 2017 - 03:04 AM

I wanna join tables in a edit view.There is two tables i wanna edit .

 

table entity:  guid,title,main,time_created

 

table word:guid,status.

 

entity.guid = word.guid

 

 entity's field title and word's field status,which I wanna edit in a edit view at one time.How can I make it? 


marongbo

marongbo
  • profile picture
  • Member

Posted 27 May 2017 - 03:18 AM

Finally ,I can solve the problem by using two functions, callback_before_update and  callback_after_update .