Re: Elements, variables and layouts

2006-08-11 Thread Peter Boosten
Yeah! that did the trick. (although you forgot a closing parenthesis: $this-set('some_variable',array('some'='data'); ) THNX. Peter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to

Elements, variables and layouts

2006-08-10 Thread Peter Boosten
It's possible to submit an array with variables into an element (using renderElement). I've tried this from a view and it worked like charm. But I want my elements in my default layout. How do I submit variables into that element, from the view. The element holds a title for a page, that's

What can Cake do for me?

2006-08-03 Thread Peter Boosten
Hi all, Just wondering: I've written an online survey in plain PHP (to be used in near future) which pulls its questions from MySQL and puts the answers (after presented via a form) back into a table. It's getting complicated: the questions belong to a certain category, which belong to a