How to create a content block?

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
kuroi

How to create a content block?

Post by kuroi »

I've installed CMSMS today and am really impressed. Much of it is very intuitive and easy to work with. So I just know that I'm about to ask some dumb questions ... please bear with me.

I want to create a 2 column layout (with horizontal nav). I understand that I can simply insert {content block='column1'} and {content block='column2'} into my template and use layout stylesheet to position them. My question is, how do create a content block as opposed to a page. Or do I create them as pages and in effect have two pages for every actual page (in which case how would I name them as I would then have a column1 and column2 for almost everypage.

I just know I'm going to be really embarassed when I get an answer, but hey, go ahead, I can take it :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How to create a content block?

Post by Dr.CSS »

have you looked here...
http://themes.cmsmadesimple.org/Full_Themes.html
2 col. template with news and horiz. menu all ready for download...
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: How to create a content block?

Post by calguy1000 »

This is very simple, a  "page" is made up of content blocks as determined by the template.  so if there are two content blocks in your template, when you create a new page using that template, you'll get two text areas to edit content in.

As a tip, one content block has to be the default, i.e.: {content} and {content block="column2"} 
kuroi wrote: I've installed CMSMS today and am really impressed. Much of it is very intuitive and easy to work with. So I just know that I'm about to ask some dumb questions ... please bear with me.

I want to create a 2 column layout (with horizontal nav). I understand that I can simply insert {content block='column1'} and {content block='column2'} into my template and use layout stylesheet to position them. My question is, how do create a content block as opposed to a page. Or do I create them as pages and in effect have two pages for every actual page (in which case how would I name them as I would then have a column1 and column2 for almost everypage.

I just know I'm going to be really embarassed when I get an answer, but hey, go ahead, I can take it :)
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
kuroi

Re: How to create a content block?

Post by kuroi »

Thanks Calguy1000.

I was looking for a way of creating content before actually adding the placeholders to the template. Now I realise the error of my ways, as you say and I expected this is very straightforward. Congratulations on producing a great CMS.
Locked

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