URLs, aliases, Menus and Taxonomy
Printer-friendly version
Aliases
Use -raw replacements for text to avoid problems with HTML entities.
- [book]
- The title of the node's book parent.
- [book_id]
- The id of the node's book parent.
- [bookpath]
- The titles of all parents in the node's book hierarchy.
- [book-raw]
- The unfiltered title of the node's book parent. WARNING - raw user input.
- [bookpath-raw]
- The unfiltered titles of all parents in the node's book hierarchy. WARNING - raw user input.
- [nid]
- Node ID
- [type]
- Node type
- [type-name]
- Node type (user-friendly version)
- [language]
- Node language
- [title]
- Node title
- [title-raw]
- Unfiltered node title. WARNING - raw user input.
- [author-uid]
- Node author's user id
- [author-name]
- Node author's user name
- [author-name-raw]
- Node author's user name. WARNING - raw user input.
- [author-mail]
- Node author's e-mail.
- [author-mail-raw]
- Node author's e-mail. WARNING - raw user input.
- [term]
- Name of top taxonomy term
- [term-raw]
- Unfiltered name of top taxonomy term. WARNING - raw user input.
- [term-id]
- ID of top taxonomy term
- [vocab]
- Name of top term's vocabulary
- [vocab-raw]
- Unfiltered name of top term's vocabulary. WARNING - raw user input.
- [vocab-id]
- ID of top term's vocabulary
- [yyyy]
- Node creation year (four digit)
- [yy]
- Node creation year (two digit)
- [month]
- Node creation month (full word)
- [mon]
- Node creation month (abbreviated)
- [mm]
- Node creation month (two digit, zero padded)
- [m]
- Node creation month (one or two digit)
- [ww]
- Node creation week (two digit)
- [date]
- Node creation date (day of month)
- [day]
- Node creation day (full word)
- [ddd]
- Node creation day (abbreviation)
- [dd]
- Node creation day (two digit, zero-padded)
- [d]
- Node creation day (one or two digit)
- [mod-????]
- All tokens for node creation dates can also be used with with the "mod-" prefix; doing so will use the modification date rather than the creation date.
- [menu]
- The name of the menu the node belongs to.
- [menu-raw]
- The name of the menu the node belongs to. WARNING - raw user input.
- [menupath]
- The menu path (as reflected in the breadcrumb), not including Home or [menu]. Separated by /.
- [menupath-raw]
- The unfiltered menu path (as reflected in the breadcrumb), not including Home or [menu]. Separated by /. WARNING - raw user input.
- [menu-link-title]
- The text used in the menu as link text for this item.
- [menu-link-title-raw]
- The unfiltered text used in the menu as link text for this item. WARNING - raw user input.
- [save-lineage-termpath]
- Only use when you have enabled the "save lineage" setting of Hierarchical Select. Will show the term's parent terms separated by /.
- [save-lineage-termpath-raw]
- As [save-linage-termpath]. WARNING - raw user input.
- [save-lineage-termpath:vid]
- Only has output when terms are present for the vocabulary with the specified vid. Only use when you have enabled the "save lineage" setting of Hierarchical Select. Will show the term's parent terms separated by /.
- [save-lineage-termpath-raw:vid]
- Only has output when terms are present for the vocabulary with the specified vid. As [save-linage-termpath]. WARNING - raw user input.
- [parent-node-gallery-path]
- The path of the parent Gallery.
- [parent-node-gallery-path-raw]
- Unfiltered path of the parent Gallery. WARNING - raw user input.
- [parent-node-gallery-title]
- The title of the parent Gallery.
- [parent-node-gallery-title-raw]
- Unfiltered title of the parent Gallery. WARNING - raw user input.
- [termpath]
- As [term], but including its supercategories separated by /.
- [termpath-raw]
- As [term-raw], but including its supercategories separated by /. WARNING - raw user input.
- [termalias]
- URL alias for the term.
- [bookpathalias]
- URL alias for the parent book.
- [field_noderef-nid]
- Referenced node ID
- [field_noderef-title]
- Referenced node title
- [field_noderef-title-raw]
- Referenced node unfiltered title. WARNING - raw user input.
- [field_noderef-link]
- Formatted html link to the referenced node.
- [field_noderef-path]
- Relative path alias to the referenced node.
- [field_noderef-url]
- Absolute path alias to the referenced node.
- [field_imagefield-filefield-fid]
- File ID
- [field_imagefield-filefield-description]
- File description
- [field_imagefield-filefield-filename]
- File name
- [field_imagefield-filefield-filepath]
- File path
- [field_imagefield-filefield-filemime]
- File MIME type
- [field_imagefield-filefield-filesize]
- File size (in bytes)
- [field_imagefield-filefield-filesize_formatted]
- File size (pretty printed)
- [field_imagefield-filefield-view]
- Fully formatted HTML file tag
- [field_imagefield-filefield-onlyname]
- File name without extension
- [field_imagefield-filefield-extension]
- File extension
