Hi Shaz, thanks for your help, but I need to show the field of another
Model. To say the field name Model2.

On 12 jul, 05:47, Shaz <shazam...@gmail.com> wrote:
> class Model extends AppModel {
>         var $name = 'Model';
>         var $displayField = 'name';
>
> }
>
> Change 'name' to whatever you want to be shown (i.e. 'title' etc)
>
> On 10 July, 20:58, Samueljslg <samuelj...@hotmail.com> wrote:
>
>
>
> > Hello friends, I am starting with cakephp, I have a problem, you want
> > to show it in the field of another list related model to work, as I
> > do???. In the cake manual says "The displayField attribute specifies
> > which field in the database should be used as a label for the record."
> > With the above I understand that if you can, so easy to define a
> > variable, anyone knows ????. Or if I can do otherwise. I was watching
> > the loadModel method (). Thanks.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to