On my site I have a content type set up with all of its cck fields inside of a group. When I go to the normal node view and click the little edit icon all of the fields popup in the frame and everything works perfectly.
I also want to have a views listing of nodes of this content type, and wish to have them be editable within the view. I have my view set to just use the node display, and the edit icon appears as expected next to each item. The issue is that the link for all the edit icons uses the nid of the first node in the listing. While the edit icon for the first item works perfectly fine, all the other node's links just bring up the frame to edit the first node.
Am I doing something wrong or is there a simple way to implement this functionality? Thanks.
Comments
Comment #1
ea777 commentedAre you sure you're not editing the correct node? My "node" display of a view shows all the Modal edit links, and the URLs have the same node ID in them, however after editing and saving they do indeed edit the correct node.
Give it a test and let me know what you find.
Comment #2
frederis commentedNo I'm sure that I'm not getting the correct nodes because I actually was clicking through the links and getting the editing popup for the first node every time. Thanks for the feedback though.
I've actually ended up implementing the functionality I wanted using the automodal module and just adding the automodal class to the node's edit links within a views template. I'll probably get back to looking into this sometime in the near future, so if anyone else has any ideas let me know.