Thanks Blair,

Couple of false starts and then I got there!

In the end I just copied over the edit file into _dmFile under the
project types folder and added overrode the core edit function in my
extended dmFile type cfc and pointed this at the custom edit page.

All I had to do was add the new date field to the stProperties object
when the form was submitted and away it all went!

Thanks again

Stephen

On 23/08/06, Blair McKenzie <[EMAIL PROTECTED]> wrote:
>
> Copy the _dmFile directory from core types to your project types directory.
> Change dmFile to point to the new edit.cfm
> Add date fields to the form in edit.cfm (you could use the date selector
> widget)
> Find where the basic properties get set on submit and add the start and end
> date properties.
> Blair
>
>
> On 8/23/06, Stephen Moretti < [EMAIL PROTECTED]> wrote:
> >
> > Holidays are great, but it does make your brain go to mush!
> >
> > I want to extend the core type dmFile to include a start and end date,
> > so that I can have a file section that only displays file from the
> > start date and then moves the file into an archive when it reaches the
> > end date.
> >
> > I've extended the type to have these two additional fields, but my
> > brain has gone completely blank and I can't think how to extend the
> > admin of files, so that content admins can set these fields.
> >
> > Any pointers would be much appreciated.
> >
> > Regards
> >
> > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to