Thanks for your reply Jake, Yeah i did that.
Its sitting in the <app_name>/packages/types/_dmhtml folder. I cant pick this problem :-( I have also noticed that edit function for dmHTML in the core, is actually commented out for some reason. Not sure if this is an issue. But, I am using Farcry 4 on mysql ; of anyone needs this information. I thought it was a mapping thing, but i have set up a coldfusion mapping prior to installation. So frustrating....... On Apr 3, 1:42 pm, Jake Churchill <[EMAIL PROTECTED]> wrote: > AFter reading through the comments on this blog post that you just gave > the link for, I noticed someone else had the same problem. edit.cfm is > a relative path. Did you duplicate the edit.cfm from the core component > and put it in your _dmhtml/ directory? > > RonY wrote: > > Yeah i have deployed it. > > > I have followed a similar > > case:http://www.nabble.com/Extending-dmHTML-object-t2329587s621.html > > > Now i get a plp error: > > > PLP ERROR! an error has occured with this plp. > > PLP Step: Course information > > PLP template: /farcry/core/packages/types/_dmhtml/plpEdit/course.cfm > > ColdFusion Error Data > > > I added this line in the edit.cfm: <widgets:plpstep name="Course > > information" template="course.cfm" stepDir="/farcry/projects/ > > <app_name>/packages/types/_dmhtml/plpEdit" > > > > Its saying it cant find the file, but in the error its pointing to the > > core folder not my specified one. > > > My mappings in CF admin are ok as well. > > > Any ides? > > > On Apr 3, 12:43 pm, Jake Churchill <[EMAIL PROTECTED]> wrote: > > >> Did you go into Admin -> COAPI Management -> Type classes and deploy the > >> new properties? You have to do that before the webtop can use what you > >> created. > > >> RonY wrote: > > >>> Hi Jake, > > >>> Thanks for the reply. > > >>> Where i am stuck now when i am trying to display the new fields for > >>> the users to edit. > > >>> I never see it in the edit html form. > > >>> I am trying to get my head around the plp. > > >>> I did a sample test for adding a dmProfile field and it worked, but > >>> the dmhtml seems a little more complex. > > >>> Any help? > > >>> On Apr 2, 11:51 pm, Jake Churchill <[EMAIL PROTECTED]> wrote: > > >>>> Honestly, I would suggest creating a new content type. You have news, > >>>> facts, etc for dynamic content and several media libraries already > >>>> available to you. What I usually do in this situation is create a new > >>>> dynamic type with a custom rule for displaying the type. The > >>>> contributors are then able to create multiple courses, faculties, etc to > >>>> be inserted into the pages later. I have several farcry blog entries > >>>> athttp://jake.cfwebtools.com/index.cfm/Farcry. You can specifically look > >>>> athttp://jake.cfwebtools.com/index.cfm/2007/1/12/Farcry-Custom-Type-HOWTO > >>>> for custom types > >>>> andhttp://jake.cfwebtools.com/index.cfm/2007/1/12/Farcry-Custom-Rule-HOWTO > >>>> for custom rules. Then all you need to do is create a new display > >>>> template that has a container in it. Get some courses/faculties put > >>>> into the custom types then go into design mode and place the new rule > >>>> into the container for that page. > > >>>> If you don't want to do that, you can extend the dmHTML object and > >>>> create specific versions of it. You would have a dmCourse object and a > >>>> dmFaculties object which both extend dmHTML. This is harder in my > >>>> opinion than a custom type because you have to integrate your custom > >>>> stuff into the PLP widgets which requires more work. > > >>>> Jake Churchill > >>>> CF Webtools > >>>> 11204 Davenport, Ste. 200b > >>>> Omaha, NE 68154http://www.cfwebtools.com > >>>> 402-408-3733 x103 > > >>>> RonY wrote: > > >>>>> Hi all, > > >>>>> Our CMS requires different HTML pages such as courses, faculties and > >>>>> standard pages, along with some others. > > >>>>> The course page requires course specific information like course code, > >>>>> duration, cost etc.....to be entered when creating a course page. > > >>>>> Now i would like to enable our CMS users to add a course page and add > >>>>> have these options available for them to fill out, along with the text > >>>>> entered via the HTML editor. > > >>>>> I have created a sample custom object called courseInformation. But i > >>>>> am trying to understand how to incorporate it into ONLY the course > >>>>> pages. Offcourse, i would not want it to appear in other pages such as > >>>>> the standard or faculty pages. > > >>>>> Also, i would like the users to enter the course summary and > >>>>> information, which will be the middle content of the page AND also, i > >>>>> would like them to enter what should appear as the right content [ say > >>>>> for example the prices for each course and some other information, > >>>>> which may be separate from the middle content ]. > > >>>>> Can someone direct me in the correct path to do this? > > >>>>> I am new to Farcry but I have read alot of docs about it, and am still > >>>>> not clear on how to do this. > > >>>>> Thanks all, --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
