Convertng HTML theme to concrete5 cms
Permalink
Hi everyone. I'm having trouble when I attempt to separate my default.php into header.php, footer.php, default.php.
All together everyting works fine, I have the edit toolbar, can create blocks without issue, but, when following the video tutorial, Matt takes the header content, puts into it's own header.php, and same with footer.
When I add the
to my default.php after removing header content and placing in separate header.php file, these are my results:
https://www.dropbox.com/s/qiy6swvn2uzcttt/Screenshot%202014-05-12%20...
Could someone tell me what it is I'm doing wrong, please?
All together everyting works fine, I have the edit toolbar, can create blocks without issue, but, when following the video tutorial, Matt takes the header content, puts into it's own header.php, and same with footer.
When I add the
to my default.php after removing header content and placing in separate header.php file, these are my results:
https://www.dropbox.com/s/qiy6swvn2uzcttt/Screenshot%202014-05-12%20...
Could someone tell me what it is I'm doing wrong, please?
You need to put the header.php and footer.php inside of an elements folder inside of the themes folder. It looks like those files don't exist in that location.
Yes they are inside the elements folder. That's what's so puzzling.
You need to clear the cache in the dashbaord before they will render again.
Ah, Thanks Patrick.
That led me in the right direction. I cleared cache and that didn't work, then I remembered the discussion about Cache & Speed Settings at beginning of video which I thought I had turned off, but "Block Cache" and "Overrides Cache" were still set to on. Changed those radio buttons to off and all is good and I'm back in business.
That led me in the right direction. I cleared cache and that didn't work, then I remembered the discussion about Cache & Speed Settings at beginning of video which I thought I had turned off, but "Block Cache" and "Overrides Cache" were still set to on. Changed those radio buttons to off and all is good and I'm back in business.
Awesome, always a good win when something works out!