It's SUPER CALENDAR!! You asked for it... The latest and greatest AJAX calendar is available now. There's lots of new features and a visual refresh included, so go get it now!
18 Comments | 6213 days old | Direct Link
I finally got it working, after replacing addresses in the code with full paths. I even managed to integrate it with an existing 'events' table
This is a great looking calendar!
But is there any way to replace the 'event' in the calendar with the title of the event? Or put the title of the event in the title=".." of the link, so you'll get at tooltip showing which event it is?
I've tried replacing 'event' in the code with ".$row['heading']." and several variations, but couldn't get it to work.
Hi, first of all, thank you for this nice looking calendar. I did a lot of searchign to find an calendar like yours. But unfortunately I did not get this script to run! Even when I tried to use full paths, it always refuses to connect to the database (YES! I checked my username, password, database name, table name and so on...)And this happens both in the super_calendar.php and super_calendar_admin.php
Does this script require a specific PHP Version (4? 5?)
What else can I re-check to get this calendar running?
I would appreciate any help with this script!
Buzz
I'll try to answer both questions here...
Changing the event text to an event heading is doable, but will require some customization of the php file. I don't recommend it because the calendar cells are too small to hold the event heading, and it doesn't look very good imho.
You may try using a persistent db connection in the php file, but other than that, I really can't offer much more help. It should run fine on php4+, it's running on php5 on my site now.
Thanks again Marty. I agree putting entire event headings into the calendar wouldn't look good.
I wanted to try to put the heading in title=".." in the link, but the calendar makes it easy enough just to click on the link, so it's not a priority.
But having a lot of 'event', 'event', 'event' in a month looks a bit silly. Not sure what would be a better solution. Color background?
I'll try to come up with something...
I received a user suggestion, and I though I would share it with everyone. Tim suggests an method of choosing dates in the 'jump box'. I haven't tested the code, but it does look ok.
In your super calendar, pass month & year to jump menu, then have it select the correct month/year in the dropdown, and make the year range dynamic +/- 2 years:
php: onClick='showJump(this,\"$name\",".substr($year,-2,2).")'js: showJump(obj,month,year){ ... var selected=''; for(var i=0;i<12;i++) { n = ((i+1)<10)? '0'+(i+1):i+1; if(months[i] == month){ selected = 'selected'; } else { selected = '' } output += '<option '+selected+' value="'+n+'">'+months[i]+' </option>\n'; } output += '</select> \n<select id="year">\n'; for(var i=year-2;i<=year+2;i++) { n = (i<10)? '0'+i:i; if(i == year){ selected = 'selected'; } else { selected = ''; } output += '<option '+selected+' value="20'+n+'">20'+n+' </option>\n'; }
Though I was having a few issues, this is a super calender I was getting a database error saying no database selected but I I declared the database and called it using mysql_select_db(($variablename,$db)and it works perfectly fine.
I've successfully modded this calendar to list multiple events per day using this: <pre> while ($row = mysql_fetch_array($result)) { $p_name = $row[\"body\"]; $p_id = $row[\"heading\"]; $pt_list.= \"<a href=\\\"$p_id\\\" class=\\\"calLink\\\">$p_id</a><br />\"; } </pre> in place of this: <pre> $row = mysql_fetch_row($result); </pre>
I can list multiple events but the events from the previous day show up during that same month. For example, the first will have Event A and Event B both listed correctly. The 15th has Event C and Event D in the database, but shows Event A, Event B, Event C, and Event D on the calendar.
I feel like I am missing something really simple here. Any thoughts?
I messed up my code up above. Here's the correct code:
while ($row = mysql_fetch_array($result)) { $p_name = $row["body"]; $p_id = $row["heading"]; $pt_list.= "<a href=\"$p_id\" class=\"calLink\">$p_id</a><br />"; }
Hi.. the calendar looks greattt, i liked it, it's very useful and nice. i want to ask if the calendar support the arabic text. becuase i want to add some events in arabic and thank you in advance..
I am wondering if there is any way to get the calendar to start the week with monday instead of a sunday ?? that is the most common european way to have a calendar .. Siddus
Goto Pastebin http://pastebin.ca/1256919 Ive pasted the code there
Am I supposed to be able to drag events from one day to another?
Is there a way to display multiple calendars? I've tried giving them their own file names, folders, etc.. I even tried giving each it's own DB but only one will display (although the spacing is there to allow them, the second and third just do not show up)
I've installed Super Calendar on a client's site, and they report that using a single quote in a calendar event causes the browser to hang in IE8 when the event's detail is viewed ... but this isn't the case in other browsers.
What a good looking calendar! Easy to include in page, although I had to change some directories. PHP, MySql and designing webpages is all new to me, so you have done a good job making the calendar.
I have one challenge left that I\ve been struggeling with for a couple of days. When saving an event, only the first word in the header and in the event text itself is appearing as an event in the calendar. Checked in MySql database, and the rest of the text is also missing there. Got it working for a while by inserting some spaces in this line:
Line 532: <div class="field"><span class="label"> </span><span class="box"><input type="submit" value=" Save Event " /></span></div> But not anymore... Anyone got a clue what might cause this problem?
Read about one other guy who had the same problem...anybody else?
Best regards Martin
Thanks, it’s very interesting. I wish you all the best. femmes russes russische frauen
Whatever I seen before seeing this that was not as better as this is. So I can say that this is the more effective and best. <a href="http://www.shopeastwest.com/med/health-wellness/Namenda/340.html">Namenda</a> is the best to order from online
Hey nice blog, just wondering what spam application you use for comments because i get a lot on my blog.
<a href="http://www.logoonlinepros.co.uk/">Logo Design</a> | <a href="http://www.logoonlinepros.com/">Corporate Logo Design</a>
COMMENTS CLOSED DUE TO SPAMMERS
Nobody is going to buy your viagra and gucci bags just because you post 1000 links on an obscure blog!
Contact me if you want to post a comment