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

Antonio Huertas Ochoa ahuertas at motril.es
Wed Apr 2 09:51:06 CEST 2008


Hola Carmen, te pongo mi configuración, a ver si te ayuda...


#########################################

page.config.index_enable = 1
plugin.tx_indexedsearch.search.rootPidList = 1

lib.buscar < plugin.tx_macinasearchbox_pi1

lib.buscar {
	pidSearchpage = 6
	templateFile = fileadmin/templates/ext/macina/template_aa.htm
}

########################################


Saludos...

-----Mensaje original-----
De: typo3-ug-spain-bounces at lists.netfielders.de
[mailto:typo3-ug-spain-bounces at lists.netfielders.de]En nombre de Nicolas
Puente
Enviado el: miércoles, 02 de abril de 2008 9:36
Para: TYPO3 Usergroup Spain
Asunto: Re: [TYPO3-UG Spain] Macina Search box y paso de argumentos


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.



_______________________________________________
TYPO3-UG-spain mailing list
TYPO3-UG-spain at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-spain




More information about the TYPO3-UG-spain mailing list