Confused over Page types
Permalink
The default templates with C5 all seem to come with the same four page types:
full
left sidebar
press release
right sidebar.
First of all, do I actually need any of them if I create a customer theme?
And two, where are the actual template files for these pages?
I can't seem to find them anywhere in the themes folders.
Thanks
full
left sidebar
press release
right sidebar.
First of all, do I actually need any of them if I create a customer theme?
And two, where are the actual template files for these pages?
I can't seem to find them anywhere in the themes folders.
Thanks
Yeh, I already have my customized theme installed, but I couldn't figure out where these extra page types were coming from, as they are not part of the theme, not in the default.php file and not in the theme folder.
All page types that ever have been installed appear, independendly if those now resist in your theme directory or not. If you choose one that doesn't exist it will grab default.php, if the page is single page, it will use the view.php, which is also recommend for your theme and print the contents through $innerContent, take a look at the view.php in the default green salat theme.
This stuff has been covered in the forum pretty extensively.
But the main idea is that if your theme doesn't have these pages listed by name then they are inferred from the default.php file in your theme which is really the only one needed(much to my chagrin) to install a theme aside from the requisite styling etc.