/** * Custom logic code here for setting placeholders, etc * @param array $scriptProperties * @return array */ public function process(array $scriptProperties = array()) { $placeholders = array(); $this->checkForWelcomeScreen(); $this->dashboard = $this->modx->user->getDashboard(); $placeholders['dashboard'] = $this->dashboard->render($this); return $placeholders; }