Search:
tqExpert Help
print
|
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

picTalkBacks

The picTalkBacks tqTag enables talk-backs for pictures.

picTalkBacks - Syntax

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

picTalkBacks - Parameters

Parameter Name Type Mandatory Strict | Transitional Case Sensitive Description
type Text + S + must be picTalkBacks
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
 

picTalkBacks - Local Variables

Name Type Size Description
addDate datetime   The datetime the talkback was created or last modified. can be formated using 2009-01-09 15:04:06df:[format]!
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
picID number 8 The talkback's item id (the item id the talkback was written for)
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
title text 150 Talkback title
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 ezadmin3 users or customers)

picTalkBacks - Examples

Example 1 - basic use of picTalkBacks (please note: picTalkBacks must be inside pic tqtqag)
<tqtag name="pic0type="picmaxItems="1" >
    <ul id="hideHold">
    <tqtag name="talkbacks0type="picTalkBacksmaxItems="999" >
        <li><a href="#">@counter@. @title@</a> Writer: @writer@ <span>(Date: @addDate@df:%H:%i, %d.%m.%Y!)</span><div>@content@</div></li>
    </tqtag>

    </ul>
</tqtag>

picTalkBacks - tqOptions

With the picTalkBacks tqtag, you can use the following tqoptions: head, if, lastItemInRow, tail.

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