Monday 11 October 2010 4:16:34 pm
Hello Heath, Yes, today I could create my own functions based on the code you mentioned, and I was successful ! ;-) (solution: function fetchDraftVersionList_in_a_node(): I've removed the user_id parameter, and added parent_node_id in order to fetch into a specific node) Thus I went further into my project. Now, I'm facing another problem ! ;-) Ezpublish doesn't allow users to edit other users drafts. Thus I thought it could be possible to copy one draft to a second draft, but... the second draft is loosing the original parent id because this new draft is not linked to any contentobject_id ! :-( My objective is to allow people editing the same draft, without sending it for publication, for instance: . user1 creates a new object, he starts editing it, and he saves it as a draft without sending for publication (= draft v1); . user2 edits and modifies this draft... and saves it again as a draft (= draft v2); ... and so on ... (= draft v7) . and then, user3 edits and modifies this "draft v7"... and send it for publishing; I would really want ezpublish to allow a user to edit another user's draft. I keep investigating and search for a solution... if you have hints, I'm interested. Thank you.
Samuel Torton
|