[solved] Question Regarding Customizing CMSMS
-
- Forum Members
- Posts: 30
- Joined: Mon Jan 12, 2009 11:29 am
[solved] Question Regarding Customizing CMSMS
Please can someone help me?
I am new to CMSMS so trying to get my head around it, apologies if this is a silly question.
I'm trying to build my own website and hand code all the css and html myself, so I want to customize my layout, am I right in saying that 'Page' is for your content, 'The Template' is for your html and the stylesheet is where you add your css? my question really is that if you add just the content into the 'page part' without any divs how does it know to render your content properly, for example I have different div classes #box1 #box2 etc on my page (all with different styles and layouts)?
I would really appreciate your help
Many thanks!
I am new to CMSMS so trying to get my head around it, apologies if this is a silly question.
I'm trying to build my own website and hand code all the css and html myself, so I want to customize my layout, am I right in saying that 'Page' is for your content, 'The Template' is for your html and the stylesheet is where you add your css? my question really is that if you add just the content into the 'page part' without any divs how does it know to render your content properly, for example I have different div classes #box1 #box2 etc on my page (all with different styles and layouts)?
I would really appreciate your help
Many thanks!
Last edited by chipper_001 on Tue Jan 13, 2009 6:31 pm, edited 1 time in total.
Re: Question Regarding Customizing CMSMS
chipper_001,
check one of the default templates that come with the install....
The template, are for structuring the site, all divs are in the template. The template has attached stylesheets for the styling.
When you create a page, the page is attached to a template, and thus gets the structure/styling belonging to the template.
Ronny
check one of the default templates that come with the install....
The template, are for structuring the site, all divs are in the template. The template has attached stylesheets for the styling.
When you create a page, the page is attached to a template, and thus gets the structure/styling belonging to the template.
Ronny
-
- Forum Members
- Posts: 30
- Joined: Mon Jan 12, 2009 11:29 am
Re: Question Regarding Customizing CMSMS
Hi Ronny, thanks for that but what I don't understand is that if on the page i write something like ...
I want this paragraph to take the div style of #box1
and I want this paragraph to take the styles of #box2
What I dont get is if i dont include the div tags in my page, how does it now to apply box1 styles to the 1st paragraph and box2 styles to the 2nd paragraph?
Thanks
I want this paragraph to take the div style of #box1
and I want this paragraph to take the styles of #box2
What I dont get is if i dont include the div tags in my page, how does it now to apply box1 styles to the 1st paragraph and box2 styles to the 2nd paragraph?
Thanks
Re: Question Regarding Customizing CMSMS
chipper_001, I suspect that you first need some basic skills in CSS and XHTML before asking something like that.
But, lets say:
CMSMS works with tags like {title} and {content} and you can write something like that:
{title}
{content}
Hope that help
But, lets say:
CMSMS works with tags like {title} and {content} and you can write something like that:
{title}
{content}
Hope that help
-
- Power Poster
- Posts: 424
- Joined: Sat Feb 02, 2008 12:42 am
- Location: USA
Re: Question Regarding Customizing CMSMS
chipper_001, I think what you're looking for is adding additional content blocks and/or GCBs (global content blocks).
See:
http://wiki.cmsmadesimple.org/index.php/FAQ2#How_to_add_multiple_content_blocks
http://wiki.cmsmadesimple.org/index.php/User_Handbook/Admin_Panel/Content/Global_Content_Blocks
See:
http://wiki.cmsmadesimple.org/index.php/FAQ2#How_to_add_multiple_content_blocks
http://wiki.cmsmadesimple.org/index.php/User_Handbook/Admin_Panel/Content/Global_Content_Blocks
Take a penny, leave a penny.
-
- Forum Members
- Posts: 30
- Joined: Mon Jan 12, 2009 11:29 am
Re: Question Regarding Customizing CMSMS
Hi aozuas,
I understand how to write xhtml and the css, what I don't understand yet is how cmsms works and how I can customize it to read correctly my html and css that I have written. I know what you are saying but my box1 and box2 divs are both content?? not 1 being a title and 2 being the content? I'm confused
Thanks
I understand how to write xhtml and the css, what I don't understand yet is how cmsms works and how I can customize it to read correctly my html and css that I have written. I know what you are saying but my box1 and box2 divs are both content?? not 1 being a title and 2 being the content? I'm confused
Thanks
-
- Forum Members
- Posts: 30
- Joined: Mon Jan 12, 2009 11:29 am
Re: Question Regarding Customizing CMSMS
Hi Ziggywigged,
Thanks I think that could be what I'm looking for but how to you still apply that to your page? say you 2 or more paragraphs on your page, and you want them all to take different styles, so you add different content blokes but how does the paragraphs within your page know which content block to attach itself to?
or do you have to create a different page for each div?
Thanks
Thanks I think that could be what I'm looking for but how to you still apply that to your page? say you 2 or more paragraphs on your page, and you want them all to take different styles, so you add different content blokes but how does the paragraphs within your page know which content block to attach itself to?
or do you have to create a different page for each div?
Thanks
Re: Question Regarding Customizing CMSMS
It is like this say you have in template...
{content}
{content block="content2"}
Now when you edit/add page you get...
Content: edit box
Content2: edit box
Now if you are just concerned about styling specif paragraghs/ somewords in any of your edit boxes then you need to put a class call in your CSS so when editing you hilite or before you write words hit the Style drop down and assign the class to it...
{content}
{content block="content2"}
Now when you edit/add page you get...
Content: edit box
Content2: edit box
Now if you are just concerned about styling specif paragraghs/ somewords in any of your edit boxes then you need to put a class call in your CSS so when editing you hilite or before you write words hit the Style drop down and assign the class to it...
-
- Forum Members
- Posts: 30
- Joined: Mon Jan 12, 2009 11:29 am
Re: Question Regarding Customizing CMSMS
Many thanks to you all, I've understand now, yeah sorry didn't know you you added more content blocks you had those sperate options come up when you add/edit a page
Thanks so much, all solved!
Thanks so much, all solved!
Re: Question Regarding Customizing CMSMS
OK is [solved] so go to first post and add that to subject line...
-
- Forum Members
- Posts: 30
- Joined: Mon Jan 12, 2009 11:29 am
[Solved] Re: Question Regarding Customizing CMSMS
Sorry, all solved