An Event Calendar Mod

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
Post Reply
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

Realized it is not very obvious to install :roll:
I have updated the .zip file and setup a demo calendar on my site:

http://www.malouin.ws/design/downloads-phpwcms.phtml
Download "calendar_mod_v2.01_ionrock.zip"

If someone's willing to update the install file:
calendar_mod_install.html
and make it clearer...
please go ahead.

Let us know if this work for you know...

As soon as I have some time I'll try to add some TIPS to the page :wink:

Cheers,

Yves
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

StudioZ wrote:Realized it is not very obvious to install :roll:
I have updated the .zip file and setup a demo calendar on my site:

http://www.malouin.ws/design/downloads-phpwcms.phtml
Download "calendar_mod_v2.01_ionrock.zip"

If someone's willing to update the install file:
calendar_mod_install.html
and make it clearer...
please go ahead.

Let us know if this work for you know...

As soon as I have some time I'll try to add some TIPS to the page :wink:

Cheers,

Yves
I have tested it but I have some Qs:

In line 4 in app-header.php you have :
require_once "Mail.php"; // PEAR mail class
But there is no Mail.php in the packed...

And in the packed you have PHPWCMS_ROOT\include\inc_conf but there is no such folder in phpwcms 1.1.9 DEV does that mean you have to place the files in: PHPWCMS_ROOT\config\ instead?`or do I need o create that folder?
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

frold wrote: I have tested it but I have some Qs:

In line 4 in app-header.php you have :

require_once "Mail.php"; // PEAR mail class

But there is no Mail.php in the packed...
Good question! I also have this line in my installs and.. it is not causing any problems. I beleive that Ionrock previously answerered to this mail stuff...?
frold wrote: And in the packed you have PHPWCMS_ROOT\include\inc_conf but there is no such folder in phpwcms 1.1.9 DEV does that mean you have to place the files in: PHPWCMS_ROOT\config\ instead?`or do I need o create that folder?
Hey.. sorry Frold... it has not been tested with the DEV version yet :roll:
Let us know if ever you have the chance to confirm what/where needs to be hacked.

Cheers,

Yves
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

seems to work when placed in \include\inc_conf

But for some reason I can not control the categori dropdown....

If you see: http://www.frold.lir.dk/jopav2/
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

frold wrote:seems to work when placed in \include\inc_conf

But for some reason I can not control the categori dropdown....

If you see: http://www.frold.lir.dk/jopav2/
Hmmmm... You mean that your drop down menu gets stuck at the top of your page...?
Isn't it?
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

StudioZ wrote:
frold wrote:seems to work when placed in \include\inc_conf

But for some reason I can not control the categori dropdown....

If you see: http://www.frold.lir.dk/jopav2/
Hmmmm... You mean that your drop down menu gets stuck at the top of your page...?
Isn't it?
yes...


Well I try to take a look inside some files....
http://www.studmed.dk Portal for doctors and medical students in Denmark
arkon
Posts: 14
Joined: Mon 8. Mar 2004, 13:27

Post by arkon »

the mod works great for me so far. the only thing i still miss is the possibility to link an event with an article.

there is one problem: when i want to add an event it shows on the date and time parameters:
field month

Code: Select all

Warning: strtotime() [function.strtotime.html]: Called with an empty time parameter. in .../include/inc_module/mod_calendar/inc_lib/main.functions.php on line 79
the same on field day for line 95, on field year for line 111

the same message on the scheduling option fields.

it has something to do with the date/time parameters of the webserver..
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

arkon wrote:the mod works great for me so far. the only thing i still miss is the possibility to link an event with an article.
Yep. I know. I beleive it is on Ionrock todo list -- at some point? Not sure! He's really busy. Altough would be great if Oliver takes it in hand and makes it complies totally or some other way... with the basic install of future PhpWCMS :)
arkon wrote: there is one problem: when i want to add an event it shows on the date and time parameters:
field month

Code: Select all

Warning: strtotime() [function.strtotime.html]: Called with an empty time parameter. in .../include/inc_module/mod_calendar/inc_lib/main.functions.php on line 79
the same on field day for line 95, on field year for line 111

the same message on the scheduling option fields.

it has something to do with the date/time parameters of the webserver..
Sorry. Never seen this error yet :?

Cheers,

Yves
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

frold wrote: But for some reason I can not control the categori dropdown....
If you see: http://www.frold.lir.dk/jopav2/
Well I try to take a look inside some files....
Frold... you might want to create a special class for "eventsMenu":
front.template.php

Code: Select all

<div id="eventsMenu">
{CAL_MENU}
</div>
This is not in the css file I included :roll:
I have the feeling that you will be able to get better control.
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

thanks I just removed it.... I dont need categories...
http://www.studmed.dk Portal for doctors and medical students in Denmark
reklame-haus
Posts: 8
Joined: Mon 19. Jul 2004, 03:21

Post by reklame-haus »

StudioZ wrote:Just like reklame-haus...
I am looking on how to change the month names from English to French ?

Any idea anyone...? :roll:

Cheers,

Yves
Hi my friends,

I couldn't change the month names. Also I couldn't find any solution with Deutsch and Turkish characters. Just I bought another calendar.

http://www.easilysimplecalendar.com

Thats it.
Kahriman GmbH | Internetagentur Hannover
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

you can that in the new version!!
http://www.studmed.dk Portal for doctors and medical students in Denmark
missberli
Posts: 26
Joined: Sat 13. Nov 2004, 14:55

Can't add events in Version 2.01

Post by missberli »

Hi,
I have installed version 2.01. Everything works but the most important thing doesn't: I can't add events! :cry: Old events (from version 1) can be edited and deleted. But no new event is written to the sql table.
In the phpWCMS backend when I click "add event" a new form with a "update event"-button appears, but nothing happens.

HELP!
missberli
ionrock
Posts: 279
Joined: Fri 20. Feb 2004, 17:04

Post by ionrock »

For anyone having specific problems such as errors or warnings, please send them in a pm to me or email me and I will see what I can do. I am going to be updating the package this weekend (i hope) and adding a small addition to display 10 of the most recent calendar events (this will be a separate addon though). Hopefully I can get everyones bugs worked out. I do apologize for leaving folks hanging with regard to support. I have been looking for internships for this summer, doing school, work, band (http://umemusic.com), and research (http://nike.psu.edu). Thanks to everyone who has been helping each other out. It is the community that makes open source what it is and I must give credit to the phpwcms for making this cms one of the best available!

(Note: if you do email me and I respond, please post any responses to the board after we find a solution so others can get the benefits too ;))
marco

Post by marco »

It looks very nice, great work!

The demo always seems to show the same content for both calendars, the one in the right column and the center, no matter what date is chosen. I don't know if this is a bug or by design...

Would it not make more sense to have each calendar independent? In other words, let the center column calendar select and display events but do not also change the dates and events in the side column. Or make it maybe an option?

StudioZ wrote:Realized it is not very obvious to install :roll:
I have updated the .zip file and setup a demo calendar on my site:

http://www.malouin.ws/design/downloads-phpwcms.phtml
Download "calendar_mod_v2.01_ionrock.zip"

Yves
Post Reply