Page Lime Logo

PageLime CMS

home

Platform-Overview:Manage-Temp

From PageLime Documentation

5.0 Managing Templates

Contents

5.1 Template Management Screen

On this screen, you can create, delete and edit the code for your page templates.

5.2 Template Manager

To manage templates click on the Manage Template button from the site dashboard or the Site Tools drop down. From here you have all the tolls you need to deal with templating in the system.

New Template

To create a new template from scratch click on the “New Template” button. Give your template a name, in the Template Name field. Next click on the Code tab, and copy and paste the code for your template here. Click the “Save Template” button and you’re all done.
You can remove any template at any time by clicking the delete button next to the template. This will NOT delete any pages already created from this template.


Clone Page

To create a new template based upon a page that is already in your website, click on the Clone Page button. This will bring up a list of pages already included in your sites Site Map. Click on the page you would like to clone, and then click the “OK” button. You will see a new template is now created and titled after the page you cloned. If you would like to give it a more descriptive title you can click on the EDIT button next to it, and give it a new name, and even make changes to the code.
NOTE: This method is for cloning static pages. It flattens any page includes and dynamic content. If you are unsure about which method to use, or if you have page includes choose the Clone FTP Target option outlined below instead.

Clone FTP Target

Using this method you will actually create a template based on the raw source code of the file you choose. Instead of taking the rendered HTML from the sitemap, it will take the raw code including any dynamic content and page includes from the FTP Source.
Click on the Clone FTP Target button. This will bring up a list of pages on your websites ftp. Click on the file you would like to clone, and then click the “OK” button. You will see a new template is now created and titled after the page you cloned. If you would like to give it a more descriptive title you can click on the EDIT button next to it, and give it a new name, and even make changes to the code.
NOTE: This is the preferred method for creating new templates.


5.3 Page Creation from a Template

Using Site Map Screen

Click on the “Open Site Map” button on the dashboard. This brings you to the Site Map home screen. From here you can create new pages on your website based on templates you have created. Page will be created in the folder that is currently opened to at the time of creation.
Click on the “Create New Page” button. A Create New Page dialog box will appear. Type in the file name you would like your new page to have. It’s important to remember that the file extension does matter here, so make sure you know if you want to create a .html, .php, etc file before moving forward. Proper file names have no spaces, are all-lowercase, and have the extension at the end of them.

CORRECT: greenbikes.html
INCORRECT: Green Bikes

Select the template you would like to base your file off of, from the “Page Template” drop down. Click the “Create” button and you are all set. The new page will automatically load up and be ready for editing. It is also immediately available on your website.


Using Site Map Pullout

Open the Site Map Pullout, available at all times by clicking the small rectangle on the far left of the interface. Click the “Page” button next to the Create New in the top of it. A Create New Page dialog box will appear. Type in the file name you would like your new page to have. It’s important to remember that the file extension does matter here, so make sure you know if you want to create a .html, .php, etc file before moving forward. Proper file names have no spaces, are all-lowercase, and have the extension at the end of them.

CORRECT: greenbikes.html
INCORRECT: Green Bikes

Select the template you would like to base your file off of, from the “Page Template” drop down. Click the “Create” button and you are all set. The new page will automatically load up and be ready for editing. It is also immediately available on your website.

Go back to Section 4.0 Managing Documents

You are currently reading 5.0 Managing Templates

LeftField Inc. 2009. All rights reserved.

Register for PageLime

Log-in using an existing account at one with these sites:

OR

Register a new account with PageLime: