Hi,
I'm using the CakeDC Users plugin and have it working, however when I access it from a View in the main app, it is showing only the user id rather than the displayfield =
'username';
Plugin User Model contains
public $displayField = 'username';
Main App View (add.ctp) Contains
echo $this->Form->input('user_id');
View displays user_id rather than username.
Any ideas on what needs to be done to get this to show displayfield correctly? I tried adding a recursive=2 to the add action for the correspoiding view but that did not work...
Thanks in advance
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
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+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
Thursday, January 3, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment