51
goffy
Re: TDMCreate 1.91 alpha 1 for Testing
  • 2015/1/28 7:27

  • goffy

  • Just can't stay away

  • Posts: 543

  • Since: 2010/12/27


field_main['.$i.']
is not the same as
field_main['.$id.']



52
timgno
Re: TDMCreate 1.91 alpha 1 for Testing
  • 2015/1/28 10:38

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Yes please!

Thanks

But it was just a typo and not change much.

The problem is to be solved, and it seems that I have to work well yet to solve

53
timgno
Re: TDMCreate 1.91 alpha 1 for Testing
  • 2015/4/22 17:59

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Fixed some major bugs and added other code with new tools

For those wishing to help out or report with small lines of code, after approval, may use this link to access documents of google,

On GitHub for Download

54
Mamba
Re: TDMCreate 1.91 alpha 1 for Testing
  • 2015/4/23 17:44

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Thanks, Timgno.

I had a quick run, but there were some bugs. I'll take a deeper look maybe next week to see if there were real bugs, or just "operator errors", i.e. me
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

55
timgno
Re: TDMCreate 1.91 alpha 1 for Testing
  • 2015/4/23 19:35

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Yes, there are still some bugs

Taking the test, if I create tables with a few fields, saves them regularly, but if I create with many fields saves only the basis of the fields.

However, I added other code and this definitely makes mistakes

56
timgno
Re: TDMCreate 1.91 alpha 2 for Testing
  • 2015/5/1 16:45

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Alpha 2 is ready for testing

Fixed bugs
Deleted field_numb this is too, we can use table_nbfields
Changed Engine database to InnoDB
Added Check All checkbox in modules and tables form
Added php __DIR__ function

Download from GitHub

Needed fresh installation

57
Bleekk
Re: TDMCreate 1.91 alpha 2 for Testing
  • 2015/5/1 20:53

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


Thank you very much for this module. I am not sure if the xoops community realize how important this module is

58
timgno
Re: TDMCreate 1.91 alpha 2 for Testing
  • 2015/5/3 13:13

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Added field table_solename, in tables to distinguish from the plural to the singular name.

Currently the name of the buttons and others uses, was added table_fieldname from the table, but if it contains a short name, for example, three or four characters as in the following picture,


Resized Image


when we look at a button in admin's not clear what it means

Resized Image


Roadmap:
As soon as possible in this alpha version 2, will be added to other files in the user side.
Alpha 3, we should solve the problem of the display in the lists in admin
Fix some bugs.
Beta solve all the bugs with tests for possible additions if there are requests
RC last remaining bugs
If everything goes as it should next month we should have a Final version
Of course with your help.

Download last commit today on GitHub

Thanks!

59
goffy
Re: TDMCreate 1.91 alpha 1 for Testing
  • 2015/5/3 18:35

  • goffy

  • Just can't stay away

  • Posts: 543

  • Since: 2010/12/27


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 Resized Image
and Resized Image
)
replace in assets/css/admin/style.css line 216
.field-list tr td displayblock; }
by
.field-list tr td displayfloat; }


3) in the parameters list and existing table appears more than one time (see Resized Image
)

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 Resized Image
)

I will continuing my tests with alpha 2.
Should I fix the errors ( if I can )in my github fork and upload the changes?

60
timgno
Re: TDMCreate 1.91 alpha 2 for Testing
  • 2015/5/4 13:29

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


@goffy
Pleace clear your cache first.

Your contribution is greatly appreciated

A new release is now (Renamed Title on GitHub)

Login

Who's Online

342 user(s) are online (173 user(s) are browsing Support Forums)


Members: 0


Guests: 342


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits