Make the path dynamic?

Adrian

-----Original Message-----
From: Aaron Roberson [mailto:[EMAIL PROTECTED]
Sent: 27 April 2006 23:20
To: CF-Talk
Subject: Re: Question about Component Paths


Russ,

I am trying to stay away from having to create mappings because my
application may be used in another enviroment in the future where I
don't have access to setting mappings in CF Admin. Is there another
way, or should I take Andy's advice?

Thanks for your help,
Aaron

On 4/27/06, Russ Michaels <[EMAIL PROTECTED]> wrote:
> create a mapping that points to your components folder.
>
> then you can use mappingName.component
>
> --
> Snake
>
> -----Original Message-----
> From: "Aaron Roberson" <[EMAIL PROTECTED]>
> To: CF-Talk <[email protected]>
> Date: Thu, 27 Apr 2006 14:24:21 -0700
> Subject: Question about Component Paths
>
> > The first time I uploaded my site (this is the first site I've built
> > using CFC's) I had to rush through all the files with invoke
> > statements and change the paths to my components. On my development
> > machine it is whmedia.componentdirectory.componentname but on the
> > server it is just componentdirectory.componentname.
> >
> > Any ideas or suggestions on streamlining this so that I don't have to
> > update multiple files every time I upload to the remote server?
> >
> > Thanks in advance,
> > Aaron
> >
> >
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238995
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to