getName(); $appid = $app->getId(); $location = $app->getLocation(); $path = $location.DS.'xmldata'.DS."userdetail_app_{$appid}.xml"; $form = JForm::getInstance('user.userDetail'.$appid, $path ,array(),true, '//config'); foreach ($form->getFieldset('params') as $f){ $userps[$f->fieldname] = $f->value; } //dump($userps); } $logged_in = ( (!empty($userps['first_name'])) ? true : false ); ?>