Re: $scaffold: Display only certain fields to the user (index/view)? --psybear

2014-01-26 Thread Nishant Gupta
Hi psybear83 

I have found a very interesting post on your query. you can follow the post 
Cakephp 
specific fields in scaffolding index view 
http://www.programmersvilla.com/cakephp2/cakephp-specific-fields-in-scaffolding-index-view/
.
here you will find new customized scaffold file with new feature and 
implmentation technique.



On Thursday, December 2, 2010 5:20:13 PM UTC+5:30, psybear83 wrote:

 Hey everybody 

 I guess that's a newbie question, but I didn't find an answer yet... 
 So: is there a way to only show certain fields of a model to the user 
 when on the index or view page? 

 Thanks 
 Josh

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


$scaffold: Display only certain fields to the user (index/view)? --psybear

2010-12-02 Thread psybear83
Hey everybody

I guess that's a newbie question, but I didn't find an answer yet...
So: is there a way to only show certain fields of a model to the user
when on the index or view page?

Thanks
Josh

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


Re: $scaffold: Display only certain fields to the user (index/view)? --psybear

2010-12-02 Thread euromark
in this case use bake scripts and customize it then
scaffold is not supposed to be used in that way

On 2 Dez., 12:50, psybear83 psybea...@gmail.com wrote:
 Hey everybody

 I guess that's a newbie question, but I didn't find an answer yet...
 So: is there a way to only show certain fields of a model to the user
 when on the index or view page?

 Thanks
 Josh

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


Re: $scaffold: Display only certain fields to the user (index/view)? --psybear

2010-12-02 Thread Joshua Muheim
Thanks, Mark! I know that it's not supposed to be used in that way,
but I have my reasons why I'm asking it.

I noticed that I can unset keys in the
Controller::viewVars['scaffoldFields'] variable to get what I want.

On Thu, Dec 2, 2010 at 3:28 PM, euromark dereurom...@googlemail.com wrote:
 in this case use bake scripts and customize it then
 scaffold is not supposed to be used in that way

 On 2 Dez., 12:50, psybear83 psybea...@gmail.com wrote:
 Hey everybody

 I guess that's a newbie question, but I didn't find an answer yet...
 So: is there a way to only show certain fields of a model to the user
 when on the index or view page?

 Thanks
 Josh

 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


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