I attempted to add such a functionality in a project of mine. I
described the method here : 
http://arpeggios.wordpress.com/2008/10/10/using-a-module-from-another-project/

Hope this could help.


On Oct 30, 8:38 am, "Łukasz Wojciechowski"
<[EMAIL PROTECTED]> wrote:
> Hi devs
>
> I have a project started with v1.1 in which I have two applications.
> Those apps have  separate databases but each of them sometimes uses
> database of other app.
> I changed session cookie names and "closed" both apps behind "global"
> credentials
>
> frontend/config/security.yml
> is_secure: on
> credentials: app_frontend
>
> frontend2/config/security.yml
> is_secure: on
> credentials: app_frontend2
>
> In frontend2 I have module "service" with action "add" which I would
> like to use/run from frontend.
>
> The problem is that addSucces view in most is a complicated form with
> some javascript and naturally I don't want to duplicate that code.
>
> So - How to share some module action code/view between two symfony apps ?
>
> One of the answers is "make service/action" a plugin and use it in
> both apps, but...
>
> Maybe there is some another quick [dirty] way ?
>
> Thanks in advance for any suggestions.
>
> --
> Best regards
> Łukasz Wojciechowski
>
> New Generation Software
> +48 602 214 629

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" 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/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to