Theme referrences concrete directory when using includes
Permalinkhttps://www.concrete5.org/community/forums/themes/single-page-inc-me...
When I use $view->inc I get a stupid error:
include(/Users/username/Documents/sites/sitename/public_html/concrete/themes/themename/includes/.head.php): failed to open stream: No such file or directory
Of course a standard include works fine... Though I cannot fix it by changing theme like the other thread :|
Any ideas?

before the include line and post the result here? It will give us better understanding what the View looks like when the inc() is called.
Looking at the code for View and Environment I'm *guessing* the pkgHandle for View isn't set, and that causes the Environment to seek the file from the core directories. I had a similar problem with external forms, which I had to fix by overriding the block controller (couldn't figure out any other way).
But let's see what you got first, ok?
Thanks for responding. How would I go about setting my pkgHandle? Seems to be set to false in the dump. Is it a theme thing or config thing?
Here is my mega dump on $view object:
// removed because dump was 95% of the page and wasn't useful either.
What the shite concrete.
Is there a specific reason you want the name of your include files start with a dot?