Saturday 11 October 2003 2:45:56 pm
I'm still confronted with one problem: I want a user, who is logged in, to suscribe to a course. For doing that, Eirik Johansen told me, i should use the "placements of object" feature. I think he means, that i should create a node of the user under the course object. Doing this manually in the admin interface works, but i still don't know, how to do this with only one click. I am searching for a code (in my template), i think this should be a form, where i can provide a button for the user, and if he clicks, his node should be placed under the courseobject where he is in. What i already know is the $current_user.contentobject.id and the $node.node_id, where the copy of the user should be copied to. What i don't know, is the code for the form, and if it is possible to create a new node without getting through the 'create a new draft' ... Thank you very much, Thomas ps: the first topic where eirik helped me you find http://ez.no/developer/ez_publish_3/forum/developer/suscribing_to_a_course . I don't publish my question there, because i think it's not a developer question anymore.
|