> Loryn wrote: > > I have an application with several circuits. In 3 of the > circuits I want the parent layout to be applied. Okay, that's easy enough. In the parent's fbx_layouts, set fusebox.layoutFile to the appropriate file. (Of course, you already knew that...) <!--- parent fbx_layouts ---> <cfset fusebox.layoutFile="parentLayout.cfm"> <cfset fusebox.layoutDir="">
> In 2 of the circuits I DO NOT want the parent layout applied. So we'll need to create a variable to tell the parent whether to show its layout. Let's set it to true by default. <!--- parent fbx_layouts ---> <cfparam name="attributes.suppresslayout"> <cfif attributes.suppresslayout> <cfset fusebox.layoutFile="parentLayout.cfm"> <cfset fusebox.layoutDir=""> > I want different layouts applied within those circuits depending > upon which fuseaction is being called. > If I get it so that the circuit layout is applied in the child > circuit correctly, the parent layout is not applied when I switch > back to the parent. The home/fbx_layouts file is skipped > completely! > > I have tried conditional logic, attributes.stoplayout etc. but > find myself getting more confused by the minute. > > Any or all help is greatly appreciated. > Thank You in advance, > Loryn Williams > > > ==^================================================================ 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 ==^================================================================
