When you want to share code between applications / projects, your best
bet is to create a plugin. It is very simple, you mainly have to move
your directories under the plugins/ directory.
Fabien
Jonathan Franks wrote:
> I've just written a very simple image gallery that I want to reuse
> acro
Thanks! I will take your advice
Frank Stelzer wrote:
> I would create a custom plugin. Creating a custom plugin is really
> simple. So in your case you could create a plugin, with the gallery
> module. Put your existing code in this plugin, enable this module in
> your app and your done
I would create a custom plugin. Creating a custom plugin is really
simple. So in your case you could create a plugin, with the gallery
module. Put your existing code in this plugin, enable this module in
your app and your done.
Your plugin structure could look like this:
/plugins/sfMyPlug