cakephp pour generer la page default ? (Niveau perf, etc...) exemple : Au lieu de generer directement les balises html Merci d'avance
html$ /index.php?page=private/admin_$1 [L] RewriteRule ([a-zA-Z0-9]+)\.html$ /index.php?page=public/$1 [L] Voici l'architecture de mon site depuis la racine de mon serveur de dév
html($this->data'Comment_blog']'content'] , array('remove' => true)); $this->data'Comment_blog']'name'] = Sanitize::html($this->data'Comment_blog']'name'] , array('remove' => true)); $this->data'Comment_blog']'email'] = Sanitize
html){ if(html){ alert("2"); $(".photos").append(html); } } }); } }); Ma page loader me ramène bien ce que je veux et ma donnée url aussi. cependant il ne rentre pas dans le if(html
html', data: $form.serialize() }).then(function (data) { $("#affiche_mess").html(data); // Mise à jour des messages $.ajax({ url: '/fiche_cli/liste_profil.php', method: 'GET', dataType: 'html', data: $form.serialize() }).then(function (data) { $("#list_profil").html
html){ afficher(html); history.pushState({key : i}, 'titre', url); }, error: function(XMLHttpRequest,textStatus,errorThrown){ alert(textStatus); } }); }; window.onpopstate = function(event){ var urlcourant = document.location.pathname; alert(event.state); if(event.state == null){ $.ajax({ url : '/intranet/refonte/index.php', cache
html, body').stop().animate({ 'scrollTop': $target.offset().top+2 }, 500, 'swing', function () { window.location.hash = target; $(document).on("scroll", onScroll); }); }); }); })(jQuery); ``` Code sur ma page html qui fonctionne bien: Code : ``` $(document).ready(function
success: function(html) { $('#commande_contratMetier').replaceWith( $(html).find('#commande_contratMetier') ); $('#commande_sousProjet').replaceWith( $(html).find('#commande_sousProjet') ); $('#commande_compteComptable').replaceWith( $(html).find('#commande_compteComptable') ); } }); }); ``` Merci d'avance pour votre aide :) !