Compose tips
Content
This is a debugging block
Text Formats
Full HTML
- Web page addresses and e-mail addresses turn into links automatically.
- Global tokens will be replaced with their respective token values (e.g. [site:name] or [current-page:title]). The following is a list of the tokens that are available:
Name Token Description Current date Tokens related to the current date and time. Custom format [current-date:custom:?] A date in a custom format. See the PHP documentation for details. Hours [current-date:hours] A date in 'hours' format. (09:40) Long format [current-date:long] A date in 'long' format. (Thursday, 5 February, 2026 - 09:40) Medium format [current-date:medium] A date in 'medium' format. (Thu, 05/02/2026 - 09:40) Raw timestamp [current-date:raw] A date in UNIX timestamp format (1770280841) Short format [current-date:short] A date in 'short' format. (05/02/2026 - 09:40) Time-since [current-date:since] A date in 'time-since' format. (56 years 1 month) Year [current-date:year] A date in 'year' format. (2026) Current page Tokens related to the current page request. Page number [current-page:page-number] The page number of the current page when viewing paged lists. Query string value [current-page:query:?] The value of a specific query string field of the current page. Title [current-page:title] The title of the current page. URL [current-page:url] The URL of the current page. Absolute URL [current-page:url:absolute] The absolute URL. Arguments [current-page:url:args] The specific argument of the current page (e.g. 'arg:1' on the page 'node/1' returns '1'). Count [current-page:url:args:count] The number of elements in the array. First [current-page:url:args:first] The first element of the array. Imploded [current-page:url:args:join:?] The values of the array joined together with a custom string in-between each value. Joined path [current-page:url:args:join-path] The array values each cleaned by Pathauto and then joined with the slash into a string that resembles an URL. Keys [current-page:url:args:keys] The array of keys of the array. Last [current-page:url:args:last] The last element of the array. Reversed [current-page:url:args:reversed] The array reversed. Value [current-page:url:args:value:?] The specific value of the array. Brief URL [current-page:url:brief] The URL without the protocol and trailing backslash. Path [current-page:url:path] The path component of the URL. Relative URL [current-page:url:relative] The relative URL. Unaliased URL [current-page:url:unaliased] The unaliased URL. Absolute URL [current-page:url:unaliased:absolute] The absolute URL. Arguments [current-page:url:unaliased:args] The specific argument of the current page (e.g. 'arg:1' on the page 'node/1' returns '1'). Brief URL [current-page:url:unaliased:brief] The URL without the protocol and trailing backslash. Path [current-page:url:unaliased:path] The path component of the URL. Relative URL [current-page:url:unaliased:relative] The relative URL. Current user Tokens related to the currently logged in user. Author reference [current-user:field-author-ref] Field "field_author_ref". Taxonomy terms with delta 0 [current-user:field-author-ref:0] The list item with delta 0. Delta values start from 0 and are incremented by one per list item. Description [current-user:field-author-ref:0:description] The optional description of the taxonomy term. Edit URL [current-user:field-author-ref:0:edit-url] The URL of the taxonomy term's edit page. Name [current-user:field-author-ref:0:name] The name of the taxonomy term. Node count [current-user:field-author-ref:0:node-count] The number of nodes tagged with the taxonomy term. Original taxonomy term [current-user:field-author-ref:0:original] The original taxonomy term data if the taxonomy term is being updated or saved. Parents [current-user:field-author-ref:0:parents] An array of all the term's parents, starting with the root. Parent term [current-user:field-author-ref:0:parent] The parent term of the taxonomy term, if one exists. Root term [current-user:field-author-ref:0:root] The root term of the taxonomy term. Term ID [current-user:field-author-ref:0:tid] The unique ID of the taxonomy term. URL [current-user:field-author-ref:0:url] The URL of the taxonomy term. Vocabulary [current-user:field-author-ref:0:vocabulary] The vocabulary the taxonomy term belongs to. Taxonomy terms with delta 1 [current-user:field-author-ref:1] The list item with delta 1. Delta values start from 0 and are incremented by one per list item. Description [current-user:field-author-ref:1:description] The optional description of the taxonomy term. Edit URL [current-user:field-author-ref:1:edit-url] The URL of the taxonomy term's edit page. Name [current-user:field-author-ref:1:name] The name of the taxonomy term. Node count [current-user:field-author-ref:1:node-count] The number of nodes tagged with the taxonomy term. Original taxonomy term [current-user:field-author-ref:1:original] The original taxonomy term data if the taxonomy term is being updated or saved. Parents [current-user:field-author-ref:1:parents] An array of all the term's parents, starting with the root. Parent term [current-user:field-author-ref:1:parent] The parent term of the taxonomy term, if one exists. Root term [current-user:field-author-ref:1:root] The root term of the taxonomy term. Term ID [current-user:field-author-ref:1:tid] The unique ID of the taxonomy term. URL [current-user:field-author-ref:1:url] The URL of the taxonomy term. Vocabulary [current-user:field-author-ref:1:vocabulary] The vocabulary the taxonomy term belongs to. Taxonomy terms with delta 2 [current-user:field-author-ref:2] The list item with delta 2. Delta values start from 0 and are incremented by one per list item. Description [current-user:field-author-ref:2:description] The optional description of the taxonomy term. Edit URL [current-user:field-author-ref:2:edit-url] The URL of the taxonomy term's edit page. Name [current-user:field-author-ref:2:name] The name of the taxonomy term. Node count [current-user:field-author-ref:2:node-count] The number of nodes tagged with the taxonomy term. Original taxonomy term [current-user:field-author-ref:2:original] The original taxonomy term data if the taxonomy term is being updated or saved. Parents [current-user:field-author-ref:2:parents] An array of all the term's parents, starting with the root. Parent term [current-user:field-author-ref:2:parent] The parent term of the taxonomy term, if one exists. Root term [current-user:field-author-ref:2:root] The root term of the taxonomy term. Term ID [current-user:field-author-ref:2:tid] The unique ID of the taxonomy term. URL [current-user:field-author-ref:2:url] The URL of the taxonomy term. Vocabulary [current-user:field-author-ref:2:vocabulary] The vocabulary the taxonomy term belongs to. Taxonomy terms with delta 3 [current-user:field-author-ref:3] The list item with delta 3. Delta values start from 0 and are incremented by one per list item. Description [current-user:field-author-ref:3:description] The optional description of the taxonomy term. Edit URL [current-user:field-author-ref:3:edit-url] The URL of the taxonomy term's edit page. Name [current-user:field-author-ref:3:name] The name of the taxonomy term. Node count [current-user:field-author-ref:3:node-count] The number of nodes tagged with the taxonomy term. Original taxonomy term [current-user:field-author-ref:3:original] The original taxonomy term data if the taxonomy term is being updated or saved. Parents [current-user:field-author-ref:3:parents] An array of all the term's parents, starting with the root. Parent term [current-user:field-author-ref:3:parent] The parent term of the taxonomy term, if one exists. Root term [current-user:field-author-ref:3:root] The root term of the taxonomy term. Term ID [current-user:field-author-ref:3:tid] The unique ID of the taxonomy term. URL [current-user:field-author-ref:3:url] The URL of the taxonomy term. Vocabulary [current-user:field-author-ref:3:vocabulary] The vocabulary the taxonomy term belongs to. Author reference [current-user:field_author_ref] Term reference field. Also known as Project promotor. Changed [current-user:changed] The date the user account was changed. Custom format [current-user:changed:custom:?] A date in a custom format. See the PHP documentation for details. Hours [current-user:changed:hours] A date in 'hours' format. (09:40) Long format [current-user:changed:long] A date in 'long' format. (Thursday, 5 February, 2026 - 09:40) Medium format [current-user:changed:medium] A date in 'medium' format. (Thu, 05/02/2026 - 09:40) Raw timestamp [current-user:changed:raw] A date in UNIX timestamp format (1770280841) Short format [current-user:changed:short] A date in 'short' format. (05/02/2026 - 09:40) Time-since [current-user:changed:since] A date in 'time-since' format. (56 years 1 month) Year [current-user:changed:year] A date in 'year' format. (2026) Created [current-user:created] The date the user account was created. Custom format [current-user:created:custom:?] A date in a custom format. See the PHP documentation for details. Hours [current-user:created:hours] A date in 'hours' format. (09:40) Long format [current-user:created:long] A date in 'long' format. (Thursday, 5 February, 2026 - 09:40) Medium format [current-user:created:medium] A date in 'medium' format. (Thu, 05/02/2026 - 09:40) Raw timestamp [current-user:created:raw] A date in UNIX timestamp format (1770280841) Short format [current-user:created:short] A date in 'short' format. (05/02/2026 - 09:40) Time-since [current-user:created:since] A date in 'time-since' format. (56 years 1 month) Year [current-user:created:year] A date in 'year' format. (2026) Edit URL [current-user:edit-url] The URL of the account edit page. Email [current-user:mail] The email address of the user account. IP address [current-user:ip-address] The IP address of the current user. LDAP Entries that have been provisioned from this Drupal user. [current-user:ldap-user-prov-entries] Field "ldap_user_prov_entries". LDAP Entries that have been provisioned from this Drupal user. [current-user:ldap_user_prov_entries] Text field. LDAP Server ID that puid was derived from. NULL if puid is independent of server configuration instance. [current-user:ldap-user-puid-sid] Field "ldap_user_puid_sid". LDAP Server ID that puid was derived from. NULL if puid is independent of server configuration instance. [current-user:ldap_user_puid_sid] Text field. Last login [current-user:last-login] The date the user last logged in to the site. Custom format [current-user:last-login:custom:?] A date in a custom format. See the PHP documentation for details. Hours [current-user:last-login:hours] A date in 'hours' format. (09:40) Long format [current-user:last-login:long] A date in 'long' format. (Thursday, 5 February, 2026 - 09:40) Medium format [current-user:last-login:medium] A date in 'medium' format. (Thu, 05/02/2026 - 09:40) Raw timestamp [current-user:last-login:raw] A date in UNIX timestamp format (1770280841) Short format [current-user:last-login:short] A date in 'short' format. (05/02/2026 - 09:40) Time-since [current-user:last-login:since] A date in 'time-since' format. (56 years 1 month) Year [current-user:last-login:year] A date in 'year' format. (2026) Name [current-user:name] The login name of the user account. Original user [current-user:original] The original user data if the user is being updated or saved. Author reference [current-user:original:field_author_ref] Term reference field. Also known as Project promotor. Author reference [current-user:original:field-author-ref] Field "field_author_ref". Taxonomy terms with delta 0 [current-user:original:field-author-ref:0] The list item with delta 0. Delta values start from 0 and are incremented by one per list item. Taxonomy terms with delta 1 [current-user:original:field-author-ref:1] The list item with delta 1. Delta values start from 0 and are incremented by one per list item. Taxonomy terms with delta 2 [current-user:original:field-author-ref:2] The list item with delta 2. Delta values start from 0 and are incremented by one per list item. Taxonomy terms with delta 3 [current-user:original:field-author-ref:3] The list item with delta 3. Delta values start from 0 and are incremented by one per list item. Changed [current-user:original:changed] The date the user account was changed. Custom format [current-user:original:changed:custom:?] A date in a custom format. See the PHP documentation for details. Hours [current-user:original:changed:hours] A date in 'hours' format. (09:40) Long format [current-user:original:changed:long] A date in 'long' format. (Thursday, 5 February, 2026 - 09:40) Medium format [current-user:original:changed:medium] A date in 'medium' format. (Thu, 05/02/2026 - 09:40) Raw timestamp [current-user:original:changed:raw] A date in UNIX timestamp format (1770280841) Short format [current-user:original:changed:short] A date in 'short' format. (05/02/2026 - 09:40) Time-since [current-user:original:changed:since] A date in 'time-since' format. (56 years 1 month) Year [current-user:original:changed:year] A date in 'year' format. (2026) Created [current-user:original:created] The date the user account was created. Custom format [current-user:original:created:custom:?] A date in a custom format. See the PHP documentation for details. Hours [current-user:original:created:hours] A date in 'hours' format. (09:40) Long format [current-user:original:created:long] A date in 'long' format. (Thursday, 5 February, 2026 - 09:40) Medium format [current-user:original:created:medium] A date in 'medium' format. (Thu, 05/02/2026 - 09:40) Raw timestamp [current-user:original:created:raw] A date in UNIX timestamp format (1770280841) Short format [current-user:original:created:short] A date in 'short' format. (05/02/2026 - 09:40) Time-since [current-user:original:created:since] A date in 'time-since' format. (56 years 1 month) Year [current-user:original:created:year] A date in 'year' format. (2026) Edit URL [current-user:original:edit-url] The URL of the account edit page. Email [current-user:original:mail] The email address of the user account. LDAP Entries that have been provisioned from this Drupal user. [current-user:original:ldap-user-prov-entries] Field "ldap_user_prov_entries". LDAP Entries that have been provisioned from this Drupal user. [current-user:original:ldap_user_prov_entries] Text field. LDAP Server ID that puid was derived from. NULL if puid is independent of server configuration instance. [current-user:original:ldap_user_puid_sid] Text field. LDAP Server ID that puid was derived from. NULL if puid is independent of server configuration instance. [current-user:original:ldap-user-puid-sid] Field "ldap_user_puid_sid". Last login [current-user:original:last-login] The date the user last logged in to the site. Custom format [current-user:original:last-login:custom:?] A date in a custom format. See the PHP documentation for details. Hours [current-user:original:last-login:hours] A date in 'hours' format. (09:40) Long format [current-user:original:last-login:long] A date in 'long' format. (Thursday, 5 February, 2026 - 09:40) Medium format [current-user:original:last-login:medium] A date in 'medium' format. (Thu, 05/02/2026 - 09:40) Raw timestamp [current-user:original:last-login:raw] A date in UNIX timestamp format (1770280841) Short format [current-user:original:last-login:short] A date in 'short' format. (05/02/2026 - 09:40) Time-since [current-user:original:last-login:since] A date in 'time-since' format. (56 years 1 month) Year [current-user:original:last-login:year] A date in 'year' format. (2026) Name [current-user:original:name] The login name of the user account. Picture [current-user:original:picture] The picture of the user. Base name [current-user:original:picture:basename] The base name of the file. Extension [current-user:original:picture:extension] The extension of the file. File ID [current-user:original:picture:fid] The unique ID of the uploaded file. File byte size [current-user:original:picture:size-raw] The size of the file, in bytes. File name [current-user:original:picture:name] The name of the file on disk. File size [current-user:original:picture:size] The size of the file. MIME type [current-user:original:picture:mime] The MIME type of the file. Owner [current-user:original:picture:owner] The user who originally uploaded the file. Path [current-user:original:picture:path] The location of the file relative to Drupal root. Timestamp [current-user:original:picture:timestamp] The date the file was most recently changed. URL [current-user:original:picture:url] The web-accessible URL for the file. Property specified as user's puid. [current-user:original:ldap_user_puid_property] Text field. Also known as Property specified as user's puid.. Property specified as user's puid. [current-user:original:ldap-user-puid-property] Field "ldap_user_puid_property". Roles [current-user:original:roles] The user roles associated with the user account. Count [current-user:original:roles:count] The number of elements in the array. First [current-user:original:roles:first] The first element of the array. Imploded [current-user:original:roles:join:?] The values of the array joined together with a custom string in-between each value. Joined path [current-user:original:roles:join-path] The array values each cleaned by Pathauto and then joined with the slash into a string that resembles an URL. Keys [current-user:original:roles:keys] The array of keys of the array. Last [current-user:original:roles:last] The last element of the array. Reversed [current-user:original:roles:reversed] The array reversed. Value [current-user:original:roles:value:?] The specific value of the array. URL [current-user:original:url] The URL of the account profile page. Absolute URL [current-user:original:url:absolute] The absolute URL. Arguments [current-user:original:url:args] The specific argument of the current page (e.g. 'arg:1' on the page 'node/1' returns '1'). Brief URL [current-user:original:url:brief] The URL without the protocol and trailing backslash. Path [current-user:original:url:path] The path component of the URL. Relative URL [current-user:original:url:relative] The relative URL. Unaliased URL [current-user:original:url:unaliased] The unaliased URL. Unix timestamp of when Drupal user was compard to ldap entry. This could be for purposes of synching, deleteing drupal account, etc. [current-user:original:ldap-user-last-checked] Field "ldap_user_last_checked". Unix timestamp of when Drupal user was compard to ldap entry. This could be for purposes of synching, deleteing drupal account, etc. [current-user:original:ldap_user_last_checked] Integer field. User ID [current-user:original:uid] The unique ID of the user account. User LDAP DN [current-user:original:ldap_user_current_dn] Text field. User LDAP DN [current-user:original:ldap-user-current-dn] Field "ldap_user_current_dn". User role ids [current-user:original:role-ids] The role ids the user account is a member of as comma separated list. User role names [current-user:original:role-names] The role names the user account is a member of as comma separated list. Value of user's permanent unique id. This should never change for a given ldap identified user. [current-user:original:ldap_user_puid] Text field. Also known as Value of user's permanent unique id. This should never change for a given ldap identified user.. Value of user's permanent unique id. This should never change for a given ldap identified user. [current-user:original:ldap-user-puid] Field "ldap_user_puid". Whether to exclude the user from LDAP functionality [current-user:original:ldap_user_ldap_exclude] Integer field. Whether to exclude the user from LDAP functionality [current-user:original:ldap-user-ldap-exclude] Field "ldap_user_ldap_exclude". Picture [current-user:picture] The picture of the user. Base name [current-user:picture:basename] The base name of the file. Extension [current-user:picture:extension] The extension of the file. File ID [current-user:picture:fid] The unique ID of the uploaded file. File byte size [current-user:picture:size-raw] The size of the file, in bytes. File name [current-user:picture:name] The name of the file on disk. File size [current-user:picture:size] The size of the file. MIME type [current-user:picture:mime] The MIME type of the file. Original file [current-user:picture:original] The original file data if the file is being updated or saved. Base name [current-user:picture:original:basename] The base name of the file. Extension [current-user:picture:original:extension] The extension of the file. File ID [current-user:picture:original:fid] The unique ID of the uploaded file. File byte size [current-user:picture:original:size-raw] The size of the file, in bytes. File name [current-user:picture:original:name] The name of the file on disk. File size [current-user:picture:original:size] The size of the file. MIME type [current-user:picture:original:mime] The MIME type of the file. Owner [current-user:picture:original:owner] The user who originally uploaded the file. Path [current-user:picture:original:path] The location of the file relative to Drupal root. Timestamp [current-user:picture:original:timestamp] The date the file was most recently changed. URL [current-user:picture:original:url] The web-accessible URL for the file. Owner [current-user:picture:owner] The user who originally uploaded the file. Author reference [current-user:picture:owner:field_author_ref] Term reference field. Also known as Project promotor. Author reference [current-user:picture:owner:field-author-ref] Field "field_author_ref". Changed [current-user:picture:owner:changed] The date the user account was changed. Created [current-user:picture:owner:created] The date the user account was created. Edit URL [current-user:picture:owner:edit-url] The URL of the account edit page. Email [current-user:picture:owner:mail] The email address of the user account. LDAP Entries that have been provisioned from this Drupal user. [current-user:picture:owner:ldap-user-prov-entries] Field "ldap_user_prov_entries". LDAP Entries that have been provisioned from this Drupal user. [current-user:picture:owner:ldap_user_prov_entries] Text field. LDAP Server ID that puid was derived from. NULL if puid is independent of server configuration instance. [current-user:picture:owner:ldap_user_puid_sid] Text field. LDAP Server ID that puid was derived from. NULL if puid is independent of server configuration instance. [current-user:picture:owner:ldap-user-puid-sid] Field "ldap_user_puid_sid". Last login [current-user:picture:owner:last-login] The date the user last logged in to the site. Name [current-user:picture:owner:name] The login name of the user account. Original user [current-user:picture:owner:original] The original user data if the user is being updated or saved. Property specified as user's puid. [current-user:picture:owner:ldap_user_puid_property] Text field. Also known as Property specified as user's puid.. Property specified as user's puid. [current-user:picture:owner:ldap-user-puid-property] Field "ldap_user_puid_property". Roles [current-user:picture:owner:roles] The user roles associated with the user account. URL [current-user:picture:owner:url] The URL of the account profile page. Unix timestamp of when Drupal user was compard to ldap entry. This could be for purposes of synching, deleteing drupal account, etc. [current-user:picture:owner:ldap-user-last-checked] Field "ldap_user_last_checked". Unix timestamp of when Drupal user was compard to ldap entry. This could be for purposes of synching, deleteing drupal account, etc. [current-user:picture:owner:ldap_user_last_checked] Integer field. User ID [current-user:picture:owner:uid] The unique ID of the user account. User LDAP DN [current-user:picture:owner:ldap_user_current_dn] Text field. User LDAP DN [current-user:picture:owner:ldap-user-current-dn] Field "ldap_user_current_dn". User role ids [current-user:picture:owner:role-ids] The role ids the user account is a member of as comma separated list. User role names [current-user:picture:owner:role-names] The role names the user account is a member of as comma separated list. Value of user's permanent unique id. This should never change for a given ldap identified user. [current-user:picture:owner:ldap_user_puid] Text field. Also known as Value of user's permanent unique id. This should never change for a given ldap identified user.. Value of user's permanent unique id. This should never change for a given ldap identified user. [current-user:picture:owner:ldap-user-puid] Field "ldap_user_puid". Whether to exclude the user from LDAP functionality [current-user:picture:owner:ldap_user_ldap_exclude] Integer field. Whether to exclude the user from LDAP functionality [current-user:picture:owner:ldap-user-ldap-exclude] Field "ldap_user_ldap_exclude". Path [current-user:picture:path] The location of the file relative to Drupal root. Timestamp [current-user:picture:timestamp] The date the file was most recently changed. Custom format [current-user:picture:timestamp:custom:?] A date in a custom format. See the PHP documentation for details. Hours [current-user:picture:timestamp:hours] A date in 'hours' format. (09:40) Long format [current-user:picture:timestamp:long] A date in 'long' format. (Thursday, 5 February, 2026 - 09:40) Medium format [current-user:picture:timestamp:medium] A date in 'medium' format. (Thu, 05/02/2026 - 09:40) Raw timestamp [current-user:picture:timestamp:raw] A date in UNIX timestamp format (1770280841) Short format [current-user:picture:timestamp:short] A date in 'short' format. (05/02/2026 - 09:40) Time-since [current-user:picture:timestamp:since] A date in 'time-since' format. (56 years 1 month) Year [current-user:picture:timestamp:year] A date in 'year' format. (2026) URL [current-user:picture:url] The web-accessible URL for the file. Property specified as user's puid. [current-user:ldap_user_puid_property] Text field. Also known as Property specified as user's puid.. Property specified as user's puid. [current-user:ldap-user-puid-property] Field "ldap_user_puid_property". Roles [current-user:roles] The user roles associated with the user account. Count [current-user:roles:count] The number of elements in the array. First [current-user:roles:first] The first element of the array. Imploded [current-user:roles:join:?] The values of the array joined together with a custom string in-between each value. Joined path [current-user:roles:join-path] The array values each cleaned by Pathauto and then joined with the slash into a string that resembles an URL. Keys [current-user:roles:keys] The array of keys of the array. Count [current-user:roles:keys:count] The number of elements in the array. First [current-user:roles:keys:first] The first element of the array. Imploded [current-user:roles:keys:join:?] The values of the array joined together with a custom string in-between each value. Joined path [current-user:roles:keys:join-path] The array values each cleaned by Pathauto and then joined with the slash into a string that resembles an URL. Last [current-user:roles:keys:last] The last element of the array. Reversed [current-user:roles:keys:reversed] The array reversed. Value [current-user:roles:keys:value:?] The specific value of the array. Last [current-user:roles:last] The last element of the array. Reversed [current-user:roles:reversed] The array reversed. Count [current-user:roles:reversed:count] The number of elements in the array. First [current-user:roles:reversed:first] The first element of the array. Imploded [current-user:roles:reversed:join:?] The values of the array joined together with a custom string in-between each value. Joined path [current-user:roles:reversed:join-path] The array values each cleaned by Pathauto and then joined with the slash into a string that resembles an URL. Keys [current-user:roles:reversed:keys] The array of keys of the array. Last [current-user:roles:reversed:last] The last element of the array. Value [current-user:roles:reversed:value:?] The specific value of the array. Value [current-user:roles:value:?] The specific value of the array. URL [current-user:url] The URL of the account profile page. Absolute URL [current-user:url:absolute] The absolute URL. Arguments [current-user:url:args] The specific argument of the current page (e.g. 'arg:1' on the page 'node/1' returns '1'). Count [current-user:url:args:count] The number of elements in the array. First [current-user:url:args:first] The first element of the array. Imploded [current-user:url:args:join:?] The values of the array joined together with a custom string in-between each value. Joined path [current-user:url:args:join-path] The array values each cleaned by Pathauto and then joined with the slash into a string that resembles an URL. Keys [current-user:url:args:keys] The array of keys of the array. Last [current-user:url:args:last] The last element of the array. Reversed [current-user:url:args:reversed] The array reversed. Value [current-user:url:args:value:?] The specific value of the array. Brief URL [current-user:url:brief] The URL without the protocol and trailing backslash. Path [current-user:url:path] The path component of the URL. Relative URL [current-user:url:relative] The relative URL. Unaliased URL [current-user:url:unaliased] The unaliased URL. Absolute URL [current-user:url:unaliased:absolute] The absolute URL. Arguments [current-user:url:unaliased:args] The specific argument of the current page (e.g. 'arg:1' on the page 'node/1' returns '1'). Brief URL [current-user:url:unaliased:brief] The URL without the protocol and trailing backslash. Path [current-user:url:unaliased:path] The path component of the URL. Relative URL [current-user:url:unaliased:relative] The relative URL. Unix timestamp of when Drupal user was compard to ldap entry. This could be for purposes of synching, deleteing drupal account, etc. [current-user:ldap_user_last_checked] Integer field. Unix timestamp of when Drupal user was compard to ldap entry. This could be for purposes of synching, deleteing drupal account, etc. [current-user:ldap-user-last-checked] Field "ldap_user_last_checked". User ID [current-user:uid] The unique ID of the user account. User LDAP DN [current-user:ldap_user_current_dn] Text field. User LDAP DN [current-user:ldap-user-current-dn] Field "ldap_user_current_dn". User role ids [current-user:role-ids] The role ids the user account is a member of as comma separated list. User role names [current-user:role-names] The role names the user account is a member of as comma separated list. Value of user's permanent unique id. This should never change for a given ldap identified user. [current-user:ldap_user_puid] Text field. Also known as Value of user's permanent unique id. This should never change for a given ldap identified user.. Value of user's permanent unique id. This should never change for a given ldap identified user. [current-user:ldap-user-puid] Field "ldap_user_puid". Whether to exclude the user from LDAP functionality [current-user:ldap_user_ldap_exclude] Integer field. Whether to exclude the user from LDAP functionality [current-user:ldap-user-ldap-exclude] Field "ldap_user_ldap_exclude". Random Tokens related to random data. Hash [random:hash:?] A random hash. The possible hashing algorithms are: md2, md4, md5, sha1, sha224, sha256, sha384, sha512, ripemd128, ripemd160, ripemd256, ripemd320, whirlpool, tiger128,3, tiger160,3, tiger192,3, tiger128,4, tiger160,4, tiger192,4, snefru, snefru256, gost, adler32, crc32, crc32b, fnv132, fnv164, joaat, haval128,3, haval160,3, haval192,3, haval224,3, haval256,3, haval128,4, haval160,4, haval192,4, haval224,4, haval256,4, haval128,5, haval160,5, haval192,5, haval224,5, haval256,5. Number [random:number] A random number from 0 to 2147483647. Site information Tokens for site-wide settings and other global information. Current date [site:current-date] The current date and time. Custom format [site:current-date:custom:?] A date in a custom format. See the PHP documentation for details. Hours [site:current-date:hours] A date in 'hours' format. (09:40) Long format [site:current-date:long] A date in 'long' format. (Thursday, 5 February, 2026 - 09:40) Medium format [site:current-date:medium] A date in 'medium' format. (Thu, 05/02/2026 - 09:40) Raw timestamp [site:current-date:raw] A date in UNIX timestamp format (1770280841) Short format [site:current-date:short] A date in 'short' format. (05/02/2026 - 09:40) Time-since [site:current-date:since] A date in 'time-since' format. (56 years 1 month) Year [site:current-date:year] A date in 'year' format. (2026) Current page [site:current-page:?] Information related to the current page request. The following properties may be appended to the token: path (Path), url (URL), language (Interface language), language_content (Content language) Email [site:mail] The administrative email address for the site. Logged in user [site:current-user] The currently logged in user. Author reference [site:current-user:field_author_ref] Term reference field. Also known as Project promotor. Author reference [site:current-user:field-author-ref] Field "field_author_ref". Taxonomy terms with delta 0 [site:current-user:field-author-ref:0] The list item with delta 0. Delta values start from 0 and are incremented by one per list item. Taxonomy terms with delta 1 [site:current-user:field-author-ref:1] The list item with delta 1. Delta values start from 0 and are incremented by one per list item. Taxonomy terms with delta 2 [site:current-user:field-author-ref:2] The list item with delta 2. Delta values start from 0 and are incremented by one per list item. Taxonomy terms with delta 3 [site:current-user:field-author-ref:3] The list item with delta 3. Delta values start from 0 and are incremented by one per list item. Changed [site:current-user:changed] The date the user account was changed. Custom format [site:current-user:changed:custom:?] A date in a custom format. See the PHP documentation for details. Hours [site:current-user:changed:hours] A date in 'hours' format. (09:40) Long format [site:current-user:changed:long] A date in 'long' format. (Thursday, 5 February, 2026 - 09:40) Medium format [site:current-user:changed:medium] A date in 'medium' format. (Thu, 05/02/2026 - 09:40) Raw timestamp [site:current-user:changed:raw] A date in UNIX timestamp format (1770280841) Short format [site:current-user:changed:short] A date in 'short' format. (05/02/2026 - 09:40) Time-since [site:current-user:changed:since] A date in 'time-since' format. (56 years 1 month) Year [site:current-user:changed:year] A date in 'year' format. (2026) Created [site:current-user:created] The date the user account was created. Custom format [site:current-user:created:custom:?] A date in a custom format. See the PHP documentation for details. Hours [site:current-user:created:hours] A date in 'hours' format. (09:40) Long format [site:current-user:created:long] A date in 'long' format. (Thursday, 5 February, 2026 - 09:40) Medium format [site:current-user:created:medium] A date in 'medium' format. (Thu, 05/02/2026 - 09:40) Raw timestamp [site:current-user:created:raw] A date in UNIX timestamp format (1770280841) Short format [site:current-user:created:short] A date in 'short' format. (05/02/2026 - 09:40) Time-since [site:current-user:created:since] A date in 'time-since' format. (56 years 1 month) Year [site:current-user:created:year] A date in 'year' format. (2026) Edit URL [site:current-user:edit-url] The URL of the account edit page. Email [site:current-user:mail] The email address of the user account. LDAP Entries that have been provisioned from this Drupal user. [site:current-user:ldap-user-prov-entries] Field "ldap_user_prov_entries". LDAP Entries that have been provisioned from this Drupal user. [site:current-user:ldap_user_prov_entries] Text field. LDAP Server ID that puid was derived from. NULL if puid is independent of server configuration instance. [site:current-user:ldap_user_puid_sid] Text field. LDAP Server ID that puid was derived from. NULL if puid is independent of server configuration instance. [site:current-user:ldap-user-puid-sid] Field "ldap_user_puid_sid". Last login [site:current-user:last-login] The date the user last logged in to the site. Custom format [site:current-user:last-login:custom:?] A date in a custom format. See the PHP documentation for details. Hours [site:current-user:last-login:hours] A date in 'hours' format. (09:40) Long format [site:current-user:last-login:long] A date in 'long' format. (Thursday, 5 February, 2026 - 09:40) Medium format [site:current-user:last-login:medium] A date in 'medium' format. (Thu, 05/02/2026 - 09:40) Raw timestamp [site:current-user:last-login:raw] A date in UNIX timestamp format (1770280841) Short format [site:current-user:last-login:short] A date in 'short' format. (05/02/2026 - 09:40) Time-since [site:current-user:last-login:since] A date in 'time-since' format. (56 years 1 month) Year [site:current-user:last-login:year] A date in 'year' format. (2026) Name [site:current-user:name] The login name of the user account. Original user [site:current-user:original] The original user data if the user is being updated or saved. Author reference [site:current-user:original:field_author_ref] Term reference field. Also known as Project promotor. Author reference [site:current-user:original:field-author-ref] Field "field_author_ref". Changed [site:current-user:original:changed] The date the user account was changed. Created [site:current-user:original:created] The date the user account was created. Edit URL [site:current-user:original:edit-url] The URL of the account edit page. Email [site:current-user:original:mail] The email address of the user account. LDAP Entries that have been provisioned from this Drupal user. [site:current-user:original:ldap-user-prov-entries] Field "ldap_user_prov_entries". LDAP Entries that have been provisioned from this Drupal user. [site:current-user:original:ldap_user_prov_entries] Text field. LDAP Server ID that puid was derived from. NULL if puid is independent of server configuration instance. [site:current-user:original:ldap_user_puid_sid] Text field. LDAP Server ID that puid was derived from. NULL if puid is independent of server configuration instance. [site:current-user:original:ldap-user-puid-sid] Field "ldap_user_puid_sid". Last login [site:current-user:original:last-login] The date the user last logged in to the site. Name [site:current-user:original:name] The login name of the user account. Picture [site:current-user:original:picture] The picture of the user. Property specified as user's puid. [site:current-user:original:ldap_user_puid_property] Text field. Also known as Property specified as user's puid.. Property specified as user's puid. [site:current-user:original:ldap-user-puid-property] Field "ldap_user_puid_property". Roles [site:current-user:original:roles] The user roles associated with the user account. URL [site:current-user:original:url] The URL of the account profile page. Unix timestamp of when Drupal user was compard to ldap entry. This could be for purposes of synching, deleteing drupal account, etc. [site:current-user:original:ldap-user-last-checked] Field "ldap_user_last_checked". Unix timestamp of when Drupal user was compard to ldap entry. This could be for purposes of synching, deleteing drupal account, etc. [site:current-user:original:ldap_user_last_checked] Integer field. User ID [site:current-user:original:uid] The unique ID of the user account. User LDAP DN [site:current-user:original:ldap_user_current_dn] Text field. User LDAP DN [site:current-user:original:ldap-user-current-dn] Field "ldap_user_current_dn". User role ids [site:current-user:original:role-ids] The role ids the user account is a member of as comma separated list. User role names [site:current-user:original:role-names] The role names the user account is a member of as comma separated list. Value of user's permanent unique id. This should never change for a given ldap identified user. [site:current-user:original:ldap_user_puid] Text field. Also known as Value of user's permanent unique id. This should never change for a given ldap identified user.. Value of user's permanent unique id. This should never change for a given ldap identified user. [site:current-user:original:ldap-user-puid] Field "ldap_user_puid". Whether to exclude the user from LDAP functionality [site:current-user:original:ldap_user_ldap_exclude] Integer field. Whether to exclude the user from LDAP functionality [site:current-user:original:ldap-user-ldap-exclude] Field "ldap_user_ldap_exclude". Picture [site:current-user:picture] The picture of the user. Base name [site:current-user:picture:basename] The base name of the file. Extension [site:current-user:picture:extension] The extension of the file. File ID [site:current-user:picture:fid] The unique ID of the uploaded file. File byte size [site:current-user:picture:size-raw] The size of the file, in bytes. File name [site:current-user:picture:name] The name of the file on disk. File size [site:current-user:picture:size] The size of the file. MIME type [site:current-user:picture:mime] The MIME type of the file. Original file [site:current-user:picture:original] The original file data if the file is being updated or saved. Owner [site:current-user:picture:owner] The user who originally uploaded the file. Path [site:current-user:picture:path] The location of the file relative to Drupal root. Timestamp [site:current-user:picture:timestamp] The date the file was most recently changed. URL [site:current-user:picture:url] The web-accessible URL for the file. Property specified as user's puid. [site:current-user:ldap_user_puid_property] Text field. Also known as Property specified as user's puid.. Property specified as user's puid. [site:current-user:ldap-user-puid-property] Field "ldap_user_puid_property". Roles [site:current-user:roles] The user roles associated with the user account. Count [site:current-user:roles:count] The number of elements in the array. First [site:current-user:roles:first] The first element of the array. Imploded [site:current-user:roles:join:?] The values of the array joined together with a custom string in-between each value. Joined path [site:current-user:roles:join-path] The array values each cleaned by Pathauto and then joined with the slash into a string that resembles an URL. Keys [site:current-user:roles:keys] The array of keys of the array. Last [site:current-user:roles:last] The last element of the array. Reversed [site:current-user:roles:reversed] The array reversed. Value [site:current-user:roles:value:?] The specific value of the array. URL [site:current-user:url] The URL of the account profile page. Absolute URL [site:current-user:url:absolute] The absolute URL. Arguments [site:current-user:url:args] The specific argument of the current page (e.g. 'arg:1' on the page 'node/1' returns '1'). Brief URL [site:current-user:url:brief] The URL without the protocol and trailing backslash. Path [site:current-user:url:path] The path component of the URL. Relative URL [site:current-user:url:relative] The relative URL. Unaliased URL [site:current-user:url:unaliased] The unaliased URL. Unix timestamp of when Drupal user was compard to ldap entry. This could be for purposes of synching, deleteing drupal account, etc. [site:current-user:ldap-user-last-checked] Field "ldap_user_last_checked". Unix timestamp of when Drupal user was compard to ldap entry. This could be for purposes of synching, deleteing drupal account, etc. [site:current-user:ldap_user_last_checked] Integer field. User ID [site:current-user:uid] The unique ID of the user account. User LDAP DN [site:current-user:ldap_user_current_dn] Text field. User LDAP DN [site:current-user:ldap-user-current-dn] Field "ldap_user_current_dn". User role ids [site:current-user:role-ids] The role ids the user account is a member of as comma separated list. User role names [site:current-user:role-names] The role names the user account is a member of as comma separated list. Value of user's permanent unique id. This should never change for a given ldap identified user. [site:current-user:ldap_user_puid] Text field. Also known as Value of user's permanent unique id. This should never change for a given ldap identified user.. Value of user's permanent unique id. This should never change for a given ldap identified user. [site:current-user:ldap-user-puid] Field "ldap_user_puid". Whether to exclude the user from LDAP functionality [site:current-user:ldap_user_ldap_exclude] Integer field. Whether to exclude the user from LDAP functionality [site:current-user:ldap-user-ldap-exclude] Field "ldap_user_ldap_exclude". Login page [site:login-url] The URL of the site's login page. Name [site:name] The name of the site. Slogan [site:slogan] The slogan of the site. URL [site:url] The URL of the site's front page. URL (brief) [site:url-brief] The URL of the site's front page without the protocol. - Lines and paragraphs are automatically recognized. The <br /> line break, <p> paragraph and </p> close paragraph tags are inserted automatically. If paragraphs are not recognized simply add a couple blank lines.
- Mathematics inside the configured delimiters is rendered by MathJax. The default math delimiters are $$...$$ and \[...\] for displayed mathematics, and $...$ and \(...\) for in-line mathematics.
Filtered HTML
- Web page addresses and e-mail addresses turn into links automatically.
Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
This site allows HTML content. While learning all of HTML may feel intimidating, learning how to use a very small number of the most basic HTML "tags" is very easy. This table provides examples for each tag that is enabled on this site.
For more information see W3C's HTML Specifications or use your favorite search engine to find other sites that explain HTML.
Tag Description You Type You Get Anchors are used to make links to other pages. <a href="https://molmod.ugent.be">Center for Molecular Modeling</a>Center for Molecular Modeling Emphasized <em>Emphasized</em>Emphasized Strong <strong>Strong</strong>Strong Cited <cite>Cited</cite>Cited Block quoted <blockquote>Block quoted</blockquote>Block quoted
Coded text used to show programming source code <code>Coded</code>CodedUnordered list - use the <li> to begin each list item <ul> <li>First item</li> <li>Second item</li> </ul>- First item
- Second item
Ordered list - use the <li> to begin each list item <ol> <li>First item</li> <li>Second item</li> </ol>- First item
- Second item
No help provided for tag li. Definition lists are similar to other HTML lists. <dl> begins the definition list, <dt> begins the definition term and <dd> begins the definition description. <dl> <dt>First term</dt> <dd>First definition</dd> <dt>Second term</dt> <dd>Second definition</dd> </dl>- First term
- First definition
- Second term
- Second definition
No help provided for tag dt. No help provided for tag dd. Most unusual characters can be directly entered without any problems.
If you do encounter problems, try using HTML character entities. A common example looks like & for an ampersand & character. For a full list of entities see HTML's entities page. Some of the available characters include:
Character Description You Type You Get Ampersand && Greater than >> Less than << Quotation mark "" - Lines and paragraphs are automatically recognized. The <br /> line break, <p> paragraph and </p> close paragraph tags are inserted automatically. If paragraphs are not recognized simply add a couple blank lines.
Plain text
- No HTML tags allowed.
- Web page addresses and e-mail addresses turn into links automatically.
- Lines and paragraphs are automatically recognized. The <br /> line break, <p> paragraph and </p> close paragraph tags are inserted automatically. If paragraphs are not recognized simply add a couple blank lines.
PHP code
Using custom PHP code
Custom PHP code may be embedded in some types of site content, including posts and blocks. While embedding PHP code inside a post or block is a powerful and flexible feature when used by a trusted user with PHP experience, it is a significant and dangerous security risk when used improperly. Even a small mistake when posting PHP code may accidentally compromise your site.
If you are unfamiliar with PHP, SQL, or Drupal, avoid using custom PHP code within posts. Experimenting with PHP may corrupt your database, render your site inoperable, or significantly compromise security.
Notes:
- Remember to double-check each line for syntax and logic errors before saving.
- Statements must be correctly terminated with semicolons.
- Global variables used within your PHP code retain their values after your script executes.
register_globalsis turned off. If you need to use forms, understand and use the functions in the Drupal Form API.- Use a
printorreturnstatement in your code to output content. - Develop and test your PHP code using a separate test script and sample database before deploying on a production site.
- Consider including your custom PHP code within a site-specific module or
template.phpfile rather than embedding it directly into a post or block. - Be aware that the ability to embed PHP code within content is provided by the PHP Filter module. If this module is disabled or deleted, then blocks and posts with embedded PHP may display, rather than execute, the PHP code.
A basic example: Creating a "Welcome" block that greets visitors with a simple message.
Add a custom block to your site, named "Welcome" . With its text format set to "PHP code" (or another format supporting PHP input), add the following in the Block body:
print t('Welcome visitor! Thank you for visiting.');To display the name of a registered user, use this instead:
global $user; if ($user->uid) { print t('Welcome @name! Thank you for visiting.', array('@name' => format_username($user))); } else { print t('Welcome visitor! Thank you for visiting.'); }
Drupal.org offers some example PHP snippets, or you can create your own with some PHP experience and knowledge of the Drupal system.
Postscript First
This is a debugging block
Postscript Second
This is a debugging block
Postscript Third
This is a debugging block
Preface First
This is a debugging block
Preface Second
This is a debugging block
Preface Third
This is a debugging block
