Dialogs Framework Basic Concepts
Dialogs Templates: Overview
Updated: 21 Apr 2023
Dialogs templates contain the site design (HTML/CSS/JS) that defines the presentation of website content. Dialogs templates are designed to be efficient for the developer to configure. There are two primary template types in Dialogs and a third used internally.
Page Templates
Page Templates define the overall webpage layout. Each Dialogs Page (item on the Pages List) is associated with a specific Page Template for rendering. Developers can copy and paste HTML directly into the page template via the browser-based Control Panel, or can download files via FTP to edit in an IDE. Content from the Pages or other Lists will be merged with the template when the page is rendered. Mail-merge-type tokens define fields or List Templates to show and may be used anywhere in the Page Template. Page templates may contain HTML, PHP, Javascript, CSS. Page Templates may include other Page Templates and List Templates. Learn more...
List Templates
List Templates define the presentation (HTML/CSS/JS) of information to be shown from a List as well as the selection (MySQL Where clause) of all or particular items from that List and the order (MySQL order by) multiple items will be displayed. Developers may create multiple List Templates for the same List, thereby creating different layouts of the same information and/or stipulating different subsets of the List items to display. List Templates may include other List Templates. Learn more...
Item Templates
Dialogs automatically creates the Detail View for entry of items to a Dialogs List. Item Templates allow the Developer to override the built-in data entry screen when desired.