Saltar al cotenido Saltar a la navegación Información de contacto

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Indexed Search Engine example template</title>
</head>
<body>

<h1>INDEXED SEARCH ENGINE TEMPLATES</h1>
<h2>EXAMPLE</h2>
<pre>
<strong>Common markers:</strong>
These are substituted in all indexed search engine templates:

<em>Markers:</em>
SEARCHFORM
RULES
HITS
SWORD
SWORD_PREV
SWPCHECKED
TYPE
DEFOP
MEDIA
LANG
SECTION
ORDER
DESC
RESULTS
GROUP
EXTENDEDRESUME
ADVANCEDSEARCH
SHOWRESULTCOUNT
PREVIOUS
MIDDLE
NEXT
BROWSEBOX1
WHATISSEARCHEDFOR
HITS
BROWSEBOX2
NORESULTS
ICON
RESULTNUMBER
TITLE
RATING
DESCRIPTION
SIZE
CREATED
MODIFIED
ACCESS
LANGUAGE
PATH
DESCRIPTION
SUBROW
EXT
SECHEADANCHOR
SECHEADTITLE
SECHEADCOUNTER
SECTIONLINK

<em>Stylesheets Markers (see sysext/index_search/pi/locallang.xml):</em>
SUBMITSTYLE
SWORDSTYLE
TPARAMS
WHATISSTYLE
LISTSTYLE
PBSTYLE
TITLESTYLE
ICONSTYLE
TCAPTIONSTYLE
PERCENTSTYLE
INFOSTYLE
STYLEDESCRIPTION
INFOSTYLE2
STYLESECHEAD
STYLESECLINKS
TPARAMSSECHEAD

<em>Language Markers (see sysext/index_search/ext_typoscript_setup.txt):</em>
LSEARCHFOR
LADDTOCURRENTSEARCH
LSUBMIT
LFORMMATCH
LSEARCHIN
LFROMSECTION
LORDERBY
LFORMSTYLE
LOTHERMATCHING

</pre>

<h3>TEMPLATE_MAIN</h3>
<em>This subpart is used to display the main page (i.e. default search form + rules + hits + pagebrowser)</em>
<!-- ###MAIN### begin -->
###HITS###
<!-- ###MAIN### end -->

<h3>TEMPLATE_DEFAULTSEARCH</h3>
<em>This subpart is used to display the default search form</em>
<!-- ###DEFAULTSEARCH### begin -->
<!-- DEFAULTSEARCH begin -->
<div ###SEARCHBOXSTYLE###>
<form action="###FORM###" method="post" name="tx_indexedsearch" style="margin: 0 0 0 0;">
<table ###TPARAMS###>
<tr>
<td nowrap="nowrap"><p>###LSEARCHFOR###&nbsp;</p></td>
<td><input type="text" name="tx_indexedsearch[sword]" value="###SWORD###" ###SWORDSTYLE###>&nbsp;&nbsp;<input type="submit" name="tx_indexedsearch[submit_button]" value="###LSUBMIT###" ###SUBMITSTYLE###></td>
</tr>
<tr>
<td></td>
<td>
<input type="hidden" name="tx_indexedsearch[sword_prev]" value="###SWORD_PREV###">
<input type="checkbox" name="tx_indexedsearch[sword_prev_include] value="1" ###SWPCHECKED###>
###LADDTOCURRENTSEARCH###
</td>
</tr>

<!--###MATCH### begin-->
<tr>
<td nowrap="nowrap"><p>###LFORMMATCH###&nbsp;</p></td><td>###TYPE### ###DEFOP###</td>
</tr>
<!--###MATCH### end-->
<!--###SEARCHIN### begin-->
<tr>
<td nowrap="nowrap"><p>###LSEARCHIN###&nbsp;</p></td><td>###MEDIA### ###LANG###</td>
</tr>
<!--###SEARCHIN### end-->
<!--###FROMSECTION### begin-->
<tr>
<td nowrap="nowrap"><p>###LFROMSECTION###&nbsp;</p></td><td>###SECTION###</td>
</tr>
<!--###FROMSECTION### end-->
<!--###ORDERBY### begin-->
<tr>
<td nowrap="nowrap"><p>###LORDERBY###&nbsp;</p></td><td><p>###ORDER### ###DESC### ###RESULTS###</p></td>
</tr>
<!--###ORDERBY### end-->
<!--###STYLE### begin-->
<tr>
<td nowrap="nowrap"><p>###LFORMSTYLE###&nbsp;</p></td><td><p>###GROUP### ###EXTENDEDRESUME###</p></td>
</tr>
<!--###STYLE### end-->

<input type="hidden" name="tx_indexedsearch[_sections]" value="0">
<input type="hidden" name="tx_indexedsearch[pointer]" value="0">
<input type="hidden" name="tx_indexedsearch[ext]" value="###EXT###">
</table>
</form>
<p>
###ADVANCEDSEARCH###
</p>
</div>
<!-- DEFAULTSEARCH end -->
<!-- ###DEFAULTSEARCH### end -->

<h3>TEMPLATE_PAGEBROWSER</h3>
This subpart is used to display the pagebrowser
<!-- ###PAGEBROWSER### begin -->
<!-- PAGEBROWSER begin -->
<div class="paginacion2">
###PREVIOUS###
<!--###CONTENT###-->
<!--###LIST_ITEM###-->
###MIDDLE###
<!--###LIST_ITEM###-->
<!--###CONTENT###-->
###NEXT###
</div>
<!-- PAGEBROWSER end -->
<!-- ###PAGEBROWSER### end -->

<h3>TEMPLATE_GETDISPLAYRESULTS</h3>
<em>This subpart is used to display the getDisplayResults (i.e search-hits plus pagebrowser).</em>
<!-- ###GETDISPLAYRESULTS### begin -->
<!-- GETDISPLAYRESULTS begin -->
<div ###WHATISSTYLE###><p>###WHATISSEARCHEDFOR###</p></div>
<ul class="resultados">
###HITS###
</ul>
###BROWSEBOX2###
<!--###NORESULTS### begin-->
###NORESULTS###
<!--###NORESULTS### end-->

<!-- GETDISPLAYRESULTS end -->
<!-- ###GETDISPLAYRESULTS### end -->


<h3>TEMPLATE_PRINTRESULTROW</h3>
<em>This subpart is used to display the printResultRow (i.e single search-hit row).</em>
<!-- ###PRINTRESULTROW### begin -->
<!-- PRINTRESULTROW begin -->

<li class="resultado">
<strong>###TITLE###</strong><br />
<div class="resultado_titulo_busqueda">
###DESCRIPTION###
</div>
<div class="fin_resultado">
<hr class="hr_resultado" />
</div>
</li>
<!-- PRINTRESULTROW end -->
<!-- ###PRINTRESULTROW### end -->

<h3>TEMPLATE_SECTIONHEADER</h3>
<em>This subpart is used to display the SectionHeader.</em>
<!-- ###SECTIONHEADER### begin -->

<!-- ###SECTIONHEADER### end -->


<h3>TEMPLATE_SECTIONSLINKS</h3>
<em>This subpart is used to display the printResultSectionLinks.</em>
<!-- ###SECTIONSLINKS### begin -->
<!-- SECTIONSLINKS begin -->
<div ###STYLESECLINKS###>
<ul>
<!--###CONTENT###-->
<!--###LIST_ITEM###-->
<li>###SECTIONLINK###</li>
<!--###LIST_ITEM###-->
<!--###CONTENT###-->
</ul>
</div>
<!-- SECTIONSLINKS end -->
<!-- ###SECTIONSLINKS### end -->

</body>
</html>