$view->inc tries to load from concrete folder
PermalinkIn the HTML file I used:
<?php $view->inc('elements/header.php'); ?>
But when I then tries to view a page I get an error telling that the file is not there, but the problem is that the system (Concrete5) tries to grab my theme from the .../concrete/themes/tsl2/... folder instead of .../application/themes/tsl2/... folder.
I also have set up a short page_theme.php:
<?php namespace Application\Theme\tsl2; use Concrete\Core\Page\Theme\Theme; class PageTheme extends Theme { protected $pThemeGridFrameworkHandle = 'bootstrap3'; }
Am I doing something wrong or is this a bug lurking under the hood.
C5 caching is the bloody worst.
Cleared the cache, all options are turned off, but I still get this :(
It was a caching problem somewhere in the system. I thought that I had cleared the cache but obviously I didn't. So just forget, and move on...