Well I'm sure I'll have more questions but I guess I have no other
alternative but to dive in and see where it takes me.  There so much
that I can mess up...how exciting ;-)



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Mercer
Sent: Monday, November 22, 2004 9:22 AM
To: FarCry Developers
Subject: [farcry-dev] Re: Custom Types

When building a new type (component) I find the closest match from the
farCry components, eg dbNews, copy it to my application packages /
types directory. You also need to copy the webskins directory. Then
rename folders and files to what ever you want to cal the object, eg
myNews and _myNews. The edit each cfc and cfm - watch out to paths
that refer to the farcry_core directory and change to your application
directory.

in the cfc, remove ad add arguements (table fields) as required. Then
(this is maybe were you are getting stuck), in the edit part, your
need to create a form field for each argument you added in the cfc.

the display methods will need to be change to to look for display*.cfm
in your webskin dirctory.

Wow - there is sooo much that needs to be done. I will stay online a
while longer if I have missed the question or you need further
clarification.

{please excuse typos - just got back from end of year P&C, drinks
included}


On Mon, 22 Nov 2004 09:08:47 -0500, Jaci Chesnes
<[EMAIL PROTECTED]> wrote:
>  
>  
> 
> Ok I've finally hit a wall with FarCry. I've discovered that I can't
make
> system do what I want it to do without building a custom type. I've
gone
> through the tutorial/walkthrough like 10 times and always get stuck at
the
> same spot...creating the edit handler.  I'll probably be needing a
custom rule
> as well but I'll cross that bridge when I get to it. 
> 
>   
> 
> Here's what I need to do in a nutshell... 
> 
>   
> 
> I need to create a type similar to the News type but I need to added a
> couple columns in the table, one to designate month and one to
designate
> current (yes/no).  Every time I get to the edit handler I get
confused.  It
> just doesn't seem like there is enough info on how to write it to
include
> whatever new columns that you've added to the table. 
> 
>   
> 
> Any help would be appreciated. 
> 
>   
> 
> Thanks 
> 
>   
> 
> Jaci 
> 
>   ---
>  You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
>  To unsubscribe send a blank email to
> [EMAIL PROTECTED] Aussie Macromedia
Developers:
> http://lists.daemon.com.au/

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/


---
You are currently subscribed to farcry-dev as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to