Gazley Posted August 8, 2012 Share Posted August 8, 2012 Hi there, I have my default basic site installed that has a few templates and fields. Are there any default fields in PW? I would like to clear this site down and start from scratch but don't want to delete anything that should be there. Thanks --Gary Link to comment Share on other sites More sharing options...
DaveP Posted August 8, 2012 Share Posted August 8, 2012 I think that only 'Title' and its lower case url version 'name' are system fields and required, but a lot of the time 'Title', 'Headline', 'Summary' & 'Body' are a natural fit for most pages. Title is fairly self-explanatory Headline is a bit longer version of Title, for navigation link text and meta title Summary is a brief summary of what the page is about and might appear also in search results and as page meta description Body is the main body text of the page On most pages, I tend to leave them all available, even if not populated. This kind of code snippet <?php echo $page->get("headline|title"); ?> prints the page Headline, or Title if the headline is empty, and you will see variations of this used in the default install. 2 Link to comment Share on other sites More sharing options...
Gazley Posted August 8, 2012 Author Share Posted August 8, 2012 That's great advice! Cheers Dave. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now