Author Topic

Dhaval Patel

Tuesday 18 August 2009 1:49:09 am

Comment50041

hi,

if you want to allow users to select the group, put select tag into register.tpl file. where user will select the group. let us take example that user selected id=3 (group_name3)

now in register.php

put the code for move

eZContentObjectTreeNodeOperations::move( $object->attribute( 'main_node_id' ), $http->variable("group_id") );

$object denotes the created user object and $http->variable("group_id") denotes the destination group node id.

With Best Regards,

Dhaval Patel
Team Leader - iNETProcess(I) Pvt. LTD.
dhaval.patel@inetprocess.com
Ph No: +91 79 65 12 35 00
http://www.inetprocess.co.in