That all being said, one of the things I have not figured out (really have not tried) is how (or where) do you switch layouts?

Layout control is done in the fbx_layouts.a4d file. Each circuit can have one.


If I have a circuit "main/private/app/requisitions", how do I get rid of the sidebars, headers, etc when I want to display a requisition form using a different layout?

The best way is to put circuit-specific layouts in their circuit. Create an fbx_layouts.a4d fuse in the requisitions circuit which sets $fusebox{"layoutDir"} and $fusebox{"layoutFile"} appropriately. If you have a master layout set higher in the circuit hierarchy, you can prevent them from being displayed by setting $fusebox{"nestLayouts"} to false in requisitions/fbx_layouts.a4d.

Regards,

   Aparajita
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoylibrary.com


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to