Re: 2 noobie questions

2006-11-14 Thread Christoph
> " ... you can call this function to render the view at any point in the > controller logic" At first I was like "Huh? How does that help me. I'm still using just one view." then , the light bulb went on. :p duh. :) Thanks for pointing that out! thnx, Christoph --~--~-~--~~--

Re: 2 noobie questions

2006-11-14 Thread NOSLOW
>> Is it possible to tell a controller to use multiple views? I believe the example shown in the online manual for requestAction in the Controllers chapter is what you're looking for (http://manual.cakephp.org/chapter/controllers). In this example, a function named "showUserProducts" is added to

Re: 2 noobie questions

2006-11-13 Thread the_woodsman
Hi, Just to try and help with point 1 "Is it possible to tell a controller to use multiple views? It's own and also any other? " The auto-rendering of views matching the controller action is handy, but not enforced - I believe you're looking for the Controller's render() method. As per the

Re: 2 noobie questions

2006-11-13 Thread TWIOF
Woops, replied to wrong post, thick ot what! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send ema

Re: 2 noobie questions

2006-11-13 Thread TWIOF
Cheers Christoph, doesn't seem to work though, if i change the relationship top hasOne it finds it. But I'd like to do it with hasMany --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to t

2 noobie questions

2006-11-13 Thread Christoph
I'm still trying to figure cake out and I've a few questions, both about varying degrees of code re-use. Let me say first that I created the MVC for all of my database tables using bake.php. I must say, it is a *very* handy utility for those just learning. 1) Let's say I have 2 sections of my s