Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Variable

Description

Introduced in version

$usernameThe username of the current logged in user.6.0
$userfullnameThe full name of the current logged in user.6.0
$userfirstname

The first name of the current logged in user.

Note: If you have your display name as "lastname, firstname" this will not work.

6.0
$sitenameThe name of the current site.6.0
$siteidThe ID of the current site.6.0
$categorynameThe name of the current category.6.0
$categorykeyThe key of the current category.6.0
$spacenameThe name of the current space.6.0
$spacekeyThe key of the current space.6.0
$pagenameThe title/name of the page6.0
$pageidThe id of the page.6.0
$queryThe search entered by the end user, eligible for Search modules and macros6.1
$nodeId / $nodeidIf Data Center clustering is in use, will referece the current node ID. 7.0.6