Remember if you use code wich make a connection to the database you need to reconnect to the database the WB way or WB won't know the database!
$database = new database;
I had simular done with datagrid ->
http://phpbuilder.blogspot.comWhat I did was copying the extracted datagrid to the modules dir
Made a code page and put the content of code_template.php in it and start modifying what I needed
Tips
- before you start using datagrid , try playing with the settings
- make sure you fetch the datagrid with the correct version php you have!
- test for the username to set editing on and off etc.
if ($wb->get_username()=="admin" ) {
$admin=1;
}else {
$admin=0;
}
Have fun,
John