I like the plugin-feature in cake. With that, I can almost build every
site by choosing out of my pre-build plugins. And if a customer wants
a new feature in his/her website I just have to add a folder in the
plugin-directory and it's done... almost.

After adding the folder I still have to get into phpmyadmin to add the
table that the plugin needs. So I thought it would be nice if I could
add a 'install.sql' into de plugin-folder and if cakes tries to access
the needed table and it sees that it isn't there it would just execute
the query in 'install.sql'

That would make my life much easier. That way I could even create a
cms that offers additional plugins for my customers which they can
install themselves with an easy 'install' button.

So my question is, how do I do this in cake? I guess I'll have to edit
some stuff in the cake-folder, but what?

If this is possible then I can also add a 'uninstall.sql' and so on.





PS: Just to be clear:
I mean to edit the actual CakePHP-code
And I don't want links to cms-systems that do something similar, I
just want the answer to this question.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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