How to implement my own templates

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
Brigitte

How to implement my own templates

Post by Brigitte »

I am an experienced HTML/CSS developper(NOT PHP and ASP !) and I have downloaded CMSMS because it seems like a pretty simple system to use. But I cant find out how to implement my own templates (those I have already made). Do I have to start all over again ? My websites are classic ones built with HTML and with a CSS file controlling most of the lay out.

Can anyone help me ?

Best regards

Brigitte
swathes

Re: How to implement my own templates

Post by swathes »

It's really easy - and found this screencast helped lots: http://cmsmadesimple.org/uploads/media/ ... colate.htm
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: How to implement my own templates

Post by Dee »

I guess this should be your starting point. Also take the time to read the default content, it contains quite an extended introduction.

A very short intro:
Create a new template (Layout => Templates, click 'Add New Template') containing your html and put

Code: Select all

{content}
in the code where you want the dynamic content (editable by admins) to be and

Code: Select all

{stylesheet}
inside the section.

Then paste your stylesheet code into a new stylesheet (Layout => Stylesheets, click 'Add a Stylesheet'), attach the stylesheet to the template (Layout => Templates, click the CSS icon besides the template)  and you can start creating pages that use your new template (Content => Pages, click 'Add New Content').

Normally you would use at least a {menu} tag in your template (to auto-generate a navigation menu)  and probably some more. Take a look at the default templates that come with the install for examples.

After that it's time to look at how modules work /how to include them in your pages. Each module has a help page that gives info on how to use it (Extensions => Modules, click on the module name or the help link on the same row). You can install new modules from the admin (Extensions => Module Manager).

Hope that helps,
Regards,
D
Locked

Return to “Layout and Design (CSS & HTML)”