phpWebSite Manual
phpWebSite Manual

phpWebSite Resources

Mods

3rd Party Mods

Who's Online
There are currently, 7 guest(s) and 0 member(s) that are online.
You are an Anonymous user.
You can register for free by clicking here
No Members are currently logged in.

Calendar

Calendar

The Calendar Module

Introduction



Matthew McNaney


2003-06-13

Calendar allows you to post events on your web page. It displays these events in Daily, Weekly, and Monthly views. It also includes a small view which allows users to see what is coming up within the next few days.


Getting Started

You can get to the administrative functions of Calendar two ways.

The first way is to view an Event, Month, Week, Day, or Year. The administrative panel will appear at the top of the page (Assuming you are logged in with the proper administrative rights).

The other way to access calendar is by clicking on the Calendar icon in the Control Panel.



Creating Events

Click on the Create New Event in the Calendar administration panel. You will come to the event form. Here is what you will need to fill out (see Figure 1).


  • Active This defaults to 'On'. If you want the event to be hidden from user view until later, change this to 'Off'.

  • Title Pretty self-explanatory. This is the title of the event. Keep it short and don't include the date or time. Let the rest of the form handle that.

  • Description Although not required, you should fill this in with a description of the event and its importance.

  • Image You can upload an image to be associated with your event. Just click the Browse button and choose an image from your hard drive. You can also use an image that is already on the server by picking it from the drop down menu. Set your selection to <None> if you decide you don't want an image with your event. Finally, select an image and click the Remove button to delete the image file from the server.

  • Template - The template controls the layout of your event when it is viewed. Normally, the default.tpl template is sufficient. If however, there is another template file you wish to use, select it from the drop down menu (see Figure 1).




  • Event Type There are four event types. Click the radio button next to the one you wish to use.


    1. Interval This event has a definite start and end time and date.

    2. Starts At This event has a definite start time but an undetermined end time.

    3. Deadline The start time of this event is irrelevant but the end time is vital.

    4. All Day This event doesn't have a start or end time (e.g. a holiday).

  • Start Time This is the time the event starts. You do not need to set this for the All Day or Deadline event type.

  • End Time This is the time the event ends. You should set this for Interval and Deadline events, but not for Starts At or All Day events.

  • Start Date The date the event starts. Note that the Start Date must always be before the End Date.

  • End Date The date the event ends. Normally this is the same day as the Start Date, however you can create an Interval event that takes place over several days.

  • Categories If you have created categories in FatCat, you can associate the event to one or more of them. If your event is important, consider clicking the Sticky check box. This will assure it is seen in the What's Related box.

Click the Create Event button once you have finished filling out the form. If there aren't any errors, your event should now appear on the calendar (Figure 2).



Editing Events

To change an event's data, find it using the calendar and view it. As an administrator, you should see an Edit link. Click on that link to go to the edit form. Your changes will not be saved until you click the Update Event button.


Deleting Events

To remove an event, click on the Delete link that will appear when you are viewing an event. This will permanently remove the event and its repeats from the system, so be careful.


Repeating Events

If your event needs to post more than once, you should repeat the event. Below the event form is the repeat form. To get started, click the check box next to Repeat Event until and pick the termination date. The repeats will cease after this date.

Now click on the radio button next to your repeat option.


  • Daily - The event will appear everyday until the termination date.

  • Weekly - The event will appear on every checked weekday.

  • Monthly - Choose whether you want the event to appear at the beginning of every month, the end of every month, or every month on the same day as the start date.

  • Yearly - Choose this if you want the event to appear on the same day every year.

  • Every - Here you can choose specific weekday of each month for your event to appear. For example, you could choose to have an event repeat on the second Tuesday of every month. First pick which week you want the event to appear in. Then choose the weekday. Finally, choose a specific month or the "Every Month" option.

When you are finished setting your repeat options, click either the Create Event button (if you are making a new event) or the Update Event button (if you are editing an existing one).


Calendar Module Settings

Clicking on the Settings link will take you to the page of the same name. There are only a few settings you may want to alter and you shouldn't have to do so often (Figure 3).





  • Mini Month - uncheck this if you do not want the small month view to show in the user view.

  • Days Ahead - Set the amount of days in the future you want the calendar to look ahead for events. Set it to zero if you do not want it to display at all.

  • Cache Calendar Views - Check this box if you want the calendar to cache some of its pages. This can increase the speed of some views (especially month and year).

  • User Submitted Events - Check this box if you want to allow users to submit events.

  • Reindex FatCat - If you have deleted an event and it is still showing up in What's Related, check this box.

Click the Submit button when finished.


User Submitted Events

If you are allowing User Submitted events (see Settings) then users will be able to suggest events. They will not be able to post repeats (imagine an event repeated daily from 2003 to 2009) so they will need to put that information in the description. To approve the event, go to the Approval module and look for it listed there.

Created on 07/26/2003 12:30 AM by RobertK
Updated on 04/11/2004 09:57 PM by RobertK
 Printable Version

Comments - Please Log In to make a comment
The comments are owned by the poster. We are not responsible for its content.
calendar search
Posted on: 10/28/2003 12:04 AM   By: Anonymous
Do you know how to implement a calendar "search events by category" or "search events by location"?

I'm using phpwebsite 9.3.

Thank you so much.
Automatic announcement for reoccuring calendar event
Posted on: 04/22/2004 09:09 PM   By: barc
Is there a way to have an announcement for a reoccuring event? What I am looking for is an announcement that would automatically be posted say every year on someones birthday and it would only be there for a few days then go away until next year.
Edited By: lawhesl On: 06/22/2005 10:41 AM
Repeat Biweekly?
Posted on: 02/21/2004 12:00 PM   By: Anonymous
I need to enter items that are repeated every two weeks. Any workarounds?
More than one All-Day event
Posted on: 04/17/2004 12:07 AM   By: john_ecweekly
Is it just me, or is it impossible to list more than one ALL-DAY event in the calendar? I'm trying to set up a community calendar which will have many events that I don't have an exact time for.... right now, it only shows the first ALL-DAY event and not the rest.

Any help or feedback is appreciated!

John
Edited By: john_ecweekly On: 04/17/2004 12:07 AM
Add event without approval?
Posted on: 05/03/2004 09:02 AM   By: marcus
Is it possible to remove the approval process from the Calendar when adding a new event. If the admin isn't around, I'd still like this event to be viewable by all users.

I also want the calendar to act the same for all users: Editing, Deleting etc. Is it possible to make all Events "editable" by all users?
Re: Add event without approval?
Posted on: 03/27/2006 12:35 PM   By: Anonymous
help
Month Select
Posted on: 05/29/2004 08:42 PM   By: Anonymous
It can be very annoying to be in the month of March and clicking yuour way forward to the month of November. Would it make sense to use a drop down box to select a different month.

Also, consider a text field next to the month select box to select a different year other than the default shownin the select box.

Thanks:
Bob
24 Hours Formatting
Posted on: 06/03/2004 05:03 PM   By: Anonymous
Is it possible to have the time displayed in 24h Format
Re: 24 Hours Formatting
Posted on: 09/02/2004 12:08 PM   By: Anonymous
You need to edit conf/dateSettings.en

The line
define("PHPWS_TIME_FORMAT", "g:i");

should be changed to
define("PHPWS_TIME_FORMAT", "H:i");
How do I list events?
Posted on: 06/15/2004 02:22 AM   By: frankbeijing
In my calendar, the view options have only three choices: Year, Month and Week?

How do I list events like what I have seen here: http://www.barc.org.au/cms/index.php?module=calendar&calendar[view]=list

My view options doesn't have a "list" option, or any thing I didn't do right?
No Upcoming Events Section
Posted on: 06/30/2004 04:05 PM   By: Anonymous
I'm using winzor template and there's no upcoming events section to the calendar. What gives?

Let a group of users know about upcoming events
Posted on: 08/18/2004 07:08 PM   By: Anonymous
Hello
I am about to use PHPwebsite for a clubs homepage, and as I know most people in there are too lazy to look at the homepage every few days. Would it make sense to add a feature to the calendar that would allow to send reminder e-mails to a group of people or an individual a certain time before the event
?

ciao
Florian
Re: Let a group of users know about upcoming events
Posted on: 10/22/2004 09:58 AM   By: Anonymous
I also like this idea, anyone know if can be done?
Hiding from non-registered users
Posted on: 09/15/2004 02:51 PM   By: Anonymous
Is there a way to hide the calendar from non-registered users? I only want those who are logged in to see it...

Thanks.
Re: Hiding from non-registered users
Posted on: 11/28/2004 10:27 PM   By: Anonymous
I am also looking to do this. Please let me know if its possible.
Re: Hiding from non-registered users
Posted on: 01/01/2005 06:16 PM   By: Anonymous
Is there a way to make only logged in Users see the "Submit Event" button?
Re: Hiding from non-registered users
Posted on: 04/08/2005 05:20 PM   By: Anonymous
Took me a while to find this - go to developer/module maker

From there you can turn on/off modules (turn em off for "home" to prevent non-registrants from seeing)
FatCat page order
Posted on: 10/25/2004 11:22 AM   By: Anonymous
I am using the calendar with fatcat on my website. With differnet events I add the catagory to the calendar posting. So now in What's Related, the user gets to see calendar postings that are important to them. Works great. Only problem is that the calendar entries are listing in the order that I entered them into the database, so how can I change this so they list by chron order?
Re: FatCat page order
Posted on: 12/23/2004 05:21 PM   By: vish
i want to know how to change the date from server to user local time? Currently it shows server time which is one day behind local-user (audience) date. How to set this up?
Vish
Upcoming events
Posted on: 12/25/2004 05:23 PM   By: Anonymous
Hi, where can i increase the maximum of 14 days for the calendar to look ahead. I use it for announcing music gigs, so its nice to know earlier than 14 days so everyone can fit it in his agenda :)

Mark
www.boxstudios.sohosted.com
Re: Upcoming events
Posted on: 01/17/2005 05:40 PM   By: Anonymous
This might help

https://sourceforge.net/forum/forum.php?thread_id=648516&forum_id=49348
Calendar
Posted on: 01/25/2005 11:50 AM   By: Anonymous
I enterened some stuff on the calendar and want to delete it but when I click on it to view it I don't get any delete option. I would edit but not delete.
starting week from Monday instead of Sunday ?
Posted on: 05/03/2005 05:00 PM   By: Anonymous
how can I change view so starting day of the week could be Monday instead of Sunday ?
Re: starting week from Monday instead of Sunday ?
Posted on: 06/18/2005 05:06 PM   By: rck
in conf/dateSettings.en.php, you should find a line like this:

$day_start = 0; // 0 = Sunday, 1 = Monday


please change it to

$day_start = 1; // 0 = Sunday, 1 = Monday
Re: starting week from Monday instead of Sunday ?
Posted on: 08/02/2005 08:19 AM   By: Anonymous
I just do this and that`s the result:
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/kantori/public_html/conf/dateSettings.en.php:22) in /home/kantori/public_html/core/Core.php on line 304
Re: starting week from Monday instead of Sunday ?
Posted on: 08/03/2005 03:45 AM   By: pe6ohh
Hello !!!
The last post was mine.I don`t understand much more of php,but i fix my problem:
"Long Live The BACK UP of the dateSettings.en.php - file"
I just want to report this problem (if this isn`t a big joke for you ;-) ) :
When i turn the value of:
$day_start = 0; // 0 = Sunday, 1 = Monday
to 0 the problem I post above didn`t fix.
Automatic announcement for reoccuring calendar event
Posted on: 06/22/2005 10:40 AM   By: lawhesl
Is there a way to have an announcement for a reoccuring event? What I am looking for is an announcement that would automatically be posted say every year on someones birthday and it would only be there for a few days then go away until next year.
Edited By: lawhesl On: 06/22/2005 10:42 AM
Alignment of coming soon events
Posted on: 09/30/2005 04:16 PM   By: Anonymous
In Netscape my coming soon events align left perfectly but in IE they are center aligned. I read somewhere about this being an IE and cvs problem but I dont know how to edit the cvs file, or even what one, there are three. Can anyone help me? Its minor but I am a little anal. LOL

Lori
Re: Alignment of coming soon events
Posted on: 09/30/2005 05:56 PM   By: Anonymous
got it, change in /mod/calendar/templates/userbox/userBox.tpl
Importing a calendar
Posted on: 11/24/2005 08:54 AM   By: Anonymous
What kind of calendars can you import?
I tried to import a vcs calendar file that I saved
from WebCalendar but got several error messages.
Can someone explain how the import function works?
Many thanks in advance.

- Eva
Re: Importing a calendar
Posted on: 09/02/2006 08:28 PM   By: Anonymous
I have the same question - any help on this??

Email calender events to friend?
Posted on: 01/27/2006 01:53 AM   By: Anonymous
Is there a feature as of yet which will allow users to email events to their friends?

Thanks.
Can we link to images on calendar events?
Posted on: 03/17/2006 02:08 PM   By: Anonymous
Instead of uploading an image, or using an image already on the server, is it possible to instead LINK images from other websites?
Calendar Bold
Posted on: 05/19/2006 02:04 AM   By: Anonymous
I want to bold the calendar event on the homepage without changing a. is the css?
Just want the event link to be bold and have the other links standard.
tes
Posted on: 05/22/2006 02:29 AM   By: Anonymous
test
Calendar Month View Hangs.
Posted on: 07/27/2006 07:23 AM   By: Anonymous
Hi,

I get

PHP Fatal error: Maximum execution time of 30 seconds exceeded in //lib/pear/Date/TimeZone.php on line 259

or

PHP Fatal error: Maximum execution time of 30 seconds exceeded in //lib/pear/Date.php on line 540

in my apache error log when clicking on the month view in calendar.

I am running v. 3.9.3 on phpwebsite 0.10.2

Any ideas?

Thanks,

Rian
Calender view not working!
Posted on: 11/29/2006 12:44 PM   By: Anonymous
Since implementing the Restricted Access Hack I have been unable to view the following calender views, Year, Month Week. clicking on these links produce the following errors:-
Fatal error: Call to undefined function: blockrobot() in /home/www/http://www.******/mod/calendar/class/Display.php on line 877

...Display.php on line 697
...Display.php on line 595
Respectively

Any suggestions Please!!
second calendar
Posted on: 01/02/2007 10:29 PM   By: Anonymous
Without creating a branch on the site, is there any way to have two calendars?
thanhvn
Posted on: 12/12/2008 08:10 AM   By: Anonymous
コーヒーポッド
シャネル 財布
先物取引
TAYA
スキンケア化粧品
流し台
医学論文翻訳
アンドロペニス
まつげエクステンション
二人だけの結婚式
大人のおもちゃ
表参道 エステ
まつげ エクステ
電話占い
結婚式
電報
税理士 東京
カップリングパーティー
結婚式 ウェルカムボード
株式 情報
福島競馬場
小さいサイズの靴
SEO
モバイルSEO
携帯SEO
順位チェック
結婚関連情報
[[PR]]
生活役立ち
GooGoo
トゥグテョランダ
プレゼント 花
カップリングパーティー
カラーコンタクト
ホメオスタシス
アダルト 販売
ブリザーブドフラワー
FX 初心者
FX 初心者
FX 比較
ブライダルエステ 代官山
国際電話
ホームページ製作 東京
オメガ 修理
ec 通販
決済代行 比較
ホテルヘルス
ホテヘル
埼玉県 税理士
ハワイ航空券
アメリカ旅行
バリ旅行
上海航空券
ハレクラニ
カラコン 度あり
av 通販
アダルト ダウンロード
熟女 アダルト
巨乳 アダルト
素人 アダルト
ニューハーフ アダルト
結婚準備
ウェディングドレス
電マ
おとなのおもちゃ
アダルトショップ
アナル
債務整理
企業信用調査
結婚調査
過払い
SEO対策
スリッパ
オフィス用品
興信所 料金
行方調査
素行調査
不倫調査
フィリピン 行方調査
白衣 通販
医療白衣
ボイストレーニング


Sponsored by Patterson Research
Founded by Robert Kennedy
Powered by phpWebSite