else achieved this?
Thanks,
Jamieh...
--~--~-~--~~~---~--~~
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 email
::Add method I have the following:
$this-data['Project']['user_id'] = $this-Session-read('user_id');
..which now populates the value of my hidden field called user_id,
which is the foreign key in the Projects object.
Thanks for your help; it was quite simple really wasn't it.
Thanks,
Jamieh
question,
Jamieh...
--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED
)
Is it actually possible to render a view that belongs to another
object?
jamieh...
--~--~-~--~~~---~--~~
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
this but Cake tells me it cant find the controller for
projects.
Can anyone point me to a tutorial that covers this type of
functionality?
I am currently using:
$this-render('projects/add', 'ajax');
Any help and pointers very much welcome.
Thanks,
Jamieh
Thanks for the reply [EMAIL PROTECTED]
I had actually based my logic on that tutorial. In the tutorial they
are rendering a view of the same object; the ToDo view.
What I was trying to do was a render a view of another object.
Does this require a different approach?
Thanks,
jamieh
OK, I have been playing with this.
My projects controller is this:
##
?php
class ProjectsController extends AppController {
var $name = 'Projects';
var $layout = 'frontend';
var $helpers = array('Html', 'Form', 'Javascript', 'Ajax' );
var