Html', 'Session', 'Date'); public $components = array('RequestHandler'); /** public $cacheAction= array( 'index'=>'2 DAY', 'show'=>'2 DAY' ); **/ public $uses = array('Post'); function menu(){ $posts = $this->Post->find('all',array( 'conditions' => array
html : ``` Elementary Table of Types Cards Generator ``` En utilisant une fonction isActive(); Suis - je obligé pour chaque .js associé à son html de redéclarer isActive () ? J'ai essayé de le déclarer
Html->link(__('Liste des cadences'), array('action' => 'index')); ?> [/code] Mon index.ctp [code]
Html->script('tiny_mce/tiny_mce.js',array('inline'=>false));?> tinyMCE.init({ mode:'textareas', theme: 'advanced', plugins: 'inlinepopups', theme_advanced_buttons1:'image', theme_advanced_buttons2:'', theme_advanced
html){ afficher(html); history.pushState({key:'value'}, 'titre', page); }, error:function(XMLHttpRequest,textStatus, errorThrown){ afficher("erreur lors du chagement de la page"); } }) return false; }); window.onpopstate = function(event){ //lancer des qu'il y a back
html->link($html->image('/img/fre.png', array('alt'=>'Français','title'=>'Français')), array('language'=>'fre')+$this->params'pass'], array('escape'=>false));?>
HTML $pageTitle $stylesBundle $viewStyle $viewHead $viewContent $viewFooter $scriptsBundle $localScript HTML; ?> ``` Et voici le code qui appèle le précédent ```
Html->css('bootstrap'); ?> body { padding-top: 60px; padding-bottom: 40px; } Project name Home About Contact Dropdown Action Another action Something else here Nav header Separated link One more separated
Html->image(sprintf($post'thumbf'],800,200)) endif . " " . $post'intro']; echo $this->Rss->item(array(), array( 'title' => $post'name'], 'link' => $this->Html->url($post'link'], true), 'guid' => array('url' => $this
html(); $(".oneBox").html(cloneText); $("#full").hide(); }); }); ``` Tout se passe bien : la page complète ce cache et le contenu du panel s'affiche correctement là dedans (la colonne vide sert uniquement