joomla variables in Spacer field

  • akourou
  • akourou's Avatar Topic Author
  • Offline
  • New Member
  • New Member
3 years 11 months ago #676 by akourou
akourou created the topic: joomla variables in Spacer field

is there a way to use joomla variables, like,, in the spacer field.
I tried to use the following code in options of spaces field but failed.

$joomuser = JFactory::getUser();
echo "<p>Your name is {joomuser->name}, your ID is {$joomuser->id}, your email is {$joomuser->email}, and your username is {$user->joomusername}</p>";

thank you

Please Log in or Create an account to join the conversation.

Fork me on GitHub
Cookies make it easier for us to provide you with our services. With the usage of our services you permit us to use cookies.
More information Ok