<se:sqlquery save="siblingsdata" resulttype="datatable">
<se:parameters>
<se:parameter name="sql">select nr, title from {channel.view()} where parent={itemdata.parent()}</se:parameter>
</se:parameters>
</se:sqlquery>
<se:siblings>
<se:parameters>
<se:parameter name="displayfirst"> <b><<</b> </se:parameter>
<se:parameter name="displaylast"> <b>>></b> </se:parameter>
<se:parameter name="displaynext"> <b>></b> </se:parameter>
<se:parameter name="displayback"> <b><</b> </se:parameter>
<se:parameter name="siblingorder">first,back,next,last</se:parameter>
<se:parameter name="inputdata">siblingsdata</se:parameter>
<se:parameter name="currentkey">{itemdata.number()}</se:parameter>
<se:parameter name="format">
<se:rowformat>
<a href="{channel.link(this.field(nr))}" title="{this.field(title)}">{this.field(display)}</a>
</se:rowformat>
<se:captionformat expression="this.rownr()==3">
{this.currentindex()} / {this.siblingcount()}
</se:captionformat>
</se:parameter>
</se:parameters>
</se:siblings>
|