p.s. I am using elements here but you can just use php's require() or include()
On Dec 6, 4:17 am, "[email protected]" <[email protected]> wrote: > You do not even have to use elements. Just call the views from your > action to enable all the $this->set() calls, and include the views via > $this->element('../controllername/viewname.ctp'), you could also use. > > This is how I do it, in my example I show registration and login view > next to each > other:http://github.com/ionas/sna/blob/master/www/app/controllers/users_con...http://github.com/ionas/sna/blob/master/www/app/views/users/register_... > > requestAction did not work because of > a.) SecurityComponent > b.) associated Models (gender_id) did not display as a dropdown > > elements did not work because of b.) above - neither. > > Merging views like that worked like a charm. 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
