Search:
tqExpert Help
print
|
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

authorsList

The authorsList tqTag provides a list of site tqAdmins.  You can use it with the pageSearchResults parameter of the content tqTag.

authorsList - Syntax

<tqtag name="authorListtype="authorsListtitle="select distinct list of authors" maxItems="50" >
...
</tqtag>

authorsList - Parameters

Parameter Name Type Mandatory Strict | Transitional Case Sensitive Description
type Text + S + must be authorsList
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
alternativeTag Text + S + Specify a case declared within the alternative tqTag.
alternativeCondition Text + S + (optional, if the condition is specified within the alternative tqTag) Indicate a condition for the case that you are specifying. Use one of the values described for this field under alternative.
maxItems Number - S   The max number of authors to display in a page
 

authorsList - Local Variables

Name Type Size Description
addDate datetime   The datetime the section was created or last modified. can be formated using 2009-01-09 09:04:58df:[format]!
counter int 5 Running number from 1 to n represent the place of the author in the retrieved authors list (e.g. 4th author in the retrieved list of authors will have the number 4)
email text 100 Author email address
fName text 400 Author first name
id int 8 Author database id
lName text 20 Author last Name

authorsList - Examples

Example 1 - use of authorsList
Choose Writer:
<tqtag name="authorListtype="authorsListmaxItems="50title="select distinct list of authors" >
<option value="@id@">@fName@ @lName@</option>
</tqtag>


Example 2 - use of authorsList with tqoption head and tqoption tail
<tqtag name="authorListtype="authorsListmaxItems="50title="select distinct list of authors" >
<tqoption type="head" alternative0="">{!<div class="searchTitle">Choose Writer:</div><select name="searchAdminID" id="searchAdminID"><option value="">All</option>!}0</tqoption>
<option value="@id@">@fName@ @lName@</option>
<tqoption type="tail" alternative0="">{!</select>!}0</tqoption>
</tqtag>

authorsList - tqOptions

Within the authorsList tqtag you can use the following tqoptions: head, if, lastItemInRow, tail.
 

authorsList - 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: authorsList