public function AddSideMenu($CurrentUrl = FALSE) {
		if(!$CurrentUrl)
			$CurrentUrl = strtolower($this->SelfUrl);
		
      // Only add to the assets if this is not a view-only request
      if ($this->_DeliveryType == DELIVERY_TYPE_ALL) {
         // Configure SideMenu module
         $SideMenu = new SideMenuModule($this);
         $SideMenu->EventName = 'GetAppSettingsMenuItems';
         $SideMenu->HtmlId = '';
         $SideMenu->HighlightRoute($CurrentUrl);
			$SideMenu->Sort = C('Garden.DashboardMenu.Sort');
         
         // Hook for adding to menu
//         $this->EventArguments['SideMenu'] = &$SideMenu;
//         $this->FireEvent('GetAppSettingsMenuItems');
         
         // Add the module
         $this->AddModule($SideMenu, 'Panel');
      }
   }