Tokens Reference in Contact Information HTML Template

20/20 DataShed uses "tokens" inside the Contact Information HTML template to embed dynamic content into the otherwise static markup that you create.

This template is located at "templates/contactinfo_template.html" and is used in the following files to produce the contact information and other account information associated with a user.

As the template is processed and data is drawn from the database or other resources to be displayed in a web page, the tokens are processed by the WritePeopleDetails() function located in _globals.asp and the tokens are replaced by dynamic values. Below is a complete list of the tokens supported by the WritePeopleDetails() function that you may use in the contactinfo_template.html file:

[fieldAddress:]
[fieldBirthDate:]
[fieldCity:]
[fieldCompanyName:]
[fieldCounty:]
[fieldCountry:]
[fieldDateSignedUp:]
[fieldDateLastLoggedIn:]
[fieldDateLastModified:]
[fieldEmail:]
[fieldFaxPhone:]
[fieldFirstName:]
[fieldLastName:]
[fieldLoginCount:]
[fieldNotes:]
[fieldPeopleID:]
[fieldPeopleUserDefinedText1:]
[fieldPeopleUserDefinedText2:]
[fieldPhone:]
[fieldPostalCode:]
[fieldProvince:]
[fieldSecondaryPhone:]
[fieldTitle:]
[fieldURL:]
[ParentCompanyAddress:]
[ParentCompanyBirthDate:]
[ParentCompanyCity:]
[ParentCompanyCompanyName:]
[ParentCompanyCounty:]
[ParentCompanyCountry:]
[ParentCompanyDateLastLoggedIn:]
[ParentCompanyDateLastModified:]
[ParentCompanyDateSignedUp:]
[ParentCompanyEmail:]
[ParentCompanyFaxPhone:]
[ParentCompanyFirstName:]
[ParentCompanyLastName:]
[ParentCompanyLoginCount:]
[ParentCompanyNotes:]
[ParentCompanyPeopleID:]
[ParentCompanyPeopleUserDefinedText1:]
[ParentCompanyPeopleUserDefinedText2:]
[ParentCompanyPhone:]
[ParentCompanyPhoto:]
[ParentCompanyPostalCode:]
[ParentCompanyProvince:]
[ParentCompanySecondaryPhone:]
[ParentCompanyTitle:]
[ParentCompanyURL:]
[UserPhoto:]
[UserItems:]

Related topics


© 2005 - 2007 20/20 Applications. All rights reserved.