Pouvez vous m'aider a installer un moteur de recherche svp.

Répondre


Cette question est un moyen d’empêcher des soumissions automatisées de formulaires par des robots.
Smileys
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: =D> #-o =P~ :^o :non: :priere: 8-|
Voir plus de smileys
  Revue du sujet
 

  Étendre la vue Revue du sujet : Pouvez vous m'aider a installer un moteur de recherche svp.

Re: Pouvez vous m'aider a installer un moteur de recherche s

par heddicmi » 21 avr. 2005, 10:02

Qu'est-ce que tu ne saisies pas ?
Tu as 4 parties à insérer apparement... La 3ème étant celle qui correspond physiquement à au moteur si j'ai bien suivi... Donc c'est celle-ci que tu dois mettre à l'emplacement réservé... Je ne saisie pas trop la 1ère... La 2nde, tu peux la mettre n'importe où, mais bon, dans le head de ta page c'est mieux... Et la dernière bin c'est du php...

Code : Tout sélectionner

Static HTML (Recommended for sending in E-mails) <!-- Start of Site Search Pro code --><input name="q" type="text" id="q" value="" maxlength="255" size="40"><select name="g" id="g" class=sp2_i_select><option value="0" selected>All groups</option><option value="1">www.mysite.com</option></select> <br /><a class="sp2_advanced" href="http://www.mysite/search/advanced_search.php?q=&g=0">Advanced search</a> <!-- End of Site Search Pro code --> DESCRIPTION: Insert this code to any place in your HTML page. Static HTML mostly used for newsletter messages.

Code : Tout sélectionner

Java Script installation code (Recommended) <!-- Start of Site Search Pro code --> <script language="JavaScript"><!-- var remoteURL = 'http://www.mysite.com'; var sURL = remoteURL +'/search/form.php?mode=js&s=1&t=1'; document.write('<script language="JavaScript"' + 'src="' + sURL + '"><\/script>'); //--></script> <!-- End of Site Search Pro code --> DESCRIPTION: Insert this JavaScript code to appropriate place on your web site.

Code : Tout sélectionner

HTML installation code <!-- Start of Site Search Pro code --> <iframe align=top width=200 height=80 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no src="http://www.mysite.com/search/form.php?s=1&t=1"></iframe> <!-- End of Site Search Pro code --> DESCRIPTION: Insert this HTML code to appropriate place on your web site. REMEMBER: this is static HTML installation code, you will not be able to change form style except width and height.

Code : Tout sélectionner

PHP installation code (Only for local server use) <?php define ('SSP_STYLEID', 1); define ('SSP_TPLID', 1); @include ($_SERVER['DOCUMENT_ROOT'].'search/form.php');

Pouvez vous m'aider a installer un moteur de recherche svp.

par Sono » 18 avr. 2005, 10:50

Bonjour,

est ce qu'une personne pourrais m'aider a installer un moteur de recherche sur mon site.

J'ai essayer mais rien a faire ji arrive pas. [b](j'ai vraiement de tres petite connaissance en php et html)[/b]

Je voudrais installer le moteur de recherche Site Search Pro : http://www.site-search-pro.com/


en faite j'ai réussie a intaller le (logiciel) moteur de recherche sur mon site, mais ensuite j'ai ça comme code a installer sur la page d'acceuil de mon site :


[quote]Static HTML (Recommended for sending in E-mails)
<!-- Start of Site Search Pro code --><input name="q" type="text" id="q" value="" maxlength="255" size="40"><select name="g" id="g" class=sp2_i_select><option value="0" selected>All groups</option><option value="1">www.mysite.com</option></select> <br /><a class="sp2_advanced" href="http://www.mysite/search/advanced_searc ... ">Advanced search</a>

<!-- End of Site Search Pro code -->
DESCRIPTION: Insert this code to any place in your HTML page. Static HTML mostly used for newsletter messages.
Java Script installation code (Recommended)
<!-- Start of Site Search Pro code -->
<script language="JavaScript"><!--
var remoteURL = 'http://www.mysite.com';
var sURL = remoteURL +'/search/form.php?mode=js&s=1&t=1';
document.write('<script language="JavaScript"' +
'src="' + sURL + '"><\/script>');
//--></script>
<!-- End of Site Search Pro code -->
DESCRIPTION: Insert this JavaScript code to appropriate place on your web site.
HTML installation code
<!-- Start of Site Search Pro code -->
<iframe align=top width=200 height=80 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no src="http://www.mysite.com/search/form.php?s=1&t=1"></iframe>
<!-- End of Site Search Pro code -->
DESCRIPTION: Insert this HTML code to appropriate place on your web site. REMEMBER: this is static HTML installation code, you will not be able to change form style except width and height.
PHP installation code (Only for local server use)
<?php
define ('SSP_STYLEID', 1);
define ('SSP_TPLID', 1);
@include ($_SERVER['DOCUMENT_ROOT'].'search/form.php'); [/quote]


la par contre je suis perdu, je c pas comment faire pour installer ce code sur mon design de mon site, la ou il y a l'espace pour le moteur de recherche.

voila la version demo sur le site ou il y a toutes les infos : http://www.site-search-pro.com/demo-gol ... /login.php
ensuite dans la partie [b]Installation Code[/b] il y a des infos...



d'avance merci.