Page using image on top template with extra content fields

This is the main Body Text accessed using $this->page->getBody().

There are 5 optional additional content fields available that can be configured in /views/scripts/templates/config.xml. Here is the template definition for 8.phtml which demonstrates this.

The <element> tag can contain "textarea" or "text".

The <name> tag must reference one of the extra_content_* fields in the node table.

The <options> tag can contain suitable values for either Zend_Form_Element_Textarea or Zend_Form_Element_Text. To convert a textarea into a TinyMCE richtext instance, use the <class>richtext</class> tag inside the <attribs> tag.

<item>
    <id>8</id>
    <name>Image on top with extra content fields (Default Template)</name>
    <file>8.phtml</file>
    <description><![CDATA[
        Content image: 800 x 150 pixels
        Thumbnail images: 150 x 75 pixels
    ]]></description>
    <type></type>
    <fields>
        <field>
            <element>textarea</element>
            <name>extra_content_1</name>
            <options>
                <label>Extra Content #1</label>
                <attribs>
                    <rows>5</rows>
                    <class>richtext</class>
                </attribs>
            </options>
        </field>
        <field>
            <element>textarea</element>
            <name>extra_content_2</name>
            <options>
                <label>Extra Content #2</label>
                <attribs>
                    <rows>5</rows>
                    <class>richtext</class>
                </attribs>
            </options>
        </field>
        <field>
            <element>textarea</element>
            <name>extra_content_3</name>
            <options>
                <label>Extra Content #3</label>
                <attribs>
                    <rows>5</rows>
                    <class>richtext</class>
                </attribs>
            </options>
        </field>
        <field>
            <element>textarea</element>
            <name>extra_content_4</name>
            <options>
                <label>Extra Content #4</label>
                <attribs>
                    <rows>5</rows>
                    <class>richtext</class>
                </attribs>
            </options>
        </field>
        <field>
            <element>textarea</element>
            <name>extra_content_5</name>
            <options>
                <label>Extra Content #5</label>
                <attribs>
                    <rows>5</rows>
                    <class>richtext</class>
                </attribs>
            </options>
        </field>
    </fields>
</item>  

This is Extra Content #1 accessed using $this->page->getExtraContent1().

This is Extra Content #2 accessed using $this->page->getExtraContent2().

This is Extra Content #3 accessed using $this->page->getExtraContent3().

This is Extra Content #4 accessed using $this->page->getExtraContent4().

This is Extra Content #5 accessed using $this->page->getExtraContent5().

Related nodes
$nodes = $this->node->getCollection()->getRelated();

No related nodes for this node