Calendar help

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
Muzzy

Calendar help

Post by Muzzy »

I have just installed the stable version of Calendar and input this tag into the page:

{cms_module module="calendar"}

There is no help file in the Modules list, so I don't know how to get the bigger version to show up in the page. Does anyone have a list of the tags and options for this module please?

Mike.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Calendar help

Post by Dr.CSS »

Muzzy

Re: Calendar help

Post by Muzzy »

Hi Mark.

Bless you my friend.
Followed your previous thread, then the link and downloaded the file. All is well now, have the help file details for the module call.

Cheers.
Mike.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Calendar help

Post by Dr.CSS »

yea fun having to hunt this stuff down  :D
i had three installs and then  WHAT?
an older one had it then new one 'poof'...

  mark
Muzzy

Re: Calendar help

Post by Muzzy »

Hi Mark.

Truly you are the CMSMS Guru my friend.

Just been looking at your site, how do you do the Blog thing in CMSMS. Are you going to release this as a module, its really cool, something we could all do with.

Mike.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Calendar help

Post by Dr.CSS »

in the middle of using it on new site...
when done will release it as module i guess...
my site blog is real proprietary as in the templates are hacked to show things in diff. boxes..
new site uses it strait up...
mine  http://www.multiintech.com/debra/index. ... =blog  please don't add any comments on my site of hers    thanx
original site  http://www.debrasalonen.com/blog/

working on moving her over to CMSMS...

    mark
Muzzy

Re: Calendar help

Post by Muzzy »

Hi.

Have uploaded the php file and now got the help file for the module codes I needed, but it won't display in "Big".

Is this a problem because I am using the latest version of CMSMS? I put the following code in the page:

{cms_module module="Calendar" table_id="big"} which should show a large calendar.

But if you look at the site here http://www.rocky-road.org/backend/index.php/calendar it only shows up little. Not what I want it to do.

I also notice that some of the admin icon graphics are not showing up since I uploaded the new CMSMS, can anyone tell me why they are missing and how do I get them to show up.

Any help or code hacks would be appreciated.

Mike.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Calendar help

Post by Dr.CSS »

know not about the admin panel do i ...
you will see at the bottom of the Calendar Help a CSS for the calendar it has the Big settings in it that you need to add to one of your CSS files or just copy it for Calendar as a new CSS and attach it to the Template that uses the Calendar... looking at your site i see no CSS for the Calendar... no direct call for any of the calendar class' ........
Muzzy

Re: Calendar help

Post by Muzzy »

Durrrrrrrr!

Sorry Mark, trust me to forget the most simple of explanations, attach the css sheet.

Many thanks my friend.
Mike.
Muzzy

Re: Calendar help

Post by Muzzy »

Hi.

Have just taken a look, but the supplied css example file does not show up. Do you think it is not working, if so would you know where I can download a fresh copy please?

Mike.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Calendar help

Post by Dr.CSS »

it should be at the bottom of the "Help"...

Templates

All four types of display used on the front end are controlled from templates that can be changed in the admin. If you want to reset a template back to the default, then delete the entire template content in the admin and it will be reset on the next display of that calendar view on the front end site.
Sample CSS Styles

This is a set of example CSS rules to make the calendar view look good. To see in action use:

{cms_module module='Calendar' table_id='big'}

Rules:

    /* make all links red */
    .calendar tr td a
    {
    color: red;
    }

    /* highlight "today" for the small calendar */
    .calendar-today
    {
    font-weight: bold;
    }

    /* display the "upcominglist" as one line per entry (assuming table_id='cal-upcominglist') */
    #cal-upcominglist .calendar-date-title
    ,#cal-upcominglist .calendar-summary-title
    {
    display: none;
    }

    #cal-upcominglist h2
    ,#cal-upcominglist .calendar-date
    ,#cal-upcominglist .calendar-summary
    {
    display: inline;
    margin-right: 5px;
    }

    /* tidy up text sizes for lists */
    #cal-list h1, #cal-upcominglist h1
    {
    color: red;
    font-size: 120%;
    }
    #cal-list h2, cal-upcominglist h2
    {
    font-size: 110%;
    }

    /** large calendar rules (assuming table_id='big') **/
    /* border on for #big */
    #big{
    margin: 0px;
    border-collapse:    collapse;
    border: 1px solid black;
    }

    /* nice squares for the #big table */
    #big th
    {
    border: 1px solid black;
    padding: 3px;
    width: 75px;
    }

    #big td {
    border: 1px solid black;
    vertical-align: top;
    padding: 3px;
    height: 75px;
    width: 75px;
    }

    /* format summaries nicely in #big */
    #big ul
    {
    margin: 0px;
    padding: 0px;
    padding-left: 5px;
    }

    #big li
    {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    }

    /* background colours for #big */
    #big td
    {
    background-color: silver;
    }

    #big .calendar-day
    {
    background-color: #80ff80;
    }

    #big .calendar-today
    {
    font-weight: normal;
    background-color: #8080ff;
    }

    .calendar-event .calendar-date-title,
    .calendar-event .calendar-summary-title,
    .calendar-event .calendar-details-title
    {
    display: none;
    }

Parameters

    * (optional) lang="en_US" - Parameter is used to specify what language to use for display on the frontend. Not all modules support or need this.
Muzzy

Re: Calendar help

Post by Muzzy »

Mark.
As usual you are a star my friend.

God bless you.
Mike.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Calendar help

Post by Dr.CSS »

oh gosh...  :-[  i'm just glad i could help...
Locked

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