Ok awesome thanks.

On Mar 27, 3:44 am, Blair McKenzie <[email protected]> wrote:
> There is no problem with adding extra fields to core types.
>
> extends="types" can only be used by core types because only core types are
> in the same directory as types.cfc. Plugin and project types need to extend
> farcry.core.packages.types.types
>
> Blair
>
> On Fri, Mar 27, 2009 at 11:07 AM, Marco van den Oever <
>
> [email protected]> wrote:
>
> > And (last addition), when adding new properties in a extended
> > component, is it smart to use a different cfc name then (in my
> > situation) dmProfile, of course the added property can be nicely
> > deployed in the admin, but adding fields to standard core db tables,
> > is that smart?
>
> > On Mar 27, 12:45 am, Marco van den Oever <[email protected]>
> > wrote:
> > > So:
>
> > > extends="farcry.core.packages.types.dmProfile" refers to the
> > > dmProfile.cfc file in core,
>
> > > now only the property i want to change have to be placed and will
> > > automatically be used, the rest is loaded by the use of the extension.
>
> > > And:
>
> > > extends="types" refers to the types folder of the project where the
> > > new file is created in, so why do you need to use extends="types"?
>
> > > Also:
>
> > > in my plugins i used:
>
> > > extends="farcry.core.packages.types.types", so is that wrong, or do
> > > you need that extension in plugins as they need to extend the types
> > > functionality?
>
> > > Just to be sure i now understand this.
>
> > > Thank you.
>
> > > On Mar 27, 12:26 am, Marco van den Oever <[email protected]>
> > > wrote:
>
> > > > I was a bit confused as i thought extends="types" was extending the
> > > > core types and changes would be updated as this type is in my project
> > > > folder.
>
> > > > Based on your answer and a new search:
>
> > > >http://groups.google.com/group/farcry-dev/browse_thread/thread/3371e2.
> > ..
>
> > > > I read blairs statement "When extending a core type, you extend that
> > > > file (ie
> > > > farcry.farcry_core.packages.types.dmHTML). You only extend "types"
> > > > when you
> > > > want to create a custom type from scratch."
>
> > > > So now i used farcry.core.packages.types.dmProfile and of course it
> > > > works :)
>
> > > > Thanks.
>
> > > > On Mar 26, 11:55 pm, Jeff Coughlin <[email protected]> wrote:
>
> > > > > On Mar 26, 2009, at 6:47 PM, Marco van den Oever wrote:
>
> > > > > > I grabbed a copy from core of dmProfile.cfc and placed it in
> > project/
> > > > > > packages/types/dmProfile.cfc
> > > > > > There i adjusted some validation settings but they are not showing.
> > > > > > When i adjust the core version it works.
>
> > > > > > I am using the webskins copied from core into project/webskin/
> > > > > > dmProfile/...
>
> > > > > > Do i have to change something in the webskins and how?
> > > > > > I just need some changes so creating it from scratch should be
> > > > > > waisting time.
>
> > > > > In your new dmProfile.cfc file, did you set the value for "extends"
> > to
> > > > > point to the core's dmProfile.cfc file?  Also, did you update the
> > > > > application scope?
>
> > > > > Regards,
>
> > > > > --
> > > > > Jeff Coughlin
> > > > > Web Application Developerhttp://jeffcoughlin.com
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" 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/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to