Cute Editor for ASP

Template Resource file Structure

Template Resource file Structure

The Resources.xml, which contains XML, specifies the templates configuration information of the Cute Editor. The Resources.xml can be found in the cuteeditor_files/Templates folder. Below is an example of a typical Resources.xml file structure:
<?xml version="1.0" encoding="UTF-8" ?>

<templates>
    <template>
        <title>One_column Body with Contents on left</title>
        <description>Create a page with one-column body with contents listed on the left.</description>
        <html>template1.htm</html>
    </template>
    <template>
        <title>One_column Body with Contents on right</title>
        <description>Create a page with one-column body with contents listed on the right. </description>
        <html>template2.htm</html>
    </template>
    <template>
        <title>One_column Body with Contents on left with non-editable regions</title>
        <description>Create a page with one-column body with contents listed on the left. Heading is not editable.</description>
        <html>template3.htm</html>
    </template>
    <template>
        <title>One_column Body with Contents on right with non-editable regions</title>
        <description>Create a page with one-column body with contents listed on the right. Heading is not editable.</description>
        <html>template4.htm</html>
    </template>
</templates>

<templates> Element

Each template resource file must start with the templates element.  This element contains the template information within Cute Editor.

 

templates: <template> Element

This element contains the configuration information for a template for use within Cute Editor.
Attribute Description
title This attribute contains the title information of a template .
description This attribute contains the description information of a template .
html This attribute contains the file name information of a template.