Newbie Calendar "false" and spacing

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
yorgi63
Forum Members
Forum Members
Posts: 108
Joined: Fri Aug 25, 2006 4:35 pm

Newbie Calendar "false" and spacing

Post by yorgi63 »

Hi,

Newbie here trying to wrap my head around CMS. I am dong a site for my Chruch. In the calendar module I have two problems one is the word "false" appears at the top of the calendar. I see it in the source code but cannot for the life of me find it style sheet or template.

Also the spacing is screwed up on the caldenar. how do I fix this?

These may sound like simple questions but any help is appreciated.

Here is the link to see what I mean

http://oldstonechurchucc.org/index.php?page=calendar

Thanks
Last edited by yorgi63 on Thu Sep 21, 2006 4:18 pm, edited 1 time in total.
kaine

Re: Newbie Calendar "false" and spacing

Post by kaine »

The same thing is happening to me. 

http://www.heartsforjesus.org/index.php ... 63&page=63

I have CMSMS Version 1.01 and Calendar Version 0.7.3

Thanks!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Newbie Calendar "false" and spacing

Post by Dr.CSS »

Found it, Line 83 in the  function.displaycalendar.php ...which you will find in modules/calendar

    echo "DEBUG inline = ".(!$debug) ? 'false' : 'true' . '';

delete the word false, just the word not the ' '  have no idea where to set debug so this will have to do for now till the Dev for calendar swings around....
kaine

Re: Newbie Calendar "false" and spacing

Post by kaine »

Thank you so much!!!!!  It was driving me nuts!!
yorgi63
Forum Members
Forum Members
Posts: 108
Joined: Fri Aug 25, 2006 4:35 pm

Re: Newbie Calendar "false" and spacing

Post by yorgi63 »

mark wrote: Found it, Line 83 in the  function.displaycalendar.php ...which you will find in modules/calendar

    echo "DEBUG inline = ".(!$debug) ? 'false' : 'true' . '';

delete the word false, just the word not the ' '  have no idea where to set debug so this will have to do for now till the Dev for calendar swings around....
Thanks!
yorgi63
Forum Members
Forum Members
Posts: 108
Joined: Fri Aug 25, 2006 4:35 pm

Re: Newbie Calendar "false" and spacing

Post by yorgi63 »

mark wrote: Found it, Line 83 in the  function.displaycalendar.php ...which you will find in modules/calendar

    echo "DEBUG inline = ".(!$debug) ? 'false' : 'true' . '';

delete the word false, just the word not the ' '  have no idea where to set debug so this will have to do for now till the Dev for calendar swings around....
Any idea on the wierd spacing... see here

http://oldstonechurchucc.org/index.php?page=calendar

Not sure where to mess around in the css. seems nothing is changing it.

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

Re: Newbie Calendar "false" and spacing

Post by Dr.CSS »

There is a CSS example in the Help for calendar, go to extensions>modules and on the right side is the word Help click it and you get the help, near the bottom should be the style sheet, copy/paste into a new one and attach to template.

This is what I thru together looking at your site...

.calendar td{margin:15px;padding:15px}
.calendar tr{margin:15px;padding:15px}
.calendar li{list-style:none;margin:0;padding:0}
.calendar-today{padding:0;margin:0}
yorgi63
Forum Members
Forum Members
Posts: 108
Joined: Fri Aug 25, 2006 4:35 pm

Re: Newbie Calendar "false" and spacing

Post by yorgi63 »

mark wrote: There is a CSS example in the Help for calendar, go to extensions>modules and on the right side is the word Help click it and you get the help, near the bottom should be the style sheet, copy/paste into a new one and attach to template.

This is what I thru together looking at your site...

.calendar td{margin:15px;padding:15px}
.calendar tr{margin:15px;padding:15px}
.calendar li{list-style:none;margin:0;padding:0}
.calendar-today{padding:0;margin:0}
Thanks again but where do I place this? Code is below. I am guessing I am not the only one out there withthis jus the only one willing to say I need help  ;D

CALENDER STYLES */

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

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

    /* 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: 15px;
    border-collapse:    collapse;
    border: 0px solid black;
    }

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

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

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

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

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

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

    #big .calendar-today
    {
    font-weight: normal;
    background-color: #408CB3;
    }

    .calendar-event .calendar-date-title,
    .calendar-event .calendar-summary-title,
    .calendar-event .calendar-details-title
    {
    display: none;
    }
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Newbie Calendar "false" and spacing

Post by Dr.CSS »

Well you know how you pasted it here, paste it into a style sheet.
go to Layout » Stylesheets then click Add a Stylesheet in next window paste and name then submit.
go to Layout » Templates and on the right side click the orange CSS icon and find the new style sheet in the drop down click it then click the Add a Stylesheet button.
yorgi63
Forum Members
Forum Members
Posts: 108
Joined: Fri Aug 25, 2006 4:35 pm

Re: Newbie Calendar "false" and spacing

Post by yorgi63 »

Ok did that but where do I add the info:
.calendar td{margin:15px;padding:15px}
.calendar tr{margin:15px;padding:15px}
.calendar li{list-style:none;margin:0;padding:0}
.calendar-today{padding:0;margin:0}

I see where the big li is but not sure of anything else.

Once again here it is: http://oldstonechurchucc.org/index.php?page=calendar

when I add an event it shifts the whole thing to one and it looks lousy. Is there perhaps a template I can add or chage.

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

Re: Newbie Calendar "false" and spacing

Post by Dr.CSS »

That can be pasted into any CSS that is attached to your template including the calendar CSS above, but it or the other one may mess with each other if they have the same 'calls' in them.
yorgi63
Forum Members
Forum Members
Posts: 108
Joined: Fri Aug 25, 2006 4:35 pm

Re: Newbie Calendar "false" and spacing

Post by yorgi63 »

mark wrote: That can be pasted into any CSS that is attached to your template including the calendar CSS above, but it or the other one may mess with each other if they have the same 'calls' in them.
Don't kill me but here goes: If I take the info you posted where in the calendar css shown above to I paste?

Thanks
yorgi63
Forum Members
Forum Members
Posts: 108
Joined: Fri Aug 25, 2006 4:35 pm

Re: Newbie Calendar "false" and spacing

Post by yorgi63 »

mark wrote: That can be pasted into any CSS that is attached to your template including the calendar CSS above, but it or the other one may mess with each other if they have the same 'calls' in them.
Here is a quick solution I found and the calendar looks nice too

http://forum.cmsmadesimple.org/index.ph ... 630.0.html

Yorgi
Post Reply

Return to “Modules/Add-Ons”