Difference between revisions of "Page Templates:Core Variables"

From Whirlwind eCommerce Wiki
Jump to: navigation, search
(New page: The following are the core fields available for coding in Page Template Management. Reference them directly using the variable name: ==PAGE CONTENT== *$pageId *$printable *$printableURL *...)
(No difference)

Revision as of 13:10, 1 October 2008

The following are the core fields available for coding in Page Template Management. Reference them directly using the variable name:

PAGE CONTENT

  • $pageId
  • $printable
  • $printableURL
  • $sendPage2FriendURL
  • $sendPage2FriendJS
  • $message
  • $pageIsEditable
  • $pageEditLink

GLOBAL

  • $usePageAuthorization
  • $usePageBreadCrumb
  • $usePageNotice
  • $usePageSubTitle
  • $usePageLinkText
  • $usePageSummaryImageCaption
  • $date
  • $datemonth
  • $dateday
  • $dateyear
  • $date12hour
  • $date24hour
  • $dateminute
  • $datemonthName
  • $datedayName
  • $dateampm

CONTENT

  • $language : depriciated
  • $languageIndex : depriciated
  • $languageQueryString : depriciated
  • $title
  • $subTitle
  • $notice
  • $breadCrumb
  • $copy
  • $summary
  • $custom_field_fieldName : any custom fields created within this template will be accessible by calling "$custom_field_fieldName" where "fieldName" is replace by the custom field Field Name.

PUBLISHER

  • $usePagePublisher
  • $publisher
  • $authorId
  • $author_firstName
  • $author_lastName
  • $author_userImage
  • $author_emailAddress
  • $author_custom_field_fieldName : any custom fields created for users in administration settings will be accessible by calling "$author_custom_field_fieldName" where "fieldName" is replace by the custom field Field Name.
  • $publishDate
  • $publishDatemonth
  • $publishDateday
  • $publishDateyear
  • $publishDate12hour
  • $publishDate24hour
  • $publishDateminute
  • $publishDatemonthName
  • $publishDatedayName

META

  • $metaTitle
  • $metaDescription
  • $metaKeywords

SITE SETTING

  • $siteUrl
  • $securedSiteUrl
  • $physicalRoot
  • $virtualRoot

USER/ACCESS

Information about the current user logged in

  • $userFirstName
  • $userLastName
  • $userEmailAddress
  • $userHandle

$userIsPosting $isSystemManager $isLoggedIn

User Shortcut forms

  • $userEZLoginForm1
  • $userEZPostForm1
  • $userEZPostForm2

User related access variables

  • $loginURL
  • $logoutURL
  • $userAccountURL
  • $userCreateAccountURL
  • $systemManageURL
  • $userCreateAccountLink
  • $userEditAccountLink
  • $authorizeUserFailureLocation
  • $defaultLoginSuccessLocation
  • $defaultLoginFailureLocation
  • $defaultLogoutLocation

BANNERS

  • $zone{id}Banner : replace {id} with the zoneId automatically created when the zone was added in banner administration

COMPONENTS

  • $component{id}Include : replace {id} with the include template's templateId automatically create when the include template was added in template management.

Note: components cannot be referred to from within other components