Jump to content

Default fields in PW


Gazley
 Share

Recommended Posts

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

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.

  • Like 2
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...