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

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

Popular posts from this blog

Warning, the Safe Path is not accessible vm3 - Joomla! Forum - community, help and support

2.5.28 to 3.4.1---Download of update package failed - Joomla! Forum - community, help and support

Your host needs to use PHP 5.3.10 or higher to run this vers - Joomla! Forum - community, help and support