Search:
tqExpert Help
print
|
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

tail

Pre-Requirements knowledge: tqtags that retrieve more then one value like content tqtag, album tqtag or productList tqtag

Description: tqoption tail process some html or write text only in the last item that runs inside tqtag with more then one rows returned
This tqoption is used inside any tqtag that returns  more then one value.

example:
<tqoption type="tail" alternative0="This text will run in all items except the last" >{!
    This text will appear only in the last item.
!}0</tqoption>

And this is a more useful example:
<tqtag type="contentname="contentExampleFortqOptionTailtitle="my contetnteitemsmaxItems="10dynamicGrow >
    <tqoption type="headalternative0="" >{!Please select item: <select name="myContentItemsSelect">!}0</tqoption>
    <option value="@id@">@title@</option>
    <tqoption type="tailalternative0="" >{!</select>!}0</tqoption>
</tqtag>

User Notes

  Add Note

Topic: tail