LAMP How To – Open Source At Work

Only Passion Matters

Entries Tagged ‘quick calendar’

Quick Calendar: Using Other DB Instead of MYSQL

Using other DB instead of MYSQ is straight forward because mysql built-in functions are only used in 3 areas. The SQL are not perculiar to MYSQL and should be compatible with any other DB.
1. In config.php (about line 20 to 27), change the mysql functions there, ie instead of ‘mysql_connect’, use ‘pg_connect’ for example.
2. In [...]

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • StumbleUpon
  • Technorati
  • LinkedIn
  • MySpace
  • Slashdot
  • TwitThis
  • Yahoo! Buzz

Creating Your Own Theme

1. Under themes, duplicate the skeleton theme and give a new theme name to the new directory created.

2. In view/calendar.css, replace all style name with .yourtheme.
3. In view/longdesc.css, replace all style name with .yourtheme_longdesc.
4. Change the class name in both model/Calendar.php and model/Longdesc.php to QCalendarYourtheme and LongdescYourtheme.
4. Now the big headache, add in the logic [...]

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • StumbleUpon
  • Technorati
  • LinkedIn
  • MySpace
  • Slashdot
  • TwitThis
  • Yahoo! Buzz

Software Architecture

Although the calendar is ajaxian, it is actually 90% PHP and 10% Ajax/Javascript. The core logic is written in PHP and Ajax just comes in to improve user experience. One of the main features of the calendar lies in its efficient method of creating the right date to populate the calendar cells. I wrote about [...]

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • StumbleUpon
  • Technorati
  • LinkedIn
  • MySpace
  • Slashdot
  • TwitThis
  • Yahoo! Buzz

PHP Quick Calendar Demo

I have created a few calendar templates to start with. The source code is available in the download.
1. Tiny Calendar – As the name implies, it is very small and portable. Only highlight dates with events and does not overwhelm the users with a lot of information.

2. Plain Calendar – Simple and clean. Does not [...]

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • StumbleUpon
  • Technorati
  • LinkedIn
  • MySpace
  • Slashdot
  • TwitThis
  • Yahoo! Buzz

Quick Calendar officially known as ‘PHP Quick Calendar’

I was thinking of a good name for the calendar. I decided to use a functional name, “PHP Quick Calendar”. Well, doesn’t sound too cool, does it? I have also package it under GNU license. I am in the process of doing another template and will release for download soon.

Share and Enjoy:

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • StumbleUpon
  • Technorati
  • LinkedIn
  • MySpace
  • Slashdot
  • TwitThis
  • Yahoo! Buzz