Jump to content


25cc

Member Since 17 Jun 2013
Offline Last Active Jun 24 2013 09:29 AM
-----

Topics I've Started

Update issues with relation_n_n & newb questions

17 June 2013 - 06:52 AM

Hi! Everyone,

 

Let me take this opportunity to thank Grocery Crud developers, it has simplified life of programmers for sure.

 

Thank you.

 

Scenario:

 

If we refer to example for set_relation_n_n given in the documentation

(http://www.grocerycr...et_relation_n_n), the three tables film, film_actor and actor. Lets add one column to film_actor let say nick_name ( nick name of the actor in that particular film).

 

Question:

1. I want to insert to film_actor not only the relationship keys but also nick_name.

 

2. I hear this is for back end, is there a problem if someone controls the access to actions and use it in front end?

 

3. Is it possible to output data from custom model in themes (databases/flexigrid)?

 

Replies with code snippets and/or examples will be appreciated.

 

Thank you all in advance.