Templates

  1. New | Default | Template.
  2. Provide a name for the template in the System Name field. Choose the parent folder, which should be _cms/templates.
  3. Write, upload or copy/paste the html, xhtml or xml code into the data field.
  4. In the body of the code, include <system-region name=”contentBlockNameHere/”> the code where you wish to include blocks of repetitious content that will be used across the site, such as header and footer information. Make certain to include a DEFAULT region somewhere in the body of the file too, as this is where the user’s new content will be added later once the template has been incorporated into the dropdown menu.

New Template

Create the Blocks to be used in the Template

  1. New | Default | New Block.
  2. Select the defaulted XHTML/Data Definition Block, click Submit.
  3. Provide a block name in the System Name field.
  4. Verify the Parent Folder points to _cms/blocks.
  5. The Information field is WYSIWYG by default. Click the HTML icon, third from the far right in the WYSIWYG’s menu bar and write or copy/paste in the code for your block. Click Update when finished.
  6. The Information WYSIWYG will now display the information in the block. Be aware that if other elements such as CSS stylings, javascript and/or images may yet need to be uploaded or properly linked. See section {links} for more details on file and image pathways.
  7. If no further work needs be done, click Submit.

Repeat this step as necessary to build all the content blocks associated with your template files with the exception of the DEFAULT system-region block; do not create this block.

Block example Block Type

Assign Content Blocks to the Template

  1. Browse to the template folder (_cms/templates/yourTemplate) and click on the template file. In the right panel, the WYSIWYG will display the information in the content block. Click the Edit tab.
  2. By default, the Content field is selected. Click the Regions link. This area displays the names of the system-regions you added to your template when it was originally created. For each site-region, click on the block image on the right, which will allow you to browse to the file in the blocks file you with to link to this system-region. Once selected, click Confirm to accept your choice. Again, leave the DEFAULT system-region blank.
  3. When all the system-regions have been assigned a block (except for DEFAULT), click Submit.

Assign Blocks