Changing Calendar to show Grid all the time

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
bouschie
Forum Members
Forum Members
Posts: 19
Joined: Sat Jun 14, 2008 3:05 am

Changing Calendar to show Grid all the time

Post by bouschie »

Hi,
I would like to create a calendar that looks something like this: http://campaign-demo.com/cms/index.php?page=calendar

I am running CMS 1.4.1 and the Calendar 0.8.2 module. Any help you could give me would be great.
jans
Forum Members
Forum Members
Posts: 87
Joined: Thu Mar 16, 2006 11:28 pm

Re: Changing Calendar to show Grid all the time

Post by jans »

I guess we are barking at an abandoned tree here, there are lots of problems with calendar but I guess the dev is drowning himself in whiskey because of the many questions about his new version.

This rid was one of the questions I asked him before bu got no answer as what soever (I called it calendar template)

I guess there is nothing else to do then wait for a next version and hope he soreted out his sh..yt
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Changing Calendar to show Grid all the time

Post by RonnyK »

What is the exact issue you are addressing. By default the calendar has such a look, only when selecting one event, you dive into its details and the grid isnt showing anymore?

Ronny
jans
Forum Members
Forum Members
Posts: 87
Joined: Thu Mar 16, 2006 11:28 pm

Re: Changing Calendar to show Grid all the time

Post by jans »

Without wanting to break into someones thread I'd like to say that after upgrading to version 1.0 my layout of calendar is shot to h*ll and I see only a small text version (not I have shortened the day text by hand )

see it at; http://www.jsnijder.nl/index.php?page=kalender

I just want the layout as in the before given link back please (also in the left side menu I had a nice grid calndar but it's also gone now), see at; http://www.jsnijder.nl/  (bottom left)


Please help us :)
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Changing Calendar to show Grid all the time

Post by RonnyK »

And you do have stylesheet "Calendar CSS example v0.9" attached to your template?

Ronny
jans
Forum Members
Forum Members
Posts: 87
Joined: Thu Mar 16, 2006 11:28 pm

Re: Changing Calendar to show Grid all the time

Post by jans »

????? how do I do that and where an I see that ?

could it be that with the update the template / stylesheet is overwritten ?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Changing Calendar to show Grid all the time

Post by RonnyK »

Under Layout -> Templates, and then the CSS-button on the right of your template used.... Check if the stylesheet is attached, and otherwise attach it, using the selection-box on the bottom of all attached stylesheets.

Ronny
jans
Forum Members
Forum Members
Posts: 87
Joined: Thu Mar 16, 2006 11:28 pm

Re: Changing Calendar to show Grid all the time

Post by jans »

It is attached but still it's the sam ugly cal.

I could give you temp admin access for you to see if you need to check some, please let me know on my mail adrress
jans
Forum Members
Forum Members
Posts: 87
Joined: Thu Mar 16, 2006 11:28 pm

Re: Changing Calendar to show Grid all the time

Post by jans »

Aaaach what the heck, here's my template




/* 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;
}
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm
Location: Comox Valley, BC

Re: Changing Calendar to show Grid all the time

Post by Nullig »

@Digitalchef

The table_id parameter (and I suppose, the old Calendar stylesheet) doesn't apply to Calendar v 1.0, only the older versions. Calendar 1.0 is a completely new Module, based on the old one, but not compatible.

Nullig
jans
Forum Members
Forum Members
Posts: 87
Joined: Thu Mar 16, 2006 11:28 pm

Re: Changing Calendar to show Grid all the time

Post by jans »

I use the stylesheet as posted, with the right tag table_id='big'


The stylesheet for the version 1.0 is exactly the same as posted (and so is old one) one the new version just uses other tag names, no more no less so it should work.

I guess there is a serious problem with calendar, and seen as the developer does not react to the peoples problems I think he knows it too but can't find the answer.

Reverting back to an older version does not solve the problem simply because teh complete dB is emptied by the upgrade and so all settings where erased too I guess.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Changing Calendar to show Grid all the time

Post by RonnyK »

I have got Calendar (for testing) running here. And it shows as expected.

http://ronnyk.dyndns.org/cmsms1svn/inde ... e=calendar

Ronny
jans
Forum Members
Forum Members
Posts: 87
Joined: Thu Mar 16, 2006 11:28 pm

Re: Changing Calendar to show Grid all the time

Post by jans »

Ronny would you be so nice and take a look at my cmsms then I can mail you an admin id, whatever I trie it WILL not work at all, and on top of that after upgrading I can't add an item and get error's

PLease ? :)



RonnyK wrote: I have got Calendar (for testing) running here. And it shows as expected.

http://ronnyk.dyndns.org/cmsms1svn/inde ... e=calendar

Ronny
jans
Forum Members
Forum Members
Posts: 87
Joined: Thu Mar 16, 2006 11:28 pm

Re: Changing Calendar to show Grid all the time

Post by jans »

Looks like it's solved, I hand copied the css to the used css in cmsms and reloaded, now t does work, strange because it is the same as I did before and at that time it did not work.

Okay now the template seems to work I'd like to try and get the calendar add an item to work who can and is willing to help me with that ?
jans
Forum Members
Forum Members
Posts: 87
Joined: Thu Mar 16, 2006 11:28 pm

Re: Changing Calendar to show Grid all the time

Post by jans »

Ooops, not quite, please take a look at this link;  http://www.jsnijder.nl/

How can I change the calendars vertical an horizontal size in the menu bar ?
Post Reply

Return to “Modules/Add-Ons”