Marketpath CMS Developer Tutorial Series

Pages Overview

Last Updated 3/6/2018

The entry point for requests on your site is a "page". Every template you create and how you build the site revolves entirely around a thorough understanding of what makes up a page.

In essence, a page can be defined as a unique URL. This includes the domain and the path but not the query string or hash parameters. Every valid URL on the site is a page, regardless of the type of page. This includes obvious pages such as articles, blog, and blog post pages as well as less obvious pages such as error pages, tag/author/folder/blog pages, and search result pages.

Every page in the CMS is associated with a single primary entity and each entity can only have one page. This entity typically contains the data to be displayed on the page, although the template developer may take advantage of our templating engine to pull as much additional data as they desire to be displayed directly from the template as well.

To create a page from an entity, all a user has to do is check the Has URL checkbox in the entity properties dialog. From here, the user can select the domain (if there is more than one), set the path, choose the page template, provide a browser title, and set meta data.

page-properties-has-url

Entities are not required to have a URL.

The other major component of a page is the page template. The page template defines how the page will be rendered and displayed as well as what custom fields will be associated with the page.

---- End of Lesson ----

Question? Correction?

Let's work together to make our documentation as helpful as possible.

What is your name? 
What is your email address? 
Feedback: