Creating Savvy CM Templates

Savvy CM Templates are simply html files with a couple extra lines of code. The lines are described below and can be copied and pasted into your template file using your favorite html editor (in code mode).

The easiest approach is to create your page as you would if it were html (with the .html name). Preview it to make sure it is displaying correctly. Then rename it with a .cfm extension and add the new Savvy CM lines of code to the appropriate areas. If you have questions, refer to our sample template. Wherever you place our display objects, savvy will place the code necessary to implement the content management. For a typical template, there are only 2 to 3 lines of code needed!

Templates are used to create the final pages of your web site. Typically a template is made for each section of your site. For example, if your web site has the main navigation of ‘home, about, services, products, contact us, and support’ you will probably have a template for the home page, a template for about, etc. If you have multiple pages in the products section, one template can be used to create each of those pages. In this way your pages within a section can be consistent.

Templates also do not need to be similar to each other. Take your graphic design, and use it to derive the number of templates. Remember, you can always add more templates later, or change the layout of your templates at any time.

Once your template(s) are made and uploaded to the primaryTemplate Files folder of your web site, log into Savvy CM, and choose ‘manage templates’ under the Savvy Tools button. You can then register your new template, and select the filename from the list available. After you have registered your templates you then associate what users will have rights to create pages with it. Once user rights are assigned people can add new pages using that template.

All templates files must be saved and stored in the PrimaryTemplate Files folder and must end with the .cfm extension. Please do not use any spaces in your template file names.

Open your template file and begin inserting content modules where you want a content area to be displayed. There is only one required line of code in the template. This is the Header Object.