Display joomla username for jsjobs resume - Joomla! Forum - community, help and support
hello using component jsjobs free resume management.
i want see username have entered resume
if use code works , changes login session :
echo jtext::_("js_job_resume_add_by").": ";
$tuser = & jfactory::getuser();
$tuser->load($resume->uid);
echo $resume->name;
echo "</span>";
i tried use , session not change see user id:
echo jtext::_("js_job_resume_add_by").": ";
echo $resume->uid.' '.$resume->username;
can please me?
many thanks
james
i want see username have entered resume
if use code works , changes login session :
echo jtext::_("js_job_resume_add_by").": ";
$tuser = & jfactory::getuser();
$tuser->load($resume->uid);
echo $resume->name;
echo "</span>";
i tried use , session not change see user id:
echo jtext::_("js_job_resume_add_by").": ";
echo $resume->uid.' '.$resume->username;
can please me?
many thanks
james
code: select all
$tuser = & jfactory::getuser();
will return logged in user.
to s speicfic user:
code: select all
$tuser = & jfactory::getuser($resume->uid);
echo $tuser->username;
Comments
Post a Comment