is a theme another word for template?
Permalink
Have been going through some of the documentation to try and get up to speed and I think I understand that theme is another word for a template. yeah?
still don't get the layout though, do I have to make a new page layout another way? i'm just used to setting the layout in css and leaving the content in the pages themselves.
I wish there was a simple document that says.
1. you need to blah for the css
2. blah for the main content
Sorry if I'm not making myself clear. I'm new to cms
still don't get the layout though, do I have to make a new page layout another way? i'm just used to setting the layout in css and leaving the content in the pages themselves.
I wish there was a simple document that says.
1. you need to blah for the css
2. blah for the main content
Sorry if I'm not making myself clear. I'm new to cms
Thanks very much Neville. I'll look at the links as soon as. good job we have this forum.
cheers
cheers
A template is 1 page of html/css. A theme has several different templates in it, each representing a different style of page -- for example, a theme could have different page types (concrete5's term for "templates"), one for "sidebar on the left", one for "sidebar on the right", on for "two sidebars on the right", etc. etc.
You are only required to make one template (aka "page type") for a theme, but usually it's a good idea to make more, because most sites have different layouts on different pages -- for example, if the home page has no sidebar but inner content pages do.
Designing a web page with HTML and CSS is something you want to learn outside of Concrete5. Then when you feel like you understand it a little, design 1 page in just HTML and CSS (no php, no javascript, no concrete5). THEN after you have that, try converting it to a concrete5 theme by following one of the tutorials in the documentation. The HTML file you created is equivelant to 1 template (which will become 1 "page type" in concrete5 terms); the theme you will build after that's done will contain 1 template ("page type") and the css and some other stuff too (as described in the tutorial).
Hope that makes sense.
-Jordan
You are only required to make one template (aka "page type") for a theme, but usually it's a good idea to make more, because most sites have different layouts on different pages -- for example, if the home page has no sidebar but inner content pages do.
Designing a web page with HTML and CSS is something you want to learn outside of Concrete5. Then when you feel like you understand it a little, design 1 page in just HTML and CSS (no php, no javascript, no concrete5). THEN after you have that, try converting it to a concrete5 theme by following one of the tutorials in the documentation. The HTML file you created is equivelant to 1 template (which will become 1 "page type" in concrete5 terms); the theme you will build after that's done will contain 1 template ("page type") and the css and some other stuff too (as described in the tutorial).
Hope that makes sense.
-Jordan
In essence you need to create your own Page Types for each different page layout your site uses.
You specify the page layout (using CSS) in the Page Type. You can also add Default Content to the Page Type, which in turn appears on each page you create using that Page Type.
Note that you can also create layouts within C5 using 'Add Layout' on a new block when in Edit mode. This is great for one of pages, or areas within a page, but starting with a Page Type you've created is the better way.
For content (blocks) which are common across web pages and page types it is best to create these as Global blocks using the Scrapbook. These Scrapbook blocks can then be added as Default blocks to the Page Types.
I hope that helps and makes some sense. I found I just had to read a lot and work through the practicalities of putting a site together and learning as I went.
Here are some links to help you further:
http://www.codeblog.ch/en/2009/01/concrete5-theme-erstellen/...
http://www.concrete5.org/help/building_with_concrete5/developers/th...
Neville