Difference between revisions of "Page Templates:Core Variables"

From Whirlwind eCommerce Wiki
Jump to: navigation, search
m (COMPONENTS)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
{{Page Template Managers Shortcuts}}
 
The following are the core fields available for coding in Page Template Management. Reference them directly using the variable name:
 
The following are the core fields available for coding in Page Template Management. Reference them directly using the variable name:
  
Line 103: Line 104:
  
 
==COMPONENTS==
 
==COMPONENTS==
*$component{id}Include : replace {id} with the include template's templateId automatically create when the include template was added in template management.
+
*$component{id}Template : 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
 
Note: components cannot be referred to from within other components

Latest revision as of 03:58, 9 December 2008

Page Template Managers

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}Template : 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