0%

Pages Overview ID: DBT-CO-PGO

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

In Marketpath CMS, 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 and blog posts,  as well as less obvious pages such as error pages, tags, authors, folders, and search results 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 by using custom fields.

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
Fig. 1  - Page properties dialog

The other major component of a page is the page template. The page template defines the layout and how the page will be rendered and displayed. It will also determine what custom fields will be associated with the page.



Feedback?

Please fill out the form below with your feedback or any questions you may have after working through the "Pages Overview" lesson.

Your Name
Email 
Feedback / Questions