|
|
Seven message builtins reference the trackback inbound urls table of a message. A message may have any number of incoming trackbacks, therefore any number of rows in the table. The columns of the table are known as
Tables are represented in addedValues as row placeholder variables, in this case it is called trackback.inbound.urls, and may contain any number of rows. The values in the table can be displayed in a report using the foreach and endforeach qualifiers to delimit a loop over every row in a row placeholder table , for example in a message item detail report the following displays every incoming trackback as a link within an ul list
<ul>
the number of values can be determined also, using [[trackback.inbound.urls values]] or the pseudomacro forEachCount(trackback.inbound.url)
[[trackback.inbound.urls foreach]]
<li>{addedValueMacros.getLink(trackback.inbound.urls.weblogname, trackback.inbound.urls.url, whatTarget:trackback.inbound.urls.weblogname)}</li>
[[trackback.inbound.urls endforeach]]
</ul>
The alsoListedin message builtin may be indexed and be used in queries and forms. It keeps track of the messages that are categorised as stories and/or pictures. Indexing the value opens the possibility of improving upon Manilas story and picture page, using addedValues. See examples at http://www.addedValues.org/stories/storyReader$484 and http://www.addedValues.org/stories/storyReader$485
For Gems and member records, there's another different set of variables.