need help with views

2009-03-10 Thread tibit
Hi, i have a question about cakephp views , i want to have diferent views using the same function from controller.Is this possible? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this

Re: need help with views

2009-03-10 Thread Alfredo Quiroga-Villamil
I believe one way to achieve this is by using: $this-render() http://api.cakephp.org/class/app-controller#method-AppControllerrender from your controller and render the view you want. This would likely be based on certain conditions based on your previous email. So you would end up with a case

Re: need help with views

2009-03-10 Thread brian
On Tue, Mar 10, 2009 at 10:07 AM, Alfredo Quiroga-Villamil laww...@gmail.com wrote: I believe one way to achieve this is by using: $this-render() http://api.cakephp.org/class/app-controller#method-AppControllerrender from your controller and render the view you want. This would likely be

Re: need help with Views and models

2009-02-09 Thread monirr444
.nabble.com/need-help-with-Views-and-models-tp2284379p2298209.html Sent from the CakePHP mailing list archive at Nabble.com. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email

Re: need help with Views and models

2009-02-07 Thread WebbedIT
It's pretty hard from the information above to work out what you need help with. Seeing only the views gives us limited information and I can see no link from category to recipe above. Does this mean you are unable to see the view for recipes or category when visiting /recipes/ view/xx or