Hi Loryn,
 
Put your hands behind your head and stpe away from your computer...

Take a few deep breaths.

Okay, to turn the parent layout on or off depending on which child circuit is being called:

  • Make the parent circuit's fbx_layouts handle a variable like attributes.stoplayout;
  • Make some of your circuits set attributes.stoplayout=true, and some of them set attributes.stoplayout=false.  This should probably be done at the end of the child circuits' fbx_layouts.
To make one circuit use different layouts:
  • Make that circuit's fbx_layouts accept a multi-value flag, preferably something that says something about the content being displayed
  • Set the value of that multi-value flag within each fuseaction.
As a final thought, if layouts are mysteriously failing to display, have a close look at your home circuit's fbx_circuits.  Check the syntax thoroughly, make sure there are no trailing slashes in the circuit values, and make sure that all of the circuit values use identical "dummy" names in the first part of the path.  FB3's nested layouts are currently hyper-sensitive to errors in the circuits definitions.
 
Hope that gets you started/finished,
LeeBB

----- Original Message -----

Sent: Wednesday, April 17, 2002 1:06 AM
Subject: RE: How to turn off layout

All,

I have tried to follow the examples posted regarding layouts but
I am confused and getting nowhere fast.

I have an application with several circuits. In 3 of the circuits
I want the parent layout to be applied.
In 2 of the circuits I DO NOT want the parent layout applied. 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
==^================================================================

Reply via email to