Title: Message
ooops, looks like i missed a bit:
> Also what goes in the fbx_circuits.cfm
fbx_circuits.cfm lets you map logical circuits to physical directories -in your case, you would have only one such file in the root (as discussed below) and it would say:
 
<cfset fusebox.Circuits.home     = "home">
<cfset fusebox.Circuits.admin     = "home/admin">
that's what let's the core file understand the "admin.foobar" syntax (circuit.fuseaction)
 
/t

 
----- Original Message -----
From: t
Sent: Wednesday, May 15, 2002 9:11 PM
Subject: Re: Sub Circuits

Hi Bart,
 
You only need to duplicate fbx_fusebox_xx.cfm, fbx_circuits.cfm and index.cfm in the /admin circuit if you wish that circuit to be accesible as a standalone app
(ie
in stead of
 
if not, then don't.
 
You canput an fbx_settings.cfm file in the /admin circuit if you want - it will be read just after the root circuit fbx_settings.cfm file and before the /admin circuit's fbx_switch.cfm file so you can use it to either set specific variables for the admin circuit or else override a variable defined in the root circuit with a different value for the admin circuit.
 
/t
 
 
----- Original Message -----
Sent: Wednesday, May 15, 2002 8:46 PM
Subject: Sub Circuits

Some basic questions about sub circuits.
 
I have a website with the structure:
 
 
The Directory structure is simply
 
mysite
mysite/admin
 
I 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.cfm
 
Also what goes in the fbx_circuits.cfm
 
I 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
==^================================================================

Reply via email to