/**
  * constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->portal = new MyPortal($GLOBALS['identifier']);
     $new_themes = PSUTheme::new_themes($this->portal->person->wp_id);
     $this->tpl->assign('new_themes', $new_themes);
     $this->tpl->body_style_classes[] = 'myplymouth';
     if ($this->portal->is_fluid()) {
         $this->tpl->body_style_classes[] = 'fluid';
     }
     //end if
     MyController::_detect_disabled_chat($this->portal, $this->tpl);
 }
 /**
  * constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->portal = new MyPortal($GLOBALS['identifier']);
     MyController::_detect_disabled_chat($this->portal, $this->tpl);
 }