Forta, New Riders and others all say that you can call put all your
components in one folder and then reference them just as you would an
include, style sheet, whatever.

But I am absolutely stumped on how to do this.  Have followed their
instructions very carefully and played with variations but cannot seem
to do it.

If
/MySite/index.cfm

wants to instate
/MySite/components/Query.cfc

then <CFINVOKE COMPONENT="components/Query"...
works great.

But going back up the directory structure, say from:

/MySite/admin/index.cfm
<CFINVOKE COMPONENT="../components/Query"...

seems to be impossible without setting up a mapping in CFAdmin...

I've tried dot notation, forward slashes, backward slashes, from the
wwwroot, from the root drive, ExpandPath, etc., etc....

Anybody know what I am doing wrong???


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to