Started by KEnik, August 04, 2022, 05:20:01 PM ( Read 7,193 times )
Quote from: crnogorac081 on August 04, 2022, 07:28:15 PMLook at the index.php
/templates/DefaultTemplate/index.php
/index.php
-templates_dir = "templates/"-default_template = "index.twig"+templates_dir = "/templates/"+default_template = "index.html.twig"
add include_once 'template.functions.php';
// TEMPLATE CODE STARTS BELOW?><!DOCTYPE HTML><html lang="<?= $sPageLang; ?>">
echo $oTemplate->render( [ 'sTmpHeaderTitle' => 'Test title', 'register_frontend_css' => register_frontend_modfiles('css'), 'register_frontend_js' => register_frontend_modfiles('js'), 'register_frontend_jquery' => register_frontend_modfiles('jquery'), 'pageContentMain' => $pageContentMain, ] );