News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

anexar buscador con codigo html.

Started by jeisy, October 12, 2009, 09:06:55 PM

Previous topic - Next topic

jeisy

Es posible anexar un buscador en la cabezera del foro asi como el que tiene esta web, es mas raido y accesible que darle a un boton de buscar.



Si con codigo o un mod . Gracias

Usos smf 1.1.10 y tinyportal 0.98

kingworld

si queres el buscador de el foro te aconsejo agregarlo con SSI, para ver ejemplos de SSI entra aca:
http://pruevasphpsmf2.260mb.com/ssi_examples.php si queres un buscador como el de google busca en la seccion MOD hay hay uno muy bueno

SMF 1.1.10 user
Preguntas Frecuentes:SMF FAQ
MIS MODS
Hosting gratis - host free
SMF is the king of the world

mafia7


jeisy

Quote from: kingworld on October 12, 2009, 09:10:35 PM
si queres el buscador de el foro te aconsejo agregarlo con SSI, para ver ejemplos de SSI entra aca:
http://pruevasphpsmf2.260mb.com/ssi_examples.php si queres un buscador como el de google busca en la seccion MOD hay hay uno muy bueno


Cual es mas recomendable?

kingworld

en mi opinion el de el foro para que la jente busque exclusivamente resultados en tu foro, encambio el de google no me conforma mucho

SMF 1.1.10 user
Preguntas Frecuentes:SMF FAQ
MIS MODS
Hosting gratis - host free
SMF is the king of the world

rjckE

Que Theme usas? El theme por defecto ya trae un botón de busqueda de esa manera. Me suena a que utilizas un theme que no trae esa busqueda y hace falta cambiar la cabecera

saludos

jeisy

si hay muchos temas que ya lo traen npor defecto pero otros no y causalmente uso uno que no lo anexa.

Habra un tuto en español de como hacer esto?

kingworld


SMF 1.1.10 user
Preguntas Frecuentes:SMF FAQ
MIS MODS
Hosting gratis - host free
SMF is the king of the world

jeisy


mirahalo

como complemento, este es el codigo que se utiliza para el buscador:

echo '
<td class="titlebg2" align="right" nowrap="nowrap" valign="top">
<form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0;">
<a href="', $scripturl, '?action=search;advanced"><img src="'.$settings['images_url'].'/filter.gif" align="middle" style="margin: 0 1ex;" alt="" /></a>
<input type="text" name="search" value="" style="width: 190px;" />&nbsp;
<input type="submit" name="submit" value="', $txt[182], '" style="width: 11ex;" />
<input type="hidden" name="advanced" value="0" />';


que theme usas?  adjunta tu archivo index.template.php para poder ver la manera de incluir el buscador.


saludos!

Advertisement: