PageType and Templates question
Permalink
First, I am loving C5 - thanks to the Dev team and all the contributers
Now my question,
I am starting to get my head around the concepts of 'theme' 'pagetype' and 'template' but am slightly confused.
In the 'default' theme folder I can see several templates, namely, default.php, full.php, left_sidebar.php, and view.php.
However, in the page types area of the dashboard I see 'right_sidebar' yet there is no corresponding themplate for this. I am confused.
Hope I have had sence.
Leigh
Now my question,
I am starting to get my head around the concepts of 'theme' 'pagetype' and 'template' but am slightly confused.
In the 'default' theme folder I can see several templates, namely, default.php, full.php, left_sidebar.php, and view.php.
However, in the page types area of the dashboard I see 'right_sidebar' yet there is no corresponding themplate for this. I am confused.
Hope I have had sence.
Leigh
Thank you for the quick response. So a template is basically a pagetype?
Yup. Theme is the whole package, templates are the various page types that can be used on pages. Some are standard while others may not be so. Most of my themes have a home.php to account for a slide show etc so it needs to be "installed" as LucasAnderson was explaining.
When you install a new theme, it automatically 'inspects' it for new page types and ask you to install them as well. This sounds like a carry-over from another theme. It shouldn't hurt you to keep it, or delete it if you're not using it.
Another note, at any time you can 'Inspect' an installed theme and it will search for any page types from that theme that are not installed and give you the option to create them