Search:
tqExpert Help
print
|
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

contentTalkBacks

The contentTalkBacks tqTag enables talk-back on a content Web page.

contentTalkBacks - Syntax

<tqtag name="talkbacks0type="contentTalkBacksmaxItems="999" >
...
</tqtag>

contentTalkBacks - Parameters

Parameter Name Type Mandatory Strict | Transitional Case Sensitive Description
type Text + S + must be contentTalkBacks
name Text + S + should be unique tqtag name in the template. no spaces/commas/single quote/double quotes allowed
maxItems Number - S   The max number of talkbacks to display in a page
 

contentTalkBacks - Local Variables

Name Type Size Description
content text 65535 Talkback content
counter number 6 Running number from 1 to n represent the number of the talk back in the retrieved list of talkbacks.
highlighted text 3 on or off 
highlightTalkBack text ~50 Url link to mark talkback as highlighted
ipAddress text 12 IP Address of responder
itemID number 8 The talkback's item id (the item id the talkback was written for)
numHighlighted number 6 number of times talkback highlighted
pendingHighlight text 3 on or off
rating number 2 The score the user provided to the content as part of his talkback.
responderID number 12 The user who wrote the talkback.
In case the user (surfer) logged-in before providing a talkback the system audits his userID as part of the talkback.
talkBackAddDate datetime   The datetime the talkback was created or last modified. can be formated using 2009-01-09 10:27:15df:[format]!
title text 150 Talkback title
violation number 1 1 or 0 - 0 means ok. 1 means violated. not functioning yet
rejected text 3 on or off
violation number 1 1 or 0 - 0 means ok. 1 means violated. not functioning yet
writer text 100 The name the user who wrote the talkback provided - free text (not taken from the tqAdmin or customer lists)

contentTalkBacks - Examples

Example 1 -basic use of contentTalkBacks tqtag
<tqtag name="content0type="contentpageMainContent >
    <tqtag name="talkbacks0type="contentTalkBacksmaxItems="999" >
        <li>
            <a href="#">@counter@. @title@</a> by: @writer@ <span>(published: @addDate@df:%H:%i, %d.%m.%Y!)</span>
            <div>@content@</div>
        </li>
    </tqtag>

</tqtag>

contentTalkbacks - tqOptions

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

User Notes

  Add Note

Topic: contentTalkBacks