How to include within the Head in the Themes folder
So I want to do something like this (see code block) - but strangely enough I get a PHP warning that tells me it's looking for the inlcude file in the 'concrete (!)' themes folder... the path is wrong; what to do...?
This is what my header.php file looks like (it's inside an Elements folder in the Theme in Application):
<!DOCTYPE html> <html lang="nl" xml:lang="nl" xmlns="http://www.w3.org/1999/xhtml"> <head> <?php Loader::element('header_required') ?> <!-- start cookie consent --> <?php $this->inc('/elements/cookies/cookie-consent-html.php'); ?> <!-- end cookie consent --> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="//fonts.googleapis.com/css?family=Roboto:100" rel="stylesheet"> <link href="<?= $view->getThemePath() ?>/css/main.css" rel="stylesheet" type="text/css" /> </head>