Sure, if I understand what you are asking, you can use conditional logic to set the home circuit's layoutfile to "" or to any other file you like.
A common way to do this would be to set a flag in the child circuit's fbx_layouts, something like attributes.stoplayout=true, asking the circuits higher not to supply any additional layout. Then your higher-level circuits have to respond to this flag appropriately. So your home circuit's fbx_layout might look like this: <cfparam name="attributes.stoplayout" default="false"> <cfif attributes.stoplayout> <cfset fusebox.layoutfile = ""> <cfelse> <cfset fusebox.layoutfile = "lay_main.cfm"> </cfif> Whatcha reckon? LeeBB -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Hi there Lee (and Jeff), I think you've spelled it out for me with the diretion to set the home circuit's fbx_layouts to "". That is what I needed. Does that mean that I can't have my main application files in a folder using one layout and then a nested folder (containing another circuit) using a different layout without setting the home ciruit's layout to ""? I suppose it's no big deal to set up the application with folders on the same level, I am just used to doing it the way I've described. Thanks! BORKMAN Lee wrote: > Hi bidl, > > Having a different layout for each circuit is essentially the basic FB3 > configuration. > > Each circuit has its own fbx_layouts file. This file defines the name > and > location of a layout file (using fusebox.layoutfile, etc). > > All you need to do to get each circuit to have its own layout is create > one > layour file per circuit, and make the respective fbx_layouts files point > to > the appropriate layouts. > > If you don't want any higher-level layout from the home circuit, then > set > fusebox.layoutfile in the home circuit's fbx_layouts to "". > > Does that help? > > LeeBB > > [EMAIL PROTECTED] wrote: > > > > > Can someone either point me to a good tutorial on FB layouts, or just > > > describe the basics. I don't need nested layouts, I would simply like > > > to have different layouts for different ciruits. I'm sure this is an > > > easy one, I just can't find it. IMPORTANT NOTICE: This e-mail and any attachment to it is intended only to be read or used by the named addressee. It is confidential and may contain legally privileged information. No confidentiality or privilege is waived or lost by any mistaken transmission to you. If you receive this e-mail in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. The RTA is not responsible for any unauthorised alterations to this e-mail or attachment to it. ==^================================================================ 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 ==^================================================================
