The Scriptor pages play a crucial role as the hierarchical page tree and serve as the foundation of your website. They not only organize the structure of your site but also hold the content within the Scriptor system. While pages generally share the same basic characteristics, they can be easily extended in various ways, which we will explore later.

Page Attributes

Scriptor page attributes provide additional information about each page. These attributes remain constant and cannot be dynamically extended. Here are the default page attributes found in Scriptor:

  • categoryid: Identifies the category to which default pages belong.
  • id: Represents the unique identifier of the page.
  • name: Specifies the internal name of the page.
  • label: Defines the display label or title of the page.
  • position: Determines the position of the page within the page hierarchy.
  • active: Indicates whether the page is active or inactive.
  • created: Stores the timestamp of when the page was created.
  • updated: Stores the timestamp of when the page was last updated.

Page Fields

Page fields in Scriptor are where the actual content of the pages is stored. These fields serve as dynamic containers for various types of content and outputs associated with a page. Page fields can be extended based on specific requirements. The default page fields commonly found in Scriptor include:

  • slug: Represents the URL slug or path of the page.
  • parent: Specifies the parent page identifier to which the current page is linked.
  • pagetype: Indicates the type or category of the page.
  • menu_title: Defines the title displayed in the menu for the page.
  • content: Holds the main content of the page.
  • images: Stores images related to the page.
  • template: Refers to the template used for rendering the page.

These page fields provide flexibility and allow you to customize the content and appearance of your pages within the Scriptor CMS.