Why not just create an AdminPage model? Or, keep everything in Page but make the other fields DEFAULT NULL in pages table?
On Fri, May 30, 2008 at 4:49 AM, spamec <[EMAIL PROTECTED]> wrote: > > Hi there, > > I came to a problem and I'm really curious how other people manage > such things. I have to build an application in which, admin can extend > a Page model with additional fields. > > My idea is to create: > > Tables: > - dynamicfields: id, name,type, required,modelname > - dynamicfields_values: id, dynamicfield_id, value,created,updated > > And know there is problem, because I have to add,edit,delete fields > which are dynamic. What is more, I will have to build forms basing on > dynamicfields... Do you have some experience with such situations? > > Thanks in advance! > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---