On 25/09/06, Helgi Rudd <[EMAIL PROTECTED]> wrote: > > I am continuing the fumble and found I can add my own <widgets:plpstep > that points to my own step directory, for that step only (hence > retaining all the rest of the step code from the FarCry core, > inheritance still applies). > > I don't have the new step showing up in the admin CMS interface yet > though, is it to do with the NAME of the plpStep and how that relates > to the plpstep widget thingy? I've added a new plpStep as follows: > > <widgets:plpstep > stepDir="/farcry/farcry_rad/packages/types/_dmhtml/plpEdit" > name="MoreInfo" template="moreinfo.cfm"> > > This is a new plpStep that is supposed to show my new step... I've made > a copy of the body.cfm file that is in the core \types_dmhtml\_plpEdit > folder and called it moreinfo.cfm > > Why doesn't this step show up in the edit process of any HTML page in > the FarCry CMS now? I thought I had it here, I really did! >
It sounds like you need to duplicate the edit method form the core dmHTML.cfc in your extended cfc. In there is an include for _dmhtml/edit.cfm. As this is relative to the core cfc it will be loading the core files. If you duplicate this method in your extended version it should load your extended edit files. Hope that makes sense (only 8:30am and still little caffeine free) and helps. Stephen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
