Template: Kopf- und Fußbereich
<DIV style="FLOAT: left; WIDTH: 160px">
Pages: [TotalPages] - Items: [TotalResults] //
</DIV>
<DIV style="FLOAT: left; WIDTH: 100px">
<SPAN [mvif:IsFirstPage:eq:False]>
<A href="[FirstPageLink]">
<IMG src="portaldata/1/images/arrow-double-left.gif">
first page
</A></SPAN> </DIV>
<DIV style="FLOAT: left; WIDTH: 120px">
<SPAN [mvif:IsFirstPage:eq:False]>
<A href="[PreviousPageLink]">
<IMG src="portaldata/1/images/arrow-double-left.gif">
previous page
</A></SPAN></DIV>
<DIV style="FLOAT: left; WIDTH: 50px">
<B>|| [CurrentPage] || </B>
</DIV>
<DIV style="FLOAT: left; WIDTH: 100px">
<SPAN [mvif:IsLastPage:eq:False]>
<A href="[NextPageLink]">
next page
<IMG src="portaldata/1/images/arrow-double-right.gif">
</A></SPAN></DIV>
Template: Ergebnis
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD style="BORDER-RIGHT: #d7d5c7 1px solid; WIDTH: 24px; BORDER-BOTTOM: #d7d5c7 1px solid"><IMG class=noborder height=1 alt="" src="images/1x1.gif" width=1 border=0></TD>
<TD style="BORDER-BOTTOM: #d7d5c7 1px solid" vAlign=top>
<DIV style="MARGIN-TOP: 10px; MARGIN-LEFT: 8px; MARGIN-RIGHT: 20px">
<A class=xxl-ntl href="[Path]">[Title]</A><BR>[HitHighlightedSummary]
<DIV align=right><A href="[Path]">more </A><br><br></DIV>
</DIV>
</TD></TR></TBODY></TABLE>
Template: Basis (Suchformular)
<SCRIPT language="vb" runat="server">
Sub Page_load()
searchexpressplugin_query.Attributes.Add("onkeypress", "mykeyhandler('" & searchexpressplugin_search.ClientID & "')")
End Sub
</SCRIPT>
<SCRIPT type="text/javascript">
function mykeyhandler(sender) {
if (window.event.keyCode == 13) {
mysender = sender;
event.returnValue=false;
try {
document.getElementById(sender).click();
} catch(e) {}
}
}
</SCRIPT>
[tb:searchexpressplugin_query:] [bnsearch:searchexpressplugin_search:text="Search"]
Die Textbox zur Eingabe des Suchbegriffs muss die ID "searchexpressplugin_query" tragen., der Such-Button (bnsearch) die ID "searchexpressplugin_search". Ein normaler Button (bn, lbn, ibn) kann ebenso verwendet werden, wenn man das Attribut CommandName="search" hinzufügt. Das Formular kann durch Drücken der Eingabetaste abgeschickt werden.