codigo a usar


INSERTAR VIDEO EN PLANTILLAS

<video playsinline="playsinline" autoplay="autoplay" muted="muted" loop="loop">
         <source src="/data/uploads/videos/dji_0021-on-vimeo.mp4" type="video/mp4">
</video>

 

FORMULARIO CONTACTO PLANTILLAS POFO

/dominio.com/email-templates
project-contact.php   --> hay que poner la url completa del logo para email personalizado incluyendo http://dominio.com/data/uploads/logo.png 

En este archivo es donde se pone la secret key

 

CODIGO PARA IMAGEN EN NUEVA PESTAÑA

<a href="xxxx.html" title="xxx" target="_blank"><img src="xxx.jpg" alt="xxx " width="xxx" height="xxx" /></a>

 

VIDEOS YOUTUBE IFRAME

<style>
    .video-responsive {
position: relative;
padding-bottom: 56.25%; /* 16/9 ratio */
padding-top: 30px; /* IE6 workaround*/
height: 0;
overflow: hidden;
margin-top: 100px;
}

.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>


        <div class="col-sm-12 video-responsive">
            <iframe width="auto" src="https://www.youtube.com/embed/zDQXiwWMoJE?&autoplay=1&mute=1&loop=1&rel=0&showinfo=0&color=white&iv_load_policy=3&controls=0&playlist=zDQXiwWMoJE" frameborder="0" allow="accelerometer;autoplay;encrypted-media; gyroscope; picture-in-picture;loop" allowfullscreen></iframe>

         


        </div>

 

CAMBIAR URL DE DOMINIO EN BBDD

 

UPDATE ps_product_lang SET description_short = replace(description_short,'DOMINIO DE DESARROLLO','DOMINIO NUEVO');
UPDATE ps_category_lang SET description = replace(description,'DOMINIO DE DESARROLLO','DOMINIO NUEVO');

 

PONER HTTPS

RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

 

PARALLAX MOVIL EN PLANTILLAS NOVI (PLANTILLA 3)

añadir bg-image al parallax

<section class="parallax-container bg-image context-dark" data-parallax-img="/data/uploads/imagenes/LOGO.jpg">

 

CENTER CENTER MIDDLE

<div class="jumbotron d-flex align-items-center min-vh-100">

  <div class="container text-center">
    I am groot.
  </div>
</div>

 

COOKIES EN GET SIMPLE

- subir fichero cookies.php

- añadir componente en administracion (idanalytics = UA-XXXXXX-X, idadwords = solo si tiene publicidad si no la tiene poner false)

- editar fichero header.inc.php y cambiar esto <?php get_component('analytics');?>  por esto <?php include ('cookies.php'); ?>

- añadir componente de politica de privacidad y poner /politica-de-privacidad

 

ERRORES NOT VALID EMAIL

en el fichero / js / script.js hay que buscar 

{
    type: regula.Constraint.Email,
    newMessage: "The email is not a valid email."
   },

y comentar esas lineas /*  */

 

VIDEO EN ENCABEZADO CON CAPTION

<section class="section-lg-custom section-main-bunner text-center text-lg-left">
<div id="videoDiv2">
   <div id="videoMessage2" class="styling">
         <h1>Muebles De Diseño Domine®</h1>
         <h3>EXCLUSIVIDAD, CONFIANZA, BIENESTAR</h3>
     </div>
  <div class="overlay"></div>
  <video id="video2" preload="" autoplay="" muted="" playsinline="" loop="">
   <source src="/data/uploads/backvideo.webm" type="video/webm">
  </video>
</div>

</section>

</header>

 

<style type="text/css">

/* This has been changed */

#videoDiv2 {
  min-width: 100%;
  min-height: 100%;
  margin:auto;
  display:block;
  position: relative;
}

/* This has been changed */

#video2{
  width:100%;
  height:auto;
  min-width: 100%;
     min-height: 100%;
    }

    /* This has been changed */

#videoMessage2 {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  width: 100%;
  height: 100%;
  z-index: 99;
}

    /* This has been changed */

.overlay {
     height: 100%;
     width: 100%;
     position: absolute;
     top: 0px;
     left: 0px;
     z-index: 2;
     background: #a30000;
     opacity: 0.69;
}

</style>