C5.8 template requirements
Permalink
Do I really require 4 templates instead of the traditional footer and header in the elements directory? And can I have a theme without a full.php template and just a default.php?
It seems that C5 is getting very complicated from its simple base. Altho I realise the need for the page-theme template.
Watched Andrew's video about taking an html theme and concretizing it. But he doesn't cover the templates required. Is there a more substantial explanation for newer versions of C5 somewhere on the site?
I created a fully functioning html-based site then re-worked it for C5. Can't name any new pages..
It seems that C5 is getting very complicated from its simple base. Altho I realise the need for the page-theme template.
Watched Andrew's video about taking an html theme and concretizing it. But he doesn't cover the templates required. Is there a more substantial explanation for newer versions of C5 somewhere on the site?
I created a fully functioning html-based site then re-worked it for C5. Can't name any new pages..
I believe you can use a single header.php and footer.php. In Elemental, these files are split into two parts to help make them easier to manage.
I don't believe full.php is a required template file.
In addition to the video, the written documentation is important to read too. I also recommend setting up a local development server so that you can experiment safely.
Community member olsgreen has uploaded a fully commented theme boilerplate to GitHub and has created a theme boilerplate generator. Both are fantastic resources:
- theme boilerplate code
https://github.com/c5labs/theme-boilerplate...
- theme boilerplate generator
https://c5labs.com/concrete5-boilerplate/concrete5-starter-theme...