Shared plugin / Project based settings

View: New views
3 Messages — Rating Filter:   Alert me  

Shared plugin / Project based settings

by Marco van den Oever :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Here one for ya (Brainiac style).

I have a plugin that is shared amongst all current and future
projects, i can set settings in a config structure but that will
affect all projects.

Is it possible to use the config structure in such way that you can
use a shared plugin which config settings can be project specific?

Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: Shared plugin / Project based settings

by Chris Kent-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Marco,

I assume you are referring to setting config variables in /plugins/
mypluginname/packages/forms/configmyconfigname.cfc

These should will the values in the farconfig table of your project
database. Therefore you can set different values for each project.

Chris.

On Oct 20, 12:36 pm, Marco van den Oever <marcovandenoe...@...>
wrote:

> Here one for ya (Brainiac style).
>
> I have a plugin that is shared amongst all current and future
> projects, i can set settings in a config structure but that will
> affect all projects.
>
> Is it possible to use the config structure in such way that you can
> use a shared plugin which config settings can be project specific?
>
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: Shared plugin / Project based settings

by Marco van den Oever :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Chris, i don't know why i didn't saw this myself, next time i take a
deep breath and think some more before asking...
Thanks...

On Oct 20, 1:54 pm, Chris Kent <mxdes...@...> wrote:

> Marco,
>
> I assume you are referring to setting config variables in /plugins/
> mypluginname/packages/forms/configmyconfigname.cfc
>
> These should will the values in the farconfig table of your project
> database. Therefore you can set different values for each project.
>
> Chris.
>
> On Oct 20, 12:36 pm, Marco van den Oever <marcovandenoe...@...>
> wrote:
>
> > Here one for ya (Brainiac style).
>
> > I have a plugin that is shared amongst all current and future
> > projects, i can set settings in a config structure but that will
> > affect all projects.
>
> > Is it possible to use the config structure in such way that you can
> > use a shared plugin which config settings can be project specific?
>
> > Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---