What you are talking about is essentially a Form Builder.  For the
rendering of arbitrary fields have a look at the way scaffolding
manages it.

As for sorting out which fields to render - it sounds like you have
the right approach for storing it in the database, and then it is just
a matter of figuring out which ones to pull out, in what order and
then figure out how to display it.

You will need to write a component that grabs all the form fields from
the DB and send it to the view, and then create a Helper that loops
this data and uses FormHelper to render them.  The hard part is
deciding the format that you are going to use to store the field data.

Sounds like it could be a very useful set of components/helpers and
would be a great addition to the Bakery.

Good luck

Geoff
--
http://lemoncake.wordpress.com

On Aug 25, 5:01 am, Travis <[EMAIL PROTECTED]> wrote:
> Will do!  Now I just need to figure out where to begin.
>
> On Aug 24, 12:25 pm, Travis Cline <[EMAIL PROTECTED]> wrote:
>
> > As far as I'm aware there aren't existing helpers/components that
> > would accomplish this.
> > It would require at least a helper and a component to make it work
> > smoothly -- it shouldn't be too hard to accomplish.
>
> > Do share in a bakery article if you take this path.
>
> > --
> > Travis


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to