Search:
tqExpert Help
print
|
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Implement Site Variables

tqTag Web Suite supports a feature called Site Variables, which the tqExpert creates (in the outer template, using the globals tqTag) and for which tqAdmins (with suitable permissions) assign and change values.  Both tqExperts (in templates) and tqAdmins (in Website content) can use Site Variables. In templates, the following are reasons for a tqExpert to use Site Variables rather than hard-coding text:
  • To support multi-lingual Websites based on shared templates
  • To enable modification of template display-content after a template is published
  • To enable modification of Website contact information, such as email addresses, phone numbers, and so forth
  • To enable modification of template-based hyperlinks
  • To enable modification of alerts, search prompts and responses, and other text displayed to site visitors
The following are reasons for a tqAdmin to ask the tqExpert to create additional Site Variables:
  • For standardization and accuracy (and efficient support for changes) in company, product, and role names
  • For centralized management of external hyperlinks
  • For dynamic links within Website versions
  • For support of consistent phrasing in technical documentation

Use this procedure to implement Site Variables.

To implement Site Variables

  1. In the outer template, implement one or more globals tqTags.
    NOTE: The title parameter specifies the text displayed on a Site Manager transparent-menu command button, under Globals.
  2. Make sure that you registered the template in tqTag Dashboard, as described in Register Templates.
  3. Make sure that the updated version of the template is uploaded to the Website server, as described in Upload Templates and Related Files.

Example - Implement Site Variables

(from http://tqtag.com/templates/t910/template.html)

<tqtag type="globals" name="globals0" title="Variables" cn="Company Name" fapformal="Franchiser application (formal)" fapl="Franchiser application (long)"  faps="Franchiser application (short)" uapformal="User application (formal)"  uapl="User application (long)" uaps="User application (short)" fr="Franchiser role"   ur="User role" usr="User super-role"  fdformal="Franchiser document (formal)"   fdl="Franchiser document (long)" fds="Franchiser document (short)" udformal="User document (formal)"  udl="User document (long)" uds="User document (short)"   furl="Franchiser-application URL" fusys="Franchiser-user system" ver="Version"  date="Release Date" ftpurl="FTP Host"   DNS1="Nameserver1" DNS2="Nameserver2" SiteManPath="Site Manager Path"   tqhelp="tqTag Reference" virtLink="Virtual Link"  othreltqopt="Other tqOptions" templates_tqoption="The following templates implement this tqOption" templates_tqtag="The following templates implement this tqTag" ></tqtag>
<tqtag type="globals" name="globals1" title="translation" note="Note header" warn="Warning header" supporting="Before applications supported" reltop="Related Topics header"  syn="Syntax header (concatenated with the tqTag / tqOption name)" par="Parameters (concatenated with the tqTag / tqOption name)" examp="Examples header (concatenated with the tqTag / tqOption name)" locvar="Local Variables (concatenated with the tqTag / tqOption name)" reltqopt="Related tqOptions" usenotes="User Notes" topic="Topic" addNote="Add Note" noresults="no search results text"></tqtag>
<tqtag type="globals" name="searchLink" title="searc section number" searchLink="searc section number"></tqtag>

Where to Go From Here

User Notes

  Add Note

Topic: Implement Site Variables