Properties Explained

Last updated on
30 April 2025

blog:uid

Blog: User ID - The id of the user (uid) who owns the blog.
Page Cache: Supported

drupal:base_path

Drupal: Base path - If Drupal is installed in a subdirectory, the base path will be '/[subdirectory]/', otherwise just '/'.
Page Cache: Supported

drupal:get_q

Drupal: $_GET['q'] - Current value of Drupal's query parameter "q"
Page Cache: Supported

drupal:is_front_page

Drupal: Is front page - 'true' if current page is front page, otherwise just 'false'.
Page Cache: Supported

drupal:path

Drupal: Drupal path like "node/add/story" or path alias with support for wildcards.
Query parameters are stripped off before the path gets examined. P.e. "node/add/story?destination=node" becomes "node/add/story" first. If you want to access query parameters, have a look at the system:query_param property.
Wildcard characters are "#" for numeric parts and "%" for all characters. To match conditions against a certain part, use an identifier with the wildcard. For example "comment/reply/#xyz" matches all paths with "comment/reply" and a numeric third argument. You can then specify conditions for every wildcard argument using the property "drupal:path:wildcard" and the identifier you choose ("xyz" in this example).
These are the possible wildcard replacements for foo/bar/42/test.html:

foo/bar/42/test.html
foo/bar/42/%
foo/bar/42
foo/bar/%/test.html
foo/bar/%/%
foo/bar/%
foo/bar/#/test.html
foo/bar/#/%
foo/bar/#
foo/bar
foo/%/42/test.html
foo/%/42/%
foo/%/42
foo/%/%/test.html
foo/%/%/%
foo/%/%
foo/%/#/test.html
foo/%/#/%
foo/%/#
foo/%
foo
%/bar/42/test.html
%/bar/42/%
%/bar/42
%/bar/%/test.html
%/bar/%/%
%/bar/%
%/bar/#/test.html
%/bar/#/%
%/bar/#
%/bar
%/%/42/test.html
%/%/42/%
%/%/42
%/%/%/test.html
%/%/%/%
%/%/%
%/%/#/test.html
%/%/#/%
%/%/#
%/%
%

Page Cache: Supported

drupal:path:wildcard

Wildcard of "drupal:path". See explanation of "drupal:path" for details.
Page Cache: Supported

drupal:path_is_admin

Drupal: Path is admin - 'true' if current page's path belongs to the admin section, otherwise just 'false'.
Page Cache: Supported

node:body_format

Node: Field Value - The (simple scalar) value of the column format of the field body. The value will be converted in its string representation.
Page Cache: Supported

node:body_summary

Node: Field Value - The (simple scalar) value of the column summary of the field body. The value will be converted in its string representation.
Page Cache: Supported

node:body_value

Node: Field Value - The (simple scalar) value of the column value of the field body. The value will be converted in its string representation.
Page Cache: Supported

node:changed

Node: Changed date - The date when the node was last edited/updated, formatted as unix timestamp like "1248873565".
Page Cache: Supported

node:changed_date

Node: Changed date - The date without the time when the node was last edited/updated, formatted like "2009-12-24"
Page Cache: Supported

node:changed_date_time

Node: Changed date - The date including the time when the node was last edited/updated, formatted like "2009-12-24 18:13:24"
Page Cache: Supported

node:created

Node: Created date - The date when the node was created, formatted as unix timestamp like "1248873565".
Page Cache: Supported

node:created_date

Node: Created date - The date without the time when the node was created, formatted like "2009-12-24"
Page Cache: Supported

node:created_date_time

Node: Created date - The date including the time when the node was created, formatted like "2009-12-24 18:13:24"
Page Cache: Supported

node:field__meta_author_metatags_quick

Node: Field Value - The (simple scalar) value of the column metatags_quick of the field field__meta_author. The value will be converted in its string representation.
Page Cache: Supported

node:field__meta_language_metatags_quick

Node: Field Value - The (simple scalar) value of the column metatags_quick of the field field__meta_language. The value will be converted in its string representation.
Page Cache: Supported

node:field_body_format

Node: Field Value - The (simple scalar) value of the column format of the field field_body. The value will be converted in its string representation.
Page Cache: Supported

node:field_body_value

Node: Field Value - The (simple scalar) value of the column value of the field field_body. The value will be converted in its string representation.
Page Cache: Supported

node:field_image_alt

Node: Field Value - The (simple scalar) value of the column alt of the field field_image. The value will be converted in its string representation.
Page Cache: Supported

node:field_image_fid

Node: Field Value - The (simple scalar) value of the column fid of the field field_image. The value will be converted in its string representation.
Page Cache: Supported

node:field_image_height

Node: Field Value - The (simple scalar) value of the column height of the field field_image. The value will be converted in its string representation.
Page Cache: Supported

node:field_image_title

Node: Field Value - The (simple scalar) value of the column title of the field field_image. The value will be converted in its string representation.
Page Cache: Supported

node:field_image_width

Node: Field Value - The (simple scalar) value of the column width of the field field_image. The value will be converted in its string representation.
Page Cache: Supported

node:field_product_product_id

Node: Field Value - The (simple scalar) value of the column product_id of the field field_product. The value will be converted in its string representation.
Page Cache: Supported

node:field_product_variations_product_id

Node: Field Value - The (simple scalar) value of the column product_id of the field field_product_variations. The value will be converted in its string representation.
Page Cache: Supported

node:language

Node: Language - The code of the selected language of a node (formatted like "en" or "de") or "neutral". See admin/config/language for the codes of your enabled languages
Page Cache: Supported

node:nid

Node: ID - The id of a node (nid), can be found in the URL of the node, "node/23" or "node/23/edit" (23 = nid)
Page Cache: Supported

node:promote

Node: Promoted - If the node is promoted to the front page. Possible values are "0" for true and "1" for false.
Page Cache: Supported

node:sticky

Node: Sticky - If the node is set "Sticky at top of lists". Possible values are "0" for true and "1" for false.
Page Cache: Supported

node:title

Node: Title - The title of the node.
Page Cache: Supported

node:type

Node: Type - The machine-readable content type of the node. See admin/structure/types for your content types (use column "Type"). Drupal default types are "page" and "story".
Page Cache: Supported

node:uid

Node: User ID - The node author's user id (uid). The user id can be found in the URL of the user's profile page, "user/23" or "user/23/edit" (23 = uid). See admin/user/user/list for your users.
Page Cache: Supported

node:vid

Node: The version id of a node (vid), mostly for internal use within ThemeKey. In most cases it's better to use node:nid within your rule chains.
Page Cache: Supported

path:node_alias

Path: Node alias - The path alias assigned to a node.
Page Cache: Supported

system:cookie

System: Cookie - Every single cookie and its value if present will be formatted like 'COOKIE_NAME=COOKIE_VALUE'
Page Cache: Unsupported!
If you enable page caching on your system, you have to ensure that any rule using this property is wrapped by another rule that excludes anonymous users, such as "user:uid > 0".

system:date

System: Date - Current time formatted as Y-m-d (example: 2009-12-24)
Page Cache :Supported...
If you enable "Cron cleans up page cache" at admin/config/user-interface/themekey/settings and run your cron frequently enough. During the cron run ThemeKey deletes the page cache if necessary depending on your Theme Switching Rules.

system:date_time

System: Date Time - Current time formatted as Y-m-d H:i:s (example: 2009-12-24 18:30:10)
Page Cache: Supported...
If you enable "Cron cleans up page cache" at admin/config/user-interface/themekey/settings and run your cron frequently enough. During the cron run ThemeKey deletes the page cache if necessary depending on your Theme Switching Rules.

system:day_of_month

System: Day of Month - Current day of the month formatted as 1 - 31
Page Cache: Supported...
If you enable "Cron cleans up page cache" at admin/config/user-interface/themekey/settings and run your cron frequently enough. During the cron run ThemeKey deletes the page cache if necessary depending on your Theme Switching Rules.

system:day_of_week

System: Day of Week - Current day of the week formatted as three letters 'Mon' through 'Sun'
Page Cache: Supported...
If you enable "Cron cleans up page cache" at admin/config/user-interface/themekey/settings and run your cron frequently enough. During the cron run ThemeKey deletes the page cache if necessary depending on your Theme Switching Rules.

system:dummy

System: Dummy - Dummy property. Value is always 'dummy'
Page Cache: Supported

system:host

System: HTTP_HOST - The hostname/domain of the site without http:// or https://, like "www.drupal.org" or "www.biologis.com"
Page Cache: Supported

system:http_header

System: HTTP Header - Every single HTTP header and its value if present will be formatted like 'HEADER_NAME=HEADER_VALUE'
Page Cache: Unsupported!
If you enable page caching on your system, you have to ensure that any rule using this property is wrapped by another rule that excludes anonymous users, such as "user:uid > 0".

system:https

System: 'HTTPS' - Set to 'true' value if the script was queried through the HTTPS protocol, otherwise 'false'.
Page Cache: Supported

system:month

System: Month - Current month formatted as 'Jan' through 'Dec'
Page Cache: Supported...
If you enable "Cron cleans up page cache" at admin/config/user-interface/themekey/settings and run your cron frequently enough. During the cron run ThemeKey deletes the page cache if necessary depending on your Theme Switching Rules.

system:post

System: POST - Every single POST value formatted like 'POST_VARIABLE_NAME=POST_VARIABLE_VALUE'. Example: form_id=node_form. If the POST value is not a scalar but a complex type like array or object, the resulting string is formatted as 'POST_VARIABLE_NAME' without a value.
Page Cache: Unsupported!
If you enable page caching on your system, you have to ensure that any rule using this property is wrapped by another rule that excludes anonymous users, such as "user:uid > 0".

system:query_param

System: Query Parameter - Every single query parameter other than 'q' and its value, if present. Note that values are url decoded. Example: '?q=node&foo=bar&dummy&filter=tid%3A27' will cause three entries 'foo=bar', 'dummy' and 'filter=tid:27'. For 'q', see property drupal:get_q.
Page Cache: Supported

system:query_string

System: Query String - Complete query string except parameter 'q'. Example: '?q=node&foo=bar&dummy&filter=tid%3A27' will result in 'foo=bar&dummy&filter=tid%3A27'. For 'q' see property drupal:get_q.
Page Cache: Supported

system:random

System: Random - A random value that could be '0' or 1'.
Page Cache: Unsupported!
If you enable page caching on your system, you have to ensure that any rule using this property is wrapped by another rule that excludes anonymous users, such as "user:uid > 0".

system:referer

System: 'HTTP_REFERER' - The address of the page (if any) which referred the user agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted.
Page Cache: Unsupported!
If you enable page caching on your system, you have to ensure that any rule using this property is wrapped by another rule that excludes anonymous users, such as "user:uid > 0".

system:remote_ip

System: 'REMOTE_ADDR' - The IP address from which the user is viewing the current page.
Page Cache: Unsupported!
If you enable page caching on your system, you have to ensure that any rule using this property is wrapped by another rule that excludes anonymous users, such as "user:uid > 0".

system:server_ip

System: 'SERVER_ADDR' - The IP address of the server under which the current script is executing.
Page Cache: Unsupported!
If you enable page caching on your system, you have to ensure that any rule using this property is wrapped by another rule that excludes anonymous users, such as "user:uid > 0".

system:server_name

System: 'SERVER_NAME' - The name of the server host under which the current script is executing. If the script is running on a virtual host, this will be the value defined for that virtual host.
Page Cache: Unsupported!
If you enable page caching on your system, you have to ensure that any rule using this property is wrapped by another rule that excludes anonymous users, such as "user:uid > 0".

system:server_port

System: 'SERVER_PORT' - The port on the server machine being used by the web server for communication. For default setups, this will be '80'; using SSL, for instance, will change this to whatever your defined secure HTTP port is.
Page Cache: Unsupported!
If you enable page caching on your system, you have to ensure that any rule using this property is wrapped by another rule that excludes anonymous users, such as "user:uid > 0".

system:session

System: Session - Every single session parameter and its value, if a value is present and a simple type (string, integer, boolean). Booleans are represented as integers; '1' as TRUE and '0' as FALSE.
Page Cache: Supported

system:time

System: Time - Current time formatted as H:i:s (example: 18:30:10)
Page Cache: Supported...
If you enable "Cron cleans up page cache" at admin/config/user-interface/themekey/settings and run your cron frequently enough. During the cron run ThemeKey deletes the page cache if necessary depending on your Theme Switching Rules.

system:user_agent

System: 'HTTP_USER_AGENT' - Contents of the User-Agent: header from the current request, if there is one. This is a string denoting the user agent which is accessing the page. A typical example is: Mozilla/4.5 [en] (X11; U; Linux 2.2.9 i586).
Page Cache: Unsupported!
If you enable page caching on your system, you have to ensure that any rule using this property is wrapped by another rule that excludes anonymous users, such as "user:uid > 0".

system:user_browser

Deprecated
Property system:user_browser is deprecated. Consider to use one of the new properties ThemeKey provides in combination with Browscap, Mobile Detect API, or Mobile Detect.

System: Browser - Information about user's browser. Possible values: 'Blazer [VERSION]', 'Internet Explorer [VERSION]', 'Internet Explorer Mobile [VERSION]', 'Mozilla Firefox [VERSION]', 'Netscape [VERSION]', 'Google Chrome [VERSION]', 'Safari [VERSION]', 'Galeon [VERSION]', 'Konqueror [VERSION]', 'Gecko based', 'Opera [VERSION]', 'Lynx [VERSION]', 'Fennec [VERSION]', 'Maemo [VERSION]', 'unknown'
Page Cache: Unsupported!
If you enable page caching on your system, you have to ensure that any rule using this property is wrapped by another rule that excludes anonymous users, such as "user:uid > 0".

system:user_browser_simplified

Deprecated
Property system:user_browser_simplified is deprecated. Consider to use one of the new properties ThemeKey provides in combination with Browscap, Mobile Detect API, or Mobile Detect.

System: Browser - Simplified information about user's browser. Possible values: 'Blazer', 'Internet Explorer', 'Internet Explorer Mobile', 'Mozilla Firefox', 'Netscape', 'Google Chrome', 'Safari', 'Galeon', 'Konqueror', 'Gecko based', 'Opera', 'Lynx', 'Fennec', 'Maemo', 'unknown'
Page Cache: Unsupported!
If you enable page caching on your system, you have to ensure that any rule using this property is wrapped by another rule that excludes anonymous users, such as "user:uid > 0".

system:user_os

Deprecated
Property system:user_os is deprecated. Consider to use one of the new properties ThemeKey provides in combination with Browscap, Mobile Detect API, or Mobile Detect.

System: Operating System - Information about user's browser. Possible values: 'Windows XP', 'Windows Vista', 'Windows 98', 'Windows 2000', 'Windows 2003 server', 'Windows NT', 'Windows ME', 'Windows CE', 'Windows ME', 'Windows Phone', 'iPhone', 'iPad', 'Mac OS X', 'Macintosh', 'Linux', 'Free BSD', 'Symbian', 'webOS', 'Android', 'Blackberry', 'unknown'
Page Cache: Unsupported!
If you enable page caching on your system, you have to ensure that any rule using this property is wrapped by another rule that excludes anonymous users, such as "user:uid > 0".

system:user_os_simplified

Deprecated
Property system:user_os_simplified is deprecated. Consider to use one of the new properties ThemeKey provides in combination with Browscap, Mobile Detect API, or Mobile Detect.

System: Operating System - Simplified information about user's browser. Possible values: 'Windows', 'Windows Phone', 'iPhone', 'iPad', 'Mac OS X', 'Macintosh', 'Linux', 'Free BSD', 'Symbian', 'webOS', 'Android', 'Blackberry', 'unknown'
Page Cache: Unsupported!
If you enable page caching on your system, you have to ensure that any rule using this property is wrapped by another rule that excludes anonymous users, such as "user:uid > 0".

taxonomy:name

Taxonomy: Name - The term name (name) of a taxonomy term without support for translations.
Page Cache: Supported

taxonomy:tid

Taxonomy: Term - The term id (tid) of a taxonomy term.
Page Cache: Supported

taxonomy:tid_and_childs
Taxonomy: Term and its childs - The term id (tid) of a taxonomy term. If set, all child terms of this term will be used too.
Page Cache: Unsupported!
If you enable page caching on your system, you have to ensure that any rule using this property is wrapped by another rule that excludes anonymous users, such as "user:uid > 0".

taxonomy:vid
Taxonomy: Vocabulary - The vocabulary id (vid) of a taxonomy vocabulary. See admin/structure/taxonomy for your vocabularies.
Page Cache: Supported

themekey_ui:author_triggers_theme
The property, themekey_ui:author_triggers_theme, could not be selected from the property drop down. You get this static property by activating Let the user select a theme that will be used to display all content she creates.. Afterwards, you can move the property to any position in the rule chain. When done, it triggers the switch to the theme the author selected in her user profile for own content, a contact form or blog pages.
Page Cache: Supported

themekey_ui:node_triggers_theme
The property, themekey_ui:node_triggers_theme, could not be selected from the property drop-down. You get this static property by activating Show theme option in create/edit node forms. Afterwards, you can move the property to any position in the rule chain. When done, it triggers the switch to the theme assigned to the current node using ThemeKey UI.
Page Cache: Supported

user:hostname
User: Hostname - The user hostname property which is the IP address of client machine, adjusted for reverse proxy. Text from Drupal bootstrap.inc: If Drupal is behind a reverse proxy, we use the X-Forwarded-For header instead of $_SERVER['REMOTE_ADDR'], which would be the IP address of the proxy server, and not the client's.
Page Cache: Unsupported!
If you enable page caching on your system, you have to ensure that any rule using this property is wrapped by another rule that excludes anonymous users, such as "user:uid > 0".

user:language
User: Language - The language the user has set in the settings of his profile page. Format is the language code (for example "en" for English or "de" for German) that can be found on admin/config/regional/language/overview.
Page Cache: Supported

user:name
User: Name - The username of the user. See admin/people/people for your users.
Page Cache: Supported

user:profile_triggers_theme
Property user:profile_triggers_theme could not be selected from the property drop down. You get this static property by activating Add theme option to user profile. Afterwards you can move the property to any position in the rule chain. When done it triggers the switch to the theme assigned to a user profile using ThemeKey User Profile if the current user has selected a theme in her profile.
Page Cache: Supported

user:role
User: Role - Defined user roles (examples: 'anonymous user', 'authenticated user')
Page Cache: Supported

user:uid
User: ID - The id of the user (uid). The user id can be found in the URL of the users profile page, "user/23" or "user/23/edit" (23 = uid). See admin/people/people for your users.
Page Cache: Supported

views:human_name
Views: Human Name - The (human readable) name of a view
Page Cache: Supported

views:machine_name
Views: Machine Name - The machine name of a view
Page Cache: Supported

views:vid
Views: VID - The vid of a view (vid)
Page Cache: Supported

Help improve this page

Page status: Not set

You can: