Just an observation on mapping:
If you want to map
C:\Inetpub\wwwroot\app\Menu&Navigation
to
Menu&Nav
CF will allow you to do it the first time. But just
incase you need to change your mapping name, then you
cannot edit it from CFAdmin. You have to go to the
registry to edit it.
CFAdmin will show the mapping as 'Menu' and not
'Menu&Nav'
Is this a CF bug? has anyone else come across this
problem? I am running 4.5
Kedar Desai
Differential Technologies
Fairfax, VA
--- Peter Theobald <[EMAIL PROTECTED]> wrote:
> Yes, if you define the mapping: "/lib" =
> "/home/httpd/project1/cffiles/"
>
> Then in your Cold Fusion code you can do this:
> <cfinclude template="/lib/commerce.cfm">
>
> Instead of this:
> <cfinclude
>
template="/home/httpd/project1/cffiles/commerce.cfm">
>
> This works for cfinclude, and cfmodule.
>
> Unfortunately, you can NOT define separate mapping
> for each virtual server, so if you have a
> development, testing, and production copy of your
> site on the same server you can't really use mapping
> because your code will reference "/lib" (or whatever
> you use) and all three of the sites will be pointed
> to the SAME directory :-(
> In this case, you are stuck with putting some code
> in Application.cfm to figure out what your root
> directory is (using "GetCurrentTemplatePath()" ) and
> stick in a variable such as #lib# and then using
> <cfinclude template="#lib#/commerce.cfm>
>
>
> At 03:52 AM 9/27/00 -0700, monika kon wrote:
> >Hi,
> >
> >Can any one explain me the concept of mapping on CF
> >server for using it on CFINCLUDE tag.
> >thanks in advance
> >Shally
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Send instant messages & get email alerts with
> Yahoo! Messenger.
> >http://im.yahoo.com/
>
>------------------------------------------------------------------------------
> >Archives:
>
http://www.mail-archive.com/[email protected]/
> >To Unsubscribe visit
>
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
> or send a message to
> [EMAIL PROTECTED] with 'unsubscribe'
> in the body.
>
>
>
---------------------------------------------------------------------------
> Peter Theobald, Chief Technology Officer
> LiquidStreaming http://www.liquidstreaming.com
> [EMAIL PROTECTED]
> Phone 1.212.545.1232 x204 Fax 1.212.679.8032
>
>
------------------------------------------------------------------------------
> Archives:
>
http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
>
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
> or send a message to
> [EMAIL PROTECTED] with 'unsubscribe'
> in the body.
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.