Newbie Calendar "false" and spacing
Newbie Calendar "false" and spacing
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
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.
Re: Newbie Calendar "false" and spacing
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!
http://www.heartsforjesus.org/index.php ... 63&page=63
I have CMSMS Version 1.01 and Calendar Version 0.7.3
Thanks!
Re: Newbie Calendar "false" and spacing
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....
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....
Re: Newbie Calendar "false" and spacing
Thanks!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....
Re: Newbie Calendar "false" and spacing
Any idea on the wierd spacing... see heremark 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....
http://oldstonechurchucc.org/index.php?page=calendar
Not sure where to mess around in the css. seems nothing is changing it.
George
Re: Newbie Calendar "false" and spacing
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}
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}
Re: Newbie Calendar "false" and spacing
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 helpmark 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}

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;
}
Re: Newbie Calendar "false" and spacing
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.
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.
Re: Newbie Calendar "false" and spacing
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
.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
Re: Newbie Calendar "false" and spacing
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.
Re: Newbie Calendar "false" and spacing
Don't kill me but here goes: If I take the info you posted where in the calendar css shown above to I paste?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.
Thanks
Re: Newbie Calendar "false" and spacing
Here is a quick solution I found and the calendar looks nice toomark 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.
http://forum.cmsmadesimple.org/index.ph ... 630.0.html
Yorgi