tqExpert Help


The globals tqTag enables the tqExpert to enter a list of site-wide variables into an outer template.  tqAdmins (with suitable permissions) can change the variable value as needed.  You can use this feature for company, product, and role names.  You can also use it to support translation of text hard-coded into templates.

globals - Syntax

<tqtag name="globals0type="globalstitle="just regular globals" global_name[{r}]="global_value" [global_name="global_value"] [global_name="global_value"] ></tqtag>

globals - Parameters

Parameter Name Type Mandatory Strict | Transitional Case Sensitive Description
type Text + S + must be globals
name Text + S + should be unique tqtag name in the template. no spaces/commas/single quote/double quotes allowed
title Alpha Numeric + S - The title of the tqtag. This title will be presented only at the back-end system.  no spaces/commas/single quote/double quotes allowed
globalName="title" Text - S  + Represents the name and description of the global to be used later in the template.
globalName must be text only (no spaces/commas/single quote/double quotes allowed).
Incase a global should hold the url to another page on your website, it should be declared with {r} in order to ease the selection of the target page (e.g shoppingCartPage{r}="Please select your shopping cart section" )

This parameters can be used as many times as needed with space delimiter between them.

globals - Local Variables

irrelevant for this tqtag

globals - Examples

Example 1 - regular globals
<tqtag name="globals0type="globalstitle="just regular globals" globalName="globalCaption" global2Name="global2Caption"></tqtag>

Example 2 - globals tqtag with r{}
<tqtag name="globals1type="globalstitle="a bit more complex globals"  picurl{r}="url to a pic probable" videourl{r}="url of gallery Videos"></tqtag>

globals - tqOptions

There are no tqoptions available for this tqtag.

globals - Templates

The templates below implement this tqTag. After you click a link, use your browser commands to view the page source.

User Notes

  Add Note

Topic: globals