|
Here's what I have been doing:
<!--- param the suppressLayouts and suppressHomeLayout variables ---> <CFPARAM name="suppressLayouts" default="false" type="boolean"> <CFPARAM name="suppressHomeLayout" default="false" type="boolean"> <CFIF (not suppressLayouts) and (not suppressHomeLayout)> <cfset fusebox.layoutFile = "layDefaultHome.cfm"> <cfset fusebox.layoutDir = ""> <CFELSE> <CFOUTPUT> <cfset fusebox.layoutFile = ""> <cfset fusebox.layoutDir = ""> </CFOUTPUT> </CFIF> I create a single variable (suppressLayouts)
that will turn off all of my layouts no matter how deep, and one (in this case
suppresHopmeLayout) that is specific to the circuit. That way in my switch
I can do something like this:
<CFCASE
value="nestedLayoutOff">
<CFSET
suppressNestedLayout = "true">
<CFINCLUDE
template="dspBlah.cfm">
</CFCASE>
Just how I do it. I am sure there are
better ideas out there.
Tim Heald
==^================================================================ 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 ==^================================================================ | ||||||||
- How to turn off layout Marc Funaro
- RE: How to turn off layout Timothy Heald
- RE: How to turn off layout Gallant, Ron
- RE: How to turn off layout Gallant, Ron
- RE: How to turn off layout Gallant, Ron
- RE: How to turn off layout loryn . williams
- Re: How to turn off layout Lee Borkman
- Re: How to turn off layout loryn . williams
- RE: How to turn off layout Patrick McElhaney
- Re: How to turn off layout John Quarto-vonTivadar
- Re: How to turn off layout - loryn . williams
- RE: How to turn off layout pmcelhaney
