We are using PHP Fusebox to develop one of our applications where I work. I have a descent-grasp on the whole fusebox concept, but I am having problems getting my head around how sub-circuits work. Can anyone offer any advice? When I go to the main fuseaction, all works fine. When I try to go to main.admin, I just get a blank screen. Even if there is nothing in the admin directory.
I have copied my switch and circuits file below. Chris fbx_Switch.php switch($Fusebox["fuseaction"]){ case "main": case "Fusebox.defaultFuseaction": dsp_page_header($config, $_GET); dsp_page_main($config, $_GET); dsp_page_footer($config, $_GET); break; case "admin": $XFA["admin"] = "admin.main"; break; default: print "I received a fuseaction called <b>'" . $Fusebox["fuseaction"] . "'</b> that circuit <b>'" . $Fusebox["circuit"] . "'</b> does not have a handler for."; break; } fbx_Circuits.php $Fusebox["circuits"]["home"] = "home"; $Fusebox["circuits"]["admin"] = "home/admin"; $Fusebox["circuits"]["account"] = "home/account"; $Fusebox["circuits"]["electric"] = "home/electric"; $Fusebox["circuits"]["gas"] = "home/gas"; $Fusebox["circuits"]["registration"] = "home/registration"; ------------------------------------------------------------------------------ 05/28/2003, 03:51:02 PM This e-mail and any attachments represent the views and opinions of only the sender and are not necessarily those of Memphis Light, Gas & Water Division, and no such inference should be made. ============================================================================== -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php