#1
Please be informed that this post is about a module created by me. It is an unofficial, personal project and does in NO WAY represent an official Trongate release.

Since DC revealed the new Trongate v2, I have been playing a lot with it.
Install -> build -> try something -> screw up -> discard -> repeat
I saw myself repeating the same basic steps over and over and so I created some scripts to speed things up.
As a learning project I combined the steps into a module.
After showing it, my better half decided I could not keep it to myself but should share it.
So that is what I am doing now.
If you download the v2 code from github and put it in a project folder, get the kickstart module (from my github) and add it in the modules folder, then just start it at localhost/project/kickstart.

Please be warned this module is intended to be used in XAMPP, in development only.
There will be mistakes, errors etc.
There are personal preferences (the way I handle validation definitions is different)
The creation of new modules is according to the new structure and controllers divisions (AS I UNDERSTAND THEM NOW). Pending docs and tuts.
If you like it, please let me know. If you don't, please don't.
If it inspires you to create a really good version, please share.
Thank you.

And not unimportant: you can find it at https://github.com/***/***

PS: I think I did not catch all the parts still in Dutch, I hope to correct them over time.
#2
It's excellent. It's also super useful. I have a funny feeling that it might just evolve into something amazing.

As you know, I spent a great deal of time building a code generator for Trongate v1. Personally speaking, I want to just go back to bare basics for a while. Perhaps in the future, I'll go back to some kind of code generator. For the moment, it's so refreshing to be here seeing an idea like yours come to fruition.

I'm loving it. More power to you!
#3
I see much of the code in your plugin uses v1 code, you should maybe update it to be more v2. I get some errors trying to use this with tg v2 it does not import all tables or adding all insert statements into db. i added a pull request for a fix in the all_table sqlfile, wher insert statement missed the last field and value, resulting in only trongate_administrators table was built, and no admin inserted into the table. Also it copied the members module and created the members table, it did not run the sql to insert member role into trongate_user_levels table.

In your Member module controller you get a non instantiated error because you use the tg v1 module loading method (which now is not necessary) also you use which is changed in v2 where the first under score now is gone from the method. so we use instead of the _ infront of method names, use the new block_url() method for methods that should not be invocable from url. https://trongate.io/documentation/trongate_php_framework/intercepting-requests/preventing-url-invocation

You should read the new docs, and make changes to your kickstart module, it would surely be a timesaver to use such a module.

Cheers!
#4
Hi chr1974,
Thank you for your reply. And thank you for taking the time to really go over the code.
Your are right I made a mistake by including an old starter_tables.sql file where the active field was still missing. And indeed, some of the code of the members module was still very v1 as the documentation was largely unavailable last week. In hindsight I might have been too eager to share a not even half-baked something, while I should have known better. I got carried away by the joy of a working sql-importer-module-code-generator. My bad.
I will rework this module as soon as I have a better understanding of the v2 way and until then I will withdraw the project to private. (And maybe I should leave the code-contribution to the more knowledgeable altogether - remains to be seen).
Thanks anyway, kind regards.