I just started to work with Yii and I have some problem to figure the way to do it.
I have 3 tables (categories, languages and categories_language) the last one being a pivot. In this pivot table I have
CatId : integer
LangId : Integer
Name : Varchar(50)
Using the crud generator I get checkbox to make the link but I would like also to be able to input the ‘Name’ field at the same time. How can I do that ?
The easiest would be to use Gii to generate a model for your ‘categories_language’ table, and then change your category and language models accordingly.