How do I set the parent id by default when adding children?

benjah - November 9, 2009 - 09:16
Project:Editview
Version:6.x-1.x-dev
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I am using the cookbook example (organization->employees) from the project page. I can view existing employees and add new ones. The problem is that the new employees don't get added under the organization (The parent id node reference gets created empty).

If I include the parent_id node reference (organization_id) in the view and set it manually it works. However, ideally the user should not need to select the orgnization since they are already adding this user on the organization page.

Any help would be a huge help.

Thanks,
Ben

#1

benjah - November 9, 2009 - 10:10
Status:active» closed

Found it. Had to hack Editview, but it worked.

http://drupal.org/node/564936#comment-2006958

Other options are here. . .

http://groups.drupal.org/node/17335

Thanks for the wonderful module!!!!

 
 

Drupal is a registered trademark of Dries Buytaert.