hi timgno
Quote:
by Bleekk on 2015/5/1 21:53:53
Thank you very much for this module. I am not sure if the xoops community realize how important this module is 
yes, for a developer it is the best module ever (I used it for all my modules till now), so I hope I can help to improve it.
I made some test the lasdays, but still on 
alpha 1 (sorry, I didn't see, that there is a new version), so maybe you have already fixed some bugs/errors, but maybe it helps.
tdmcreate 1.91 alpa 1 
download from github, 02.05.2015
Xoops 2.5.7.1
firefox 37.0.2
1) creating new module:
2 errors will be shown in debug area:
Warning: opendir(/uploads/tdmcreate/images/modules,/uploads/tdmcreate/images/modules): Das System kann die angegebene Datei nicht finden. (code: 2) in file /class/xoopslists.php line 159
Warning: opendir(/uploads/tdmcreate/images/modules): failed to open dir: No such file or directory in file /class/xoopslists.php line 159
if you create this folder "creating new module" works
2) after creating a table the tables/fields view does not proper work, if you click on the toggle at column ID (see 

 and 

)
replace in assets/css/admin/style.css line 216 
 .field-list tr td { display: block; }  
 by
 .field-list tr td { display: float; }  
3) in the parameters list and existing table appears more than one time (see 

)
4) Question: what does the option "Field: Is parent" mean/cause?
5) after clicking on building module, all is marked es well done, but 2 errors are show in debug area:
Warning: copy(/uploads/tdmcreate/images/modules/xoopsdevelopmentteam_logo.gif): failed to open stream: No such file or directory in file /modules/tdmcreate/class/files/TDMCreateArchitecture.php line 142
Warning: copy(/uploads/tdmcreate/images/modules/xoopsdevelopmentteam_logo.gif): failed to open stream: No such file or directory in file /modules/tdmcreate/class/files/TDMCreateStructure.php line 218
6) if you edit a default value for a field, this value will be not saved - I found not, why 

7) in my test I created finally one module with 3 tables
8) installing my new module was not possible because of missing default values in mysql-statement in mysql.sql, so I fixed this errors manually
9) second try to install module: error in xoops_version.php is shown.
error is caused by:
 $modversion['notification']['category'][] = array( 
    'name' => "global",  
    'title' => _MI_MYMODULEDIRNAME_GLOBAL_NOTIFY, 
    'description' => _MI_MYMODULEDIRNAME_GLOBAL_NOTIFY_DESC, 
    'subscribe_from' => array('index.php', 'table1.php', 'table2.php''table3.php'));  
 there is a comma missing before 'table2.php'
I fixed this errors manually
10) now installing worked
I have now my module with the 3 tables
11) if I click on in the dashboard on "table1" I get error:
Fatal error: Call to a member function getCount() on a non-object in ...\htdocs\modules\mymoduledirname\admin\table1.php on line 46
Solution: I added to admin/header.php 
 // get handler 
$table1Handler =& $mymoduledirname->getHandler('table1'); 
$table2Handler =& $mymoduledirname->getHandler('table2'); 
$table3Handler =& $mymoduledirname->getHandler('table3');  
now it works
12) in the created admin files in the switch list/default the array doesn't contain the value for the id, so the ID is not shown (see 

)
I will continuing my tests with alpha 2. 
Should I fix the errors ( if I can 

 )in my github fork and upload the changes?