[TYPO3-UG Spain] Macina Search box y paso de argumentos

Nicolas Puente nicolas.puente at lgb-rlp.de
Wed Apr 2 09:36:24 CEST 2008


Carmen, yo lo tengo así, pero no uso TemplaVoilà

config {
    .... ....
    # Indexed Search activated (Activar el índice de búsquea)
    index_enable = 1
    no_cache = 0
    # Indexing external files such as html, pdf, word and text files
    # Bscar en archivos html, pdf, word y archivos de texto.
    index_externals = 1
    .... ....
}
.......... ................ ..................
plugin.tx_macinasearchbox_pi1 {
    pidSearchpage = 673
}
.... ..... ......
# suche.
plugin.tx_indexedsearch {
    # css-Styl für suche. (Estilos de búsqueda)
    #_CSS_DEFAULT_STYLE >
    # um die Such-Regel zu verstecken (esconder las instrucciones de 
búsqueda)
    show.rules >
    # Sprachen (idiomas)
    blind.lang=1
    # Webseite Bereich in dem gesucht werden soll (Parte de la página 
dónde se ha de buscar)
    blind.sections=1
    # Ergebniss in Section ('Resultados en la sección)
    blind.group=1
}
......... .............. ........
seite = PAGE
seite {
    ........... ..........
    10.marks {
        ....... .......... ........
        searchbox >
        searchbox < plugin.tx_macinasearchbox_pi1
       ........... .........
    }
}

# Formatear el formulario de búsqueda
tt_content.search.20 {
    layout.10 {
        value = Suchergebnisse von ###RANGELOW### bis ###RANGEHIGH### 
Insgesamt: ###TOTAL###
        fontTag >
        wrap = <td><div>|</div></td>
    }
    layout.20 {
        value = ###PREV###&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;###NEXT###
        wrap = <td><div>|</div></td>
    }
    renderObj.10 {
        textStyle >
        wrap = <div>|</div>
        #typolink.target = _self
    }
    renderObj.20 {
        stdWrap.textStyle >
        stdWrap.wrap = <tr><td><div> |</div></td></tr>
        stdWrap.crop = 200 | [Weiter]
    }
    noResultObj >
    noResultObj = TEXT
    noResultObj {
        value = Kein Suchergebniss
        wrap = <div>|</div>
    }
    next.value = Weiter
    prev.value = Zurück
    #target = _self
    range = 20
}

Espero ue te ayude.
Saludos.
Nicolás.





More information about the TYPO3-UG-spain mailing list