Beautiful.  That worked perfectly.  Thanks John!

-----Original Message-----
From: John Beynon [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 20, 2002 11:12 AM
To: '[EMAIL PROTECTED]'
Subject: RE: How to suppress default layout


Hi craig,

How about using <cfparam name="attributes.SuppressLayout" default="true"> in
your fuseaction you want the layout suppressed but then in you fbx_layouts
have something like:

<cfif Fusebox.isCustomTag or attributes.suppressLayout>
    <cfset Fusebox.layoutDir="">
    <cfset Fusebox.layoutFile="lay_clean.cfm">
<cfelse>
    <cfset Fusebox.layoutDir="">
    <cfset Fusebox.layoutFile="lay_typical.cfm">
</cfif>

Where lay_clean.cfm just outputs <cfoutput>#fusebox.layout#</cfoutput>

That'll probably sort you out,

John.

> -----Original Message-----
> From: Craig Howarth [mailto:[EMAIL PROTECTED]]
> Sent: 20 May 2002 16:12
> To: [EMAIL PROTECTED]
> Subject: How to suppress default layout
>
>
> Is there a way to suppress the displaying of default layout for a
> particular fuseaction?  I am adding a report to a circuit and
> I do not
> want the menu and other elements of the circuit to be displayed.
>
> Thanks in advance,
> Craig
>
>
>
> _____________________________________________________________________
> 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