[eluser]Adam Griffiths[/eluser]
Hey guys,
I have built a CMS in CodeIgniter and am now going for a full re-write due not putting in security measures, and the recent release of CI 1.7.0.
Anyhow, what I would like to do in this build would be have a scaffolding style page where I can add/edit pages. Basically, depending on the field type in the database, the form displays differently - an example would be a textarea for longtext, an input box for varchars and a tickbox for enum('yes', 'no') - I have looked at the scaffolding in 1.7.0 and see many references to the form helper, would this be the best way to go about doing this?
In the scaffolding app, I couldn't see where it finds out what the fields are (varchar etc), how would I do this?
If I am not clear enough just say so.
Thank you in advance.
-Adam