HTML Template to a Fully Functional CMS Site

Cascade Regional Training Conference 2019

Topics & Overview

HTML Template

Review HTML Template

One Region Template

Why I’m using the One Region Template approach

System Assets

Review the system assets required.

HTML Code

Test, slice and organize the HTML source into formats/macros.

Macros & Imports

Macro <3 and the Importer

Logic

Integrate the HTML code with CMS logic

HTML Template

Demo:

Details/Download:

Why this template:

  • It's a good looking template
  • Example content fits our needs 
  • Not a lot of Athletic Sites in Cascade CMS

One Region Template

Pros:

  • Reusability - Use one Template for multiple Content Types, Sites and designs.
  • Flexibility - All site/page layouts are handled by formats and logic. Nothing has to be hardcoded. 
  • User Empowerment - If desired, users can control ALL aspects of their site via a Setup Block/Page that controls the formats. 

Cons:

  • Can be difficult to debug/troubleshoot.
  • Not beginner friendly. 

System Assets

  • Template (HTML & XML) 
  • Default Formats 
  • Page Configurations (HTML & XML) 
  • Data Definitions (Shared Fields)
  • Content Types
  • Page

HTML Code

  • Test HTML in format to fix any XML issues
  • Slicing/organizing the HTML source into additional formats/macros

Macros & Imports

Macros Macros Macros!

Spliting macros into their own formats makes for very organized code. Importing all the formats manually, indiviually can be extremely tedious... good thing we don't have to!

Logic

Integrate the HTML code with CMS logic