Sorry, "farcry.core.packages.types.versions" below was meant to say "farcry.core.packages.types.dmHtml", and the tags would be closed properly too.
On Oct 16, 2:43 pm, Leigh Ellis <[email protected]> wrote: > Thanks Blair > > If did the following, are you able to suggst what else would I need to do to > integrate these fields into the standard FarCry (Site Tab) process to edit > webpages in the Site Tree please? > > --------------- > > <!--- ./packages/types/extendedDmHtml.cfc ---> > > <cfcomponent name="profiles" extends="*farcry.core.packages.types.dmHtml*" > output="false" displayname="extended dmHtml"> > > <cfproperty name="name" type="string" default="" hint="Archive Date." ftSeq > ="15" ftFieldset="Body" ftWizardStep="Body" ftLabel="Archive" ftValidation= > "required" /> > > <cfproperty name="name" type="string" default="" hint="Out of Date" ftSeq= > "16" ftFieldset="Body" ftWizardStep="Body" ftLabel="Out of Date" > ftValidation="required" /> > > </cfcomponent> > > ----------------------- > > > > On Sat, Oct 15, 2011 at 8:04 AM, Blair McKenzie <[email protected]> wrote: > > You can extend that component in your project's /packages/types directory > > to add whatever properties you need. Try working through the training > > course <https://farcry.jira.com/wiki/display/FCDEV60/Book+of+FarCry>, that > > will get you pretty far. > > > Blair > > > On Sat, Oct 15, 2011 at 4:42 PM, Boon <[email protected]> wrote: > > >> Hi > > >> I am looking to add fields (such as text/dates) to the core dmHtml > >> content type. > > >> I can see that you could add something like > > >> "<cfproperty > >> name="nynewField" type="longchar" hint="dmHTML extra field" > >> required="no" default="" > >> ftSeq="7" ftwizardStep="Start" ftFieldset="General Details" > >> ftlabel="Extra Info" > >> ftHint="extra field hint." > >> ftLimit="100" />" > >> to the dmHtml.cfc definition file located at \core\packages\types. > >> This is so that the field is added to the form used to add/edit pages > >> in Webtop in the Site Tab. > > >> I understand that it is not recommended practice, but I cannot see > >> another way to do this. > > >> Is anyone able to point me in the right direction? > > >> -- > >> You received this message cos you are subscribed to "farcry-dev" Google > >> group. > >> To post, email: [email protected] > >> To unsubscribe, email: [email protected] > >> For more options:http://groups.google.com/group/farcry-dev > >> -------------------------------- > >> Follow us on Twitter:http://twitter.com/farcry > > > -- > > You received this message cos you are subscribed to "farcry-dev" Google > > group. > > To post, email: [email protected] > > To unsubscribe, email: [email protected] > > For more options:http://groups.google.com/group/farcry-dev > > -------------------------------- > > Follow us on Twitter:http://twitter.com/farcry -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
