Until we set up the forum or bug tracker please post your bugs, questions, feature requests here.
Comments
It seems that I have a problem :)!
After generating and trying to see if it works I get this error :
An Error Was Encountered
Unable to load the requested class: template
I’m trying to figure it out, but I am to tired to search deep :)!
Hope find a solution ASAP!
I have to say that what have you done, is awesome, and I think you should make an option regarding the views! Using template system, or standard Html !
Thanks in advance for your help and sorry for
my bad english
thanks for your quick reply, i already tried to rename to lowercase, but it didn’t work!
But finally after reinstalling codeigniter, everything was fine! i still don’t know what was the problem :) !
The application looks very very fine, and also it works perfect!
I am waiting for the documentation to be ready, so I can learn better how to customize the generator!
I hope after reading that, i will be able to modify the template part, and to change the views only to html !
Congratulations for your work, and hope you won’t stop here!
Thanks again for your support, and sorry for my bad english
The thing with the templates is really an issue that will be solved, but the views cannot be just plain HTML, rather native PHP templating.
The idea is, that there will be multiple template directories, but first, the code needs some optimization to support that. Right now, you can only do this by modifying model_iscaffold.php itself.
Thanks a lot for your support!
I still waiting for documentation!
I hope that you will help me further if I decide to modify the way how generator makes the template!
Regarding my statement about “plain html” i know that i’ve made a mistake :P!
I believe there might be a bug on the “hidden” checkboxes. it is disabled hardcoded and this value is populated from database. The thing is, nowhere in the code it changes the sf_hidden from 0 to 1.
‘Hidden’ feature is not implemented yet, it just shows where will you be able to do that. I planned that it will hide the element in the form. For example you can set up a Google Map in a form and simply update the values of longitudes and latitudes.
In fact this can be achieved by adding a “hidden” class. Maybe the checkbox should be deprecated.
Thanks for commenting.
The documentation is on the way. I just got a new job and time is a critical factor :(
If you don’t mind, I’m forking this project to suit my needs, adding a more “ready” code, like <img> tags on image file uploads, more type fields (like the date/time/datetime when record is inserted and of course the support for “date/time/datetime” fields. And more, changing the explain table helper to read field comments (maybe the ‘rules’ to create fields can be on comments).
That said, what about to mix our codes and make this project better?
Hi everybody. I got error “Fatal error: Class ‘Controller’ not found in C:\AppServ\www\mypj\controllers\products.php on line 3” I copied 2 folders inside scaffold_package folder but nothing changed. Anyone help me?
I discovered one defect that I would like to report, together with my solution.
In configurator.php where you build the one-to-one select box, you are only comparing the field name and not the table name. This works as long as the field name does not occur in more than one table, but when you have switch tables, the field name WILL occur in more than one table.
Does this run only under a specific PHP installation?
I downloaded the 2.0 RC1 version and there are errors all over the place.
Mostly deprecated warnings.
A major disallowed URI characters error which I get rid of by allowing all characters.
In the end there is an output but there is this strange feeling.
It seems that I have a problem :)!
After generating and trying to see if it works I get this error :
An Error Was Encountered
Unable to load the requested class: template
I’m trying to figure it out, but I am to tired to search deep :)!
Hope find a solution ASAP!
I have to say that what have you done, is awesome, and I think you should make an option regarding the views! Using template system, or standard Html !
Thanks in advance for your help and sorry for
my bad english
Posted by Alexandru @ Jan 7, 09:39 PM #
Thank you for testing.
Try to rename libraries/Template.php to lowercase.
Also make sure, that you copied the "scaffold_package" directory in your development application.
Posted by Tibor Szász @ Jan 7, 10:05 PM #
thanks for your quick reply, i already tried to rename to lowercase, but it didn’t work!
But finally after reinstalling codeigniter, everything was fine! i still don’t know what was the problem :) !
The application looks very very fine, and also it works perfect!
I am waiting for the documentation to be ready, so I can learn better how to customize the generator!
I hope after reading that, i will be able to modify the template part, and to change the views only to html !
Congratulations for your work, and hope you won’t stop here!
Thanks again for your support, and sorry for my bad english
Posted by Alexandru @ Jan 7, 11:23 PM #
I’m glad it’s working for you.
The thing with the templates is really an issue that will be solved, but the views cannot be just plain HTML, rather native PHP templating.
The idea is, that there will be multiple template directories, but first, the code needs some optimization to support that. Right now, you can only do this by modifying model_iscaffold.php itself.
Posted by Tibor Szász @ Jan 7, 11:49 PM #
Thanks a lot for your support!
I still waiting for documentation!
I hope that you will help me further if I decide to modify the way how generator makes the template!
Regarding my statement about “plain html” i know that i’ve made a mistake :P!
Sorry for my bad english!
Posted by Alexandru @ Jan 8, 05:34 PM #
The download package at iscaffold.skyweb.hu homepage contains lots of svn files. I think these need be removed ;)
Posted by Mario Zorz @ Feb 7, 06:18 PM #
Hi.. first of all: great app!
I believe there might be a bug on the “hidden” checkboxes. it is disabled hardcoded and this value is populated from database. The thing is, nowhere in the code it changes the sf_hidden from 0 to 1.
ps: just waiting for more documentation!
TKS
Posted by Vicente Russo @ Mar 7, 06:23 AM #
Hello Russo,
It’s my fault not mentioning it somewhere.‘Hidden’ feature is not implemented yet, it just shows where will you be able to do that. I planned that it will hide the element in the form. For example you can set up a Google Map in a form and simply update the values of longitudes and latitudes.
In fact this can be achieved by adding a “hidden” class. Maybe the checkbox should be deprecated.
Thanks for commenting.
The documentation is on the way. I just got a new job and time is a critical factor :(
Posted by Tibor Szász @ Mar 7, 01:35 PM #
Hello again.
If you don’t mind, I’m forking this project to suit my needs, adding a more “ready” code, like <img> tags on image file uploads, more type fields (like the date/time/datetime when record is inserted and of course the support for “date/time/datetime” fields. And more, changing the explain table helper to read field comments (maybe the ‘rules’ to create fields can be on comments).
That said, what about to mix our codes and make this project better?
Posted by Vicente Russo @ Mar 10, 08:49 PM #
@Vicente Russo, that would be cool, I’ll contact you soon about the improvements and the collaboration.
Posted by Tibor Szász @ Mar 10, 09:54 PM #
Hi Tibor,
Is the code of related tables (one -> one) unfinished? There is no JOIN being created at the moment.
Regards
Posted by Vicente Russo Neto @ Mar 11, 07:44 AM #
That should work. Some day ago I created small project based on it: http://tibor.szasz.hu/labs/gyula/
Posted by Tibor Szász @ Mar 11, 07:49 AM #
What is this link? o.O
Posted by Vicente Russo @ Mar 11, 05:17 PM #
This is a simple portfolio website for a friend of mine, it’s a test version with dummy contents :)
Posted by Tibor Szász @ Mar 11, 05:20 PM #
Hi everybody. I got error “Fatal error: Class ‘Controller’ not found in C:\AppServ\www\mypj\controllers\products.php on line 3” I copied 2 folders inside scaffold_package folder but nothing changed. Anyone help me?
Posted by tainguyen @ May 19, 08:47 AM #
It seems you didn’t copy the generated controllers to a working codeigniter installation.
You must have a separate codeigniter installed.
Into the root folder you have to copy the contents of “scaffold_package”.
Then in the system/application copy the contents of the “output” directory.
Posted by Tibor Szász @ May 19, 08:53 AM #
Hi Tibor,
Thanks for a great tool :-)
I discovered one defect that I would like to report, together with my solution.
In configurator.php where you build the one-to-one select box, you are only comparing the field name and not the table name. This works as long as the field name does not occur in more than one table, but when you have switch tables, the field name WILL occur in more than one table.
To correct this problem, replace
if( $tdata[‘data’][$key][‘sf_related’]1 == $fl )
with
if( $tdata[‘data’][$key][‘sf_related’]0 == $tbl and $tdata[‘data’][$key][‘sf_related’]1 == $fl )
Posted by Terry Herckenrath @ Jul 20, 06:48 PM #
Does this run only under a specific PHP installation?
I downloaded the 2.0 RC1 version and there are errors all over the place.
Mostly deprecated warnings.
A major disallowed URI characters error which I get rid of by allowing all characters.
In the end there is an output but there is this strange feeling.
Posted by Jörg Gudehus @ Aug 21, 12:18 PM #
Hello Jörg,
It does not require any specific PHP version, altough codeigniter 1.7.2 does not like PHP 5.3.The issue you noted is possible if your table name contains special or accented characters.
Posted by Tibor Szász @ Aug 21, 07:05 PM #