Senza categoria

Wistia su Flatsome

<script src="https://fast.wistia.com/embed/medias/xga7x4rwyk.jsonp" async></script>
<script src="https://fast.wistia.com/assets/external/E-v1.js" async></script>
<span class="wistia_embed wistia_async_xga7x4rwyk popover=true popoverContent=link" style="display:inline">
<a href="#" class="button open-video icon circle is-outline is-xlarge"><i class="icon-play" style="font-size:1.5em;"></i></a></span>

 

Senza categoria

Generare EAN-13 validi

<?php

function generateEAN($number)
{
  $code = '80' . str_pad($number, 9, '0');
  $weightflag = true;
  $sum = 0;
  // Weight for a digit in the checksum is 3, 1, 3.. starting from the last digit. 
  // loop backwards to make the loop length-agnostic. The same basic functionality 
  // will work for codes of different lengths.
  for ($i = strlen($code) - 1; $i >= 0; $i--)
  {
    $sum += (int)$code[$i] * ($weightflag?3:1);
    $weightflag = !$weightflag;
  }
  $code .= (10 - ($sum % 10)) % 10;
  return $code;
}

$codice = rand(155687123, 986123548);

for ($i= 1; $i<= 1037; $i++)
{
$codice = rand(155687123, 986123548);    
echo generateEAN($codice). '<br />';

}


?>

 

Senza categoria

Modern Event Calendar

RISOLVERE MANCATO INVIO HTML EMAIL

cercare wp_mail_content_type  location solita: /app/libraries/factory.php e commentare la linea

// HTML email
$this->filter('wp_mail_content_type', array($this->main, 'html_email_type'));

ELIMINARE CONFERME EMAIL, LASCIARE SOLO QUELLA DI  CONFERMA

cercare email_verification e booking_confirmation file /app/libraries/notifications.php
commentare il metodo wp_mail

 

MODIFICARE IL CICLO DI REPLICA DEGLI INDIRIZZI EMAIL

Il tutto è all’interno della cartella /app/modules/booking/steps
La gestione è demandata ad un ciclo foreach di un array

 

 

Senza categoria

cache web app

La parte fondamentale è aggiungere vicino le risorse “statiche” il seguente parametro:

?v=’.time().’  o comunque un equivalente in qualsiasi linguaggio in grado di generare una stringa random, possibilmente mai identica in modo tale da forzare il dispositivo ad eseguire un refresh della cache.

echo '

<script src="./framework/js/catalogoMobileInit.js?v='.time().'"></script>
<script src="./framework/js/loadingoverlay.min.js?v='.time().'"></script>

';