Getting started
Sections
Help

New layout

From Snowfire Wiki

Jump to: navigation, search

Open /layout/layouts on the FTP and create your new layout file. Let's name it "page-2-col.tpl". Add your HTML and Layout components inside.

Example of "page-2-col.tpl"

<div class="columns">
    <div class="column">
        { com_singlerow(id:'1', description:'Heading', htmlElement:'h2') }
        { com_wysiwyg(id:'2', description:'Content') }
    </div>
    <div class="column">
        { com_singlerow(id:'3', description:'Heading', htmlElement:'h2') }
        { com_wysiwyg(id:'4', description:'Content') }
    </div>
</div>

Login to Snowfire and navigate to Pages -> Layouts -> Install/Upload new layout. Select "page-2-col.tpl" in the dropdown and name it with something like "2 column page". Now create a new page based on your newly installed 2 column page layout.

Open /styles to find and add/edit your CSS. Look inside the container to include new CSS and Javascripts.

Views
Personal tools