Thanks Blair and Jeff - that makes perfect sense :)

On 5/19/06, Jeff Coughlin <[EMAIL PROTECTED]> wrote:
>
> Kay,
>
> > If I just create a _dmXMLExport folder in the packages folder
> > under my site folder and put a new version of generate.cfm in
> > there, it doesn't seem to do anything
>
> The following works for both FarCry 2.1+ and 3.0 (it may work in 2.0, but I
> hadn't tried it until 2.1):
>
> 1. Create the file <project>/packages/system/dmXMLExport.cfc
> 2. Have it extend the original:
>    extends="farcry.farcry_core.packages.types.dmXMLExport"
> 3. Any new fields you want to add, place in new <cfproperty/> tags
>    at the top of the CFC.
> 4. Copy the original generate() method into this CFC so that the
>    <cfinclude/> tag now points to the new file.
> 5. Update the application scope (?updateapp=1)
>
> I think that should do it.
>
> If you want to modify a PLP step to take advantage of any new fields you've
> made you'll need to do something like the following (I wrote a detailed
> mini-tutorial on this a year and a half ago... its somewhere in the mailing
> list around Oct-2004 I believe):
>
> (note: For steps 1 and 2 create the directories if they do not exist)
>
> 1. Copy the original edit.cfm file and place it in
>    <project>/packages/system/_dmXMLExport
> 2. If adding a new PLP step, place the .cfm file in
>    <project>/packages/system/dmXMLExport/plpEdit
> 3. If modifying an existing step, copy the original plpstep file and
>    place it in <project>/packages/system/dmXMLExport/plpEdit
> 4. Edit the custom edit.cfm file
>   4a. For any new PLP steps, add a <widgets:plpstep/> in the order you'd
>       like it to appear (in FarCry 2.x its <farcry:plpstep/>, but same
>       functionality for what we're doing).
>   4b. For overriding existing steps (to modify the look+feel or adding a
>       new DB field, etc) modify the corresponding <widgets:plpstep/> (or
>       <farcry:plpstep/> in FC2.x).
> 4.(cont): In that plp step tag you added/modified you'll need to add one
>    extra attribute to override the "stepDir" value set for the custom tag
>    (Do not modify any steps that you don't plan to change, rather let
>    them continue to point to the step files in the core).
>    Add the following attribute:
>      stepDir="/farcry/#application.applicationname#/packages/system/
>      dmXMLExport/plpEdit"
> 5. Refresh the application scope (?updateapp=1)
>
>
> Hope this helps :)
>
> ---
> Jeff Coughlin
> Web Application Developer
> http://www.jeffcoughlin.com
>
>
> >
>


-- 
Kay Smoljak
http://kay.zombiecoder.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
-~----------~----~----~----~------~----~------~--~---

Reply via email to