[Add User] -- insert a control - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: General discussion (/forum-11.html) +--- Thread: [Add User] -- insert a control (/thread-757.html) |
RE: [Add User] -- insert a control - Ryuuku - 06-14-2007 10:45 PM Some good news ! I managed to execute my script ^ But not totally ^^ File : ispcp-dmn-mngr : Code: if ($dmn_status eq 'toadd') { File : ispcp2egw_dmn_add Code: ## Function Egroupware Control Checkbox Result of my test : -> ispcp-dmn-mngr call well my script -> File test1.sql is well created -> File test.sql is also well created But the printf of $dmn_egw return nothing ... so i have to found how my function could have data from ispcp-dmn-mngr @dmn_data[*] Voilou ^^ See you soon RE: [Add User] -- insert a control - joximu - 06-15-2007 04:54 AM Hi Ryuuku I'm on the way during the day... ok. In the short time I see two things: how does your new script knows, which domain is to be made/deleted/enhanced or whatever... (-> parameter wih domain_id) # my ($rs, $rows, $rdata) = (undef, undef, undef); # my $entry = @$rows[0]; $rs = &egw_ctrl_dmn($entry); $entry seems to be empty/missing/not existent if you have the domain_id, you can make a SELECT on the database to get the infos you need. See what I mean? /J RE: [Add User] -- insert a control - Ryuuku - 06-15-2007 09:49 PM Yep ; ) I think i've found a solution : ) I'm testing it ^ I will post my report Thx one more time /Joxi ! ( My helper ^^ ) RE: [Add User] -- insert a control - Ryuuku - 06-16-2007 12:15 AM Solution found ! Code: $dbh = DBI->connect('dbi:mysql:ispcp',$Mysql_Login,$Mysql_Mdp) or die "Echec de la connexion\n"; I win a batltle ^^ but not the war yet ^^ Go Go Go ^^ Ryu ! RE: [Add User] -- insert a control - Ryuuku - 07-04-2007 05:52 PM Some news about my project : => Project finished about 95% ( Like the Rc3 ^^ ) I'm actually waiting for : => IspCP Rc3 => A small developpement of Egw Team => An update of my install script / procédure Seen you soon i hope with the project totally finished ! Ryu ! |