Howdy FB'ers,

The pathTo() function is a replacement for path
variables and operates from the info in your
fusebox.circuits structure.  It will always give you
the correct path to any circuit (or global dir)
defined in the fusebox.circuits structure
(fbx_circuits) from wherever you are in the
application.  It will also provide a special path
called "self" which includes the base filename and a
path to the "home" circuit.  It provides 3 types of
paths: cf (cfinclude/cfmodule), dir (cffile,
cfcontent), and url (cflocation, links, forms, images)


EXAMPLE CALLS:
<cfinclude
template="#pathTo('project','cf')#qry_project.cfm">

<script
src="#pathTo('js','url')#validate.js"></script>

<cfset request.self=pathTo('self','url')>

<a href="#request.self#?fuseaction=#xfa.next#">Go</a>


More documentation included in the zip file attached. 
This UDF is also available at www.tbcfug.org (which is
temporarily down..??).

I think I recall this having a problem on solaris.. if
anyone has a problem using it on solaris, please email
me and I'll take care of it.


=====
Ken Beard
Tampa, FL
[EMAIL PROTECTED]

Frisbeetarianism, n.:
    The belief that when you die, your soul goes up
    on the roof and gets stuck.

__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================

Attachment: pathTo.zip
Description: pathTo.zip

Reply via email to