grzesiek2
08-10-2015, 20:48
Witam, mam takie pytanie posiadam moduł blank_module w nim kod i chce by poprawnie działał w GANTRY 5 - potrzebuje umieścić odwołanie w gantry4 było to proste w pliku index.php szablonu wstawiało się pomiędzy head:
<head>
<link rel="stylesheet" type="text/css" href="templates/<?php echo $this->template ?>/css3/css/demo.css">
**********
// For Demo purposes only (show hover effect on mobile devices)
[].slice.call( document.querySelectorAll('a[href="#"') ).forEach( function(el) {
el.addEventListener( 'click', function(ev) { ev.preventDefault(); } );
} );
</script>
</head>
W gantry 5 index.php wygląda inaczej nie ma head gdzie trzeba wstawić kod odwołujący do css i script?
Z góry dziękuje za pomoc
<head>
<link rel="stylesheet" type="text/css" href="templates/<?php echo $this->template ?>/css3/css/demo.css">
**********
// For Demo purposes only (show hover effect on mobile devices)
[].slice.call( document.querySelectorAll('a[href="#"') ).forEach( function(el) {
el.addEventListener( 'click', function(ev) { ev.preventDefault(); } );
} );
</script>
</head>
W gantry 5 index.php wygląda inaczej nie ma head gdzie trzeba wstawić kod odwołujący do css i script?
Z góry dziękuje za pomoc