Title: Re: Disable nested layout for given circuit
Maybe I’m missing something.

My file structure looks like this:
Bob
   bill
   joe
      jay
         mary
         jerry
      ray
      phil
      tom
   jim

Each name represents a circuit.
I want to suppress bob’s layout when go to joe.  And I want joe’s layout to go ahead and nest with all of his children and grandchildren.

I put the code below in bob’s fbx_layout file.
And this in joe’s fbx setting file.
<!--- suppress nested layout --->
<cfset attributes.suppresslayout = TRUE>

Now anytime I call any of bob’s fuseactions, his layout does not run.
What am I doing wrong?

-Drew Harris

On 5/28/02 11:05 AM, "John Beynon" <[EMAIL PROTECTED]> wrote:

sounds like a job for SuppressLayout to me, how about something like:

<cfif Fusebox.isCustomTag or attributes.suppressLayout>
    <cfset Fusebox.layoutDir="">
    <cfset Fusebox.layoutFile="">
<cfelse>
    <cfset Fusebox.layoutDir="">
    <cfset Fusebox.layoutFile="lay_typical.cfm">
</cfif>
in your root fbx_layouts.cfm and then in the circuit you don't want the nested layout just set attributes.suppresslayout to TRUE in fbx_settings.

simple huh?

john.


-----Original Message-----
From: Drew Harris [mailto:[EMAIL PROTECTED]]
Sent: 28 May 2002 17:06
To: Fusebox List
Subject: FW: Disable nested layout for given circuit


------ Forwarded Message
From: Drew Harris <[EMAIL PROTECTED]>
Date: Tue, 28 May 2002 11:05:50 -0500
To: Fusebox Community <[EMAIL PROTECTED]>
Subject: Disable nested layout for given circuit

What do I do to disable the nested layout effect for a given circuit... Other than calling the circuit directly?
-Drew Harris

------ End of Forwarded Message

_____________________________________________________________________
This message has been checked for all known viruses by UUNET delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.uk.uu.net/products/security/virus/
_____________________________________________________________________
This message has been checked for all known viruses by UUNET delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.uk.uu.net/products/security/virus/


==^================================================================
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