[Solved] Calendar appearance

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"
Post Reply
devlin7
New Member
New Member
Posts: 7
Joined: Thu Jul 31, 2008 8:13 am

[Solved] Calendar appearance

Post by devlin7 »

Hi. I stumbled on cmsms a few days ago after spending the last 6 weeks trying a variety of BIG name CMS packages. It was quite frustrating in that they all had some but not all of the features I want. So I am running CMSMS version as of two days ago and in that time I have basically redesigned our existing website. [I am not a web designer nor can I afford the quotes that I have received of $20,000+]

I have a few quick queries.

1) How to change the appearance of the calendar. I know it is just a matter of scripting and I wondered whether someone might like to share their template? I would like something a little bigger in tabled or boxed format.

2) I like the basic two column template that comes with CMSMS but is there a three column template other than Andreas1?

3) Is there a way to upload multiple images? I saw a post from 8 moths ago that said "No", has this changed?

4) Does anyone know how to centre banners? My alternating banners look fab at 1024x768 but are off centred to the left on any other size.

BTW - I am really impressed with CMSMS
Last edited by Anonymous on Sat Aug 02, 2008 1:50 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Calendar appearance

Post by RonnyK »

devlin7,

1) I did some Calendar styling, see the calendar on the right side of http://shadowmc.nl/ clicking to an event will show another styling. That is a template, stylesheet that I can give you.

2) Any template can hold 3 columns, just insert another div and off you are. See the same website again.

3) You can upload multiple images, as the FileManager supports uploading/unpacking zip and tar-archives.

4) you could align using the align='center' or another way, through the stylesheet.

Could you show some link, that would help in giving pointers....

Ronny
sn3p
Forum Members
Forum Members
Posts: 169
Joined: Mon Oct 15, 2007 2:27 pm

Re: Calendar appearance

Post by sn3p »

1) The Calendar module comes with default templates (Content > Calendar). You can change the templates to your liking, and apply CSS to it. The module also comes with a CSS file (found in modules/Calendar/css). Read the Calendar help for all the options.

2) You could make you own template if the default dose not suit you. Examples of 3 column templates are probably to be found in the Layout and Design board.

3) If you are refering to the Image Manager I don't think multiple uploads are supported, but if you use the File Manager you can upload multiple files at once.

4) Not sure what you mean, can you give an example/screenshot?
To center content use align="center" (html) or use text-align:center; (css)
devlin7
New Member
New Member
Posts: 7
Joined: Thu Jul 31, 2008 8:13 am

Re: Calendar appearance

Post by devlin7 »

Thanks Ronny. It is all so simple when you know how I guess.I have gone from zero to almost website in under two days. Yes, I like your calendars.

If I dev off a new section how do  I get information in there? When I create a page with the 2 column template I have, a WYSIWYG editor for the left column and the main page. When I tried Andreas01 template it only gave me an editor for the main page and I wasn't sure how to add stuff to the left and right columns.

My website isn't live on the web yet as I am just tinkering with CMSMS.

Thanks for your help.
devlin7
New Member
New Member
Posts: 7
Joined: Thu Jul 31, 2008 8:13 am

Re: Calendar appearance

Post by devlin7 »

My banners are 970x200 pixels and this seems to fit a 1024x768 screen perfectly using IE. With firefox the banners site a few pixels off to the left at 1024x768. At higher resolutions the banner seems to sit further and further to the left, I guess because the rest of the website is resizing.
sn3p
Forum Members
Forum Members
Posts: 169
Joined: Mon Oct 15, 2007 2:27 pm

Re: Calendar appearance

Post by sn3p »

There is a smarty tag to add a content block in your template, which gives you an extra WYSIWYG for that block. ie:

Code: Select all

{content block="Left column content"}
The banner issue is still not clear to me..

CMSMS is great and easy to use, but it needs some effort to learn it's features. There's alot of help and examples on the site/forum so that would be a good place to start.
devlin7
New Member
New Member
Posts: 7
Joined: Thu Jul 31, 2008 8:13 am

Re: Calendar appearance

Post by devlin7 »

Well my calendar looks much better now. I had changed the page template and unfortunately this template didn't have the calendar styesheet attached. The result was that I had a very crude looking calendar. Now it is boxed and looks just dandy.

Currently reading the forums trying to resolve my other issues.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Calendar appearance

Post by Dr.CSS »

If you have the banners in a div you can use the margin auto to center it, but you have to give the div a width before it will work...

Best to put a div around it,     ...

#banner {width:970px; height:200px; margin: 0px auto;}

You can give it margin on top and bottom, margin: 10px auto 30px;...

Always in CSS: 1 number all sides, 2 #s top/bottom and right/left, 3 #s top right/left bottom, 4 #s top right bottom left, clockwise...
devlin7
New Member
New Member
Posts: 7
Joined: Thu Jul 31, 2008 8:13 am

Re: Calendar appearance

Post by devlin7 »

Thanks Mark. It took me a little while to work out what you were saying but I now have centred banners. I have also added the third column that I wanted using DIV also.

Thanks to everyone who poseted.

SOLVED
Post Reply

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