jeudi 3 décembre 2015

Campaign data search engine plugin installation

I am working for a client in his website. Client provide me a plugin to install that called CAMPING DATA SEARCH ENGINE FOR CAMPING. This plugin bears some files that's are:

  • index.html
  • _include/php/proxy.php
  • _include/templates/CampingData-form-template.html
  • _include/templates/CampingData-accomodation-template.html
  • _include/templates/CampingData-promotion-template. html

and some css files.

Blockquote

INSTRUCCIONES DE INTEGRACION

  1. En la pلgina dَnde se integre el componente debemos tener dos capas contenedoras:

    • Una para el formulario de bْsqueda (en el ejemplo: '')
    • Otra para el listado con los resultados (en el ejemplo: )
  2. Adecْe las plantillas y CSS a la estética de la web

  3. Copie y pegue dentro de la etiqueta los cَdigos javascript siguientes:

<script type="text/javascript" src="http://ift.tt/1PCIxK4. CAMPINGDATA_SEARCH_ENGINE_FOR_CAMPING.js"></script>

<script type="text/javascript">
   $("#campingdata-results-box").CampingDataOffersForCamping({
        CampingDataPublicKeyCamping : "1234567893455677788889", 
        CampingDataLicense : 'campingdata_Playasol',
        UrlAccomodationTemplate : "_include/templates/accomodation-template.html",
        UrlPromoTemplate : "_include/templates/promotion-template.html",
        UrlFormTemplate : '_include/templates/form-template.html',
        UrlFormCss : "_include/css/ camping-data-availabilities.css",
        UrlProxyFile : "_include/php/proxy.php",                        //proxy.asp
        UrlToBookings : "reservas.php",                                                         //reservas.asp
        LayerForm : "#campingdata-search-box",
        Language : "es",  // es, fr, en, de, it, nl, de, ca, dk, pt
        Prerendered : true,
        OffersSelector : "#chk-offers-only",
        CheckBookings : true,
        ShowOffers : true                       
   });
</script>

index.html files code here:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://ift.tt/kkyg93">
<html xmlns="http://ift.tt/lH0Osb">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Integration</title>

<style type="text/css">
        #results
        {
   clear: both;
    float: left;
    margin-bottom: 10px;        
    width: 600px;
  }
</style>

<script type="text/javascript" src="http://ift.tt/1Nu3Jv0"></script>
<script type="text/javascript">
        $(document).ready(function(){
        
                $("#campingdata-results-box").CampingDataSearchEngine({
                        CampingDataLicense : 'campingdata_mariola',                     
                        UrlAccomodationTemplate : "http://ift.tt/1PCIyO8",
                        UrlPromoTemplate : "http://ift.tt/1Nu3LCZ",
                        UrlFormTemplate : 'http://ift.tt/1PCIy0k',
                        UrlFormCss : "http://ift.tt/1Nu3LD1",
                        UrlProxyFile : "http://ift.tt/1PCIyOa",
                        LayerForm : "#campingdata-search-box",
                        UrlToBookings : "reservas.php",
                        Language : "es",
                        Prerendered : true,
                        OffersSelector : "#chk-offers-only",
                        CheckBookings : true,
                        ShowOffers : true                       
                });
        
        });
</script>

</head>

<body>
        <div id="campingdata-search-box" class="campingdata-availabilities-form-wrapper"></div>
        <div id="campingdata-results-box"></div>
</body>
</html>

The instruction of this plugin in Spanish language. But I am taking help of google translator.

How can I install it? Please help me.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire