Discontinued |
[eluser]Vangelis B[/eluser]
Trying to make it work. It couldn't connect to database. I saw you got Code: $this->load->database('lab_test_1'); replacing with Code: $this->load->database();
[eluser]Kow[/eluser]
Hello Herrakleun, Gratulations for you nice job, I'm looking long for an ultimate CRUD solution for a long time, and I think this will help me a lot in the future. I have some suggestions for the next releases: - intelligent form generation. TEXTAREA for text db fields, SELECT for enums, checkbox for BOOLEAN or int(1) fields. - Better form control %TABLE_INPUTS% I'm using smarty templates with CI, so I still have to create the views by hand, but It's not a big problem, they always need work. Maybe: %TABLE_INPUTS% %INPUT%<input name="username" value="">%/INPUT% %SELECT%<select name="user_level">%OPTIONS%</select>%/SELECT% %TEXTAREA%<textarea>%TEXTAREA_VALUE%</textarea>%/TEXTAREA% %/TABLE_INPUTS% - documentation - provide a search function in the demo model - add pagination to the enroll model - realtion mapper config file maybe it can help automatically create relations for tables. Code: // This is a 1:1 relation and should produce a $this->db->join('groups', 'users.group_id = groups.group_id') Creating the template language can get tricky with advanced mapping, but not impossible. Cheers!
[eluser]Kow[/eluser]
Hi, I added a new template variable: %MODEL_ROW_ARRAY% It creates an output like this: Code: foreach ( $query->result_array() as $row ) It can be useful, because you can modify the data more easily like adding a DATE() function or creating extra variables like $row['seo_url'] based on existing values.
[eluser]The Wizard[/eluser]
Hello kow ![]() i am happy it helped you. feel free to modify the code for your own use and you may feel happy to post it to the google code too. take care ![]()
[eluser]Kow[/eluser]
I took the project a bit further meanwhile: - Added %FIELD_LOOP% %/FIELD_LOOP% support I'm using Template lite with codeigniter, and this is a view for me: Code: <h3>Details of { $table_name }, record #{ $id }</h3> - Auto generated language file for table field names. It creates file like this: Code: /************************* In my version, the filed names are matched in the model. - I also added pagination to the model templates As soon as I complete the saving and editing modifications I contact you. I work on a form configurator now, to create checkboxes, selects, textareas and so on...
[eluser]The Wizard[/eluser]
Wow, you quite impress all of us ![]() feel free to complete your version and add your name to the developer list. i appreciate your doing, thank you ![]()
[eluser]Dave Porter[/eluser]
Hi everyone, New to CI and read this thread with interest... But where do you get the latest version of iScaffold ? The download link shows the file is way back in May ! cheers Dave
[eluser]Kow[/eluser]
Hello, You can grab the code here: http://code.google.com/p/ci-crud-generator/ Version 2.0 is on the way, please stay tuned ![]() http://tibor.szasz.hu/post/iscaffold-20-preview/28
[eluser]Unknown[/eluser]
I really want to try iScaffold out but every time I click generate I get this error: An Error Was Encountered The URI you submitted has disallowed characters. It does that no matter what I try to change. Anyone have any ideas on what could be causing it? |
Welcome Guest, Not a member yet? Register Sign In |