Fbx_circuits only lives in the root. It maps
directory structure to circuits.
For
instance, your fbx_circuits file might look something like
this:
<cfset fusebox.circuits.home="home"> <!----
root directory --->
<cfset
fusebox.circuits.admin="home/admin">
The
only file required in sub directories is FBX_switch. The other files are
optional. Variables set in the root FBX_settings file are inherited by child
circuits. You may modify these variables for a child circuit by placing another
FBX_settings file in the child circuit. The new value will be local to that
circuit only (and any child circuits of that circuit).
Go to
fusebox.org and download one of the sample apps. They are really helpful. Also
download and install the fusebox help files.
Hope
this helps,
Joel
-----Original Message-----
From: Bartee Lamar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 12:46 PM
To: [EMAIL PROTECTED]
Subject: Sub CircuitsSome basic questions about sub circuits.I have a website with the structure:The Directory structure is simplymysitemysite/adminI have, of course all of the fbx files in the root of the main site.My question is, do I duplicate fbx_fusebox_xx.cfm, fbx_circuits.cfm, fbx_settings in the Admin root?I have a lot of stuff in fbx_settings that control the basic operation of the site. Seems a waste to duplicate all of that in the Admin root also. It also creates errors when I change something like setting.mailto in the root fbx_settings.cfm and forget to change the same variable in the Admin version of the fbx_settings.cfmAlso what goes in the fbx_circuits.cfmI will be glad to look a good example if someone can point me in the right direction.Bartee Lamar
==^================================================================ 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 ==^================================================================
