Calendar Mod v2.01 ionrock - v3 by volkman
Some Problems
i installed the calendar mod and all is working fine so far.
but, when i start to add a new event, the interface shows some php/sql errors. like this:
everything else is working ! the system is running under xampp for windows. any ideas ?
but, when i start to add a new event, the interface shows some php/sql errors. like this:
Code: Select all
Add a New Event
Category:
Date:
Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in E:\xampp\htdocs\wcms\include\inc_module\mod_calendar\inc_lib\main.functions.php on line 79
Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in E:\xampp\htdocs\wcms\include\inc_module\mod_calendar\inc_lib\main.functions.php on line 79
Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in E:\xampp\htdocs\wcms\include\inc_module\mod_calendar\inc_lib\main.functions.php on line 95
Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in E:\xampp\htdocs\wcms\include\inc_module\mod_calendar\inc_lib\main.functions.php on line 95
Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in E:\xampp\htdocs\wcms\include\inc_module\mod_calendar\inc_lib\main.functions.php on line 111
Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in E:\xampp\htdocs\wcms\include\inc_module\mod_calendar\inc_lib\main.functions.php on line 111
Back-Link
Ich habe Volkers Ionrock Version installiert (hier: http://www.mhagedorn.de/test01.phtml). Es hat auch alles super geklappt: Der Kalenderblock und meine Termine darunter werden angezeigt. Aber:
1.) Meine linke Navigation ist nur 169px breit, anscheinend lässt sich der Kalenderblock nicht in der Breite reduzieren, oder?
2.) Ich kann die Monate vorblättern, sowohl per Monatslink oben rechts am Kalenderblock, als auch per Drop-Down Menue. Allerdings kann ich oben links am Kalenderblock NICHT ZURÜCKBLÄTTERN. Woran liegt das?
3.) Ist es richtig, dass man irgendwo erreichen kann, dass die Kalenderzahlen zu Links mit einem bestimmten Ziel werden können?
Vielen Dank!
+++++++
Translation:
I installed volkers editon of ironrock calender. Everythink worked finde. The calender and my events are shown, but:
1.) Is there a way to reduce the width to 169px?
2.) I can switch the months forward, by the link on the upper right corner as well as by the drop down menue. But I can't turn the months BACK by the link on the top left. How can I solve that problem?
3.) Is there a way to connect the days in the calender to a page or the event description?
1.) Meine linke Navigation ist nur 169px breit, anscheinend lässt sich der Kalenderblock nicht in der Breite reduzieren, oder?
2.) Ich kann die Monate vorblättern, sowohl per Monatslink oben rechts am Kalenderblock, als auch per Drop-Down Menue. Allerdings kann ich oben links am Kalenderblock NICHT ZURÜCKBLÄTTERN. Woran liegt das?
3.) Ist es richtig, dass man irgendwo erreichen kann, dass die Kalenderzahlen zu Links mit einem bestimmten Ziel werden können?
Vielen Dank!
+++++++
Translation:
I installed volkers editon of ironrock calender. Everythink worked finde. The calender and my events are shown, but:
1.) Is there a way to reduce the width to 169px?
2.) I can switch the months forward, by the link on the upper right corner as well as by the drop down menue. But I can't turn the months BACK by the link on the top left. How can I solve that problem?
3.) Is there a way to connect the days in the calender to a page or the event description?
Re: Some Problems
oLi303 wrote:i installed the calendar mod and all is working fine so far.
but, when i start to add a new event, the interface shows some php/sql errors. like this:
everything else is working ! the system is running under xampp for windows. any ideas ?Code: Select all
Add a New Event Category: Date: Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in E:\xampp\htdocs\wcms\include\inc_module\mod_calendar\inc_lib\main.functions.php on line 79 Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in E:\xampp\htdocs\wcms\include\inc_module\mod_calendar\inc_lib\main.functions.php on line 79 Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in E:\xampp\htdocs\wcms\include\inc_module\mod_calendar\inc_lib\main.functions.php on line 95 Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in E:\xampp\htdocs\wcms\include\inc_module\mod_calendar\inc_lib\main.functions.php on line 95 Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in E:\xampp\htdocs\wcms\include\inc_module\mod_calendar\inc_lib\main.functions.php on line 111 Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in E:\xampp\htdocs\wcms\include\inc_module\mod_calendar\inc_lib\main.functions.php on line 111
I had the same problem.. It seems it has something to do with the PHP settings on the server.. I made some changes to main.functions.php so that the function would allways be called with the current date if nothing else is given..
This is the modified main.functions.php:
Code: Select all
<?php
// main function for calendar mod
function stateSelect($selected) {
$states = array (
"AL"=>"Alabama",
"AK"=>"Alaska",
"AZ"=>"Arizona",
"AR"=>"Arkansas",
"CA"=>"California",
"CO"=>"Colorado",
"CT"=>"Connecticut",
"DE"=>"Delaware",
"FL"=>"Florida",
"GA"=>"Georgia",
"HI"=>"Hawaii",
"ID"=>"Idaho",
"IL"=>"Illinois",
"IN"=>"Indiana",
"IA"=>"Iowa",
"KS"=>"Kansas",
"KY"=>"Kentucky",
"LA"=>"Louisiana",
"ME"=>"Maine",
"MD"=>"Maryland",
"MA"=>"Massachusetts",
"MI"=>"Michigan",
"MN"=>"Minnesota",
"MS"=>"Mississippi",
"MO"=>"Missouri",
"MT"=>"Montana",
"NE"=>"Nebraska",
"NV"=>"Nevada",
"NH"=>"New Hampshire",
"NJ"=>"New Jersey",
"NM"=>"New Mexico",
"NY"=>"New York",
"NC"=>"North Carolina",
"ND"=>"North Dakota",
"OH"=>"Ohio",
"OK"=>"Oklahoma",
"OR"=>"Oregon",
"PA"=>"Pennsylvania",
"RI"=>"Rhode Island",
"SC"=>"South Carolina",
"SD"=>"South Dakota",
"TN"=>"Tennessee",
"TX"=>"Texas",
"UT"=>"Utah",
"VT"=>"Vermont",
"VA"=>"Virginia",
"WA"=>"Washington",
"WV"=>"West Virginia",
"WI"=>"Wisconsin",
"WY"=>"Wyoming"
);
while (list($key, $val) = each($states)) {
$value .= "<option value="" . $key . """;
if ($key == $selected) {
$value .= " selected";
}
$value .= ">" . $val . "</option>\n";
}
return $value;
}
function showCategories($value) {
$result = mysql_query("SELECT * FROM " . $GLOBALS['tables']['cal_categories'])
or die("There was an error<br /> " . mysql_error() . "<hr />");
$select .= "<select name="category">";
while ($row = mysql_fetch_array($result)) {
$select .= "<option value="$row[id]">$row[name]</option>\n";
}
$select .= "</select>\n";
return $select;
}
function showMonths($month="January", $name="MyMonth") {
if($month==""){$month = "now";}
$month = date('n', strtotime($month || 'NopeIAmEmpty'));
$months = "<select name="$name">\n";
for ($i=1; $i<=12; $i++) {
$months .= "<option name="month"";
if ($month==$i) {
$months .= " selected";
}
$months .= " value="" .date("n", strtotime("$i/15/2004"))."">";
$months .= date("F", strtotime("$i/15/2004"));
$months .= "</option>\n";
}
$months .= "</select>";
return $months;
}
function showDays($day=1, $name="MyDay") {
if($day==""){$day = "now";}
$day = date('d', strtotime($day || 'NopeIAmEmpty'));
$days = "<select name="$name">\n";
for ($i=1; $i<=31; $i++) {
$days .= "<option name="day"";
if ($day == $i) {
$days .= " selected";
}
$days .= " value="" . $i . "" />";
$days .= $i;
$days .= "</option>\n";
}
$days .= "</select>\n";
return $days;
}
function showYears($year, $name) {
if($year==""){$year = "now";}
$year = date('Y', strtotime($Year || 'NopeIAmEmpty'));
$thisYear = date("Y");
$years = "<select name="$name">\n";
for ($i=date("Y"); $i<=($thisYear+3); $i++) {
$years .= "<option name="year"";
if ($year == $i) {
$years .= " selected";
}
$years .= " value="" . $i . "" />";
$years .= $i;
$years .= "</option>\n";
}
$years .= "</select>\n";
return $years;
}
function showSpan($val) {
$value = "<select name="span">\n";
for ($i=1; $i<=31; $i++) {
$value .= "<option value="$i"";
if ($i == $val)
$value .= "selected";
$value .= ">$i</option>\n";
}
$value .= "</select>\n";
return $value;
}
function showYesOrNo($name, $formValue) {
$value .= "<select name="$name">\n";
for ($i=0; $i<=1; $i++) {
$value .= "<option value="$i" ";
if ($i == $formValue)
$value .= "selected";
$value .= ">";
if ($i == 0)
$value .= "No";
else
$value .= "Yes";
$value .= "</option>\n";
}
$value .= "</select>";
return $value;
}
?>
- lady_witchcraft
- Posts: 94
- Joined: Sun 14. Nov 2004, 19:19
- Location: Austria
- Contact:
CALENDER MOD ist echt super und funktioniert bei mir einwandfrei, eine kleine frage zum ausgabetemplate:
ist es möglich den wochentag (MO, DI etc.) neben dem datum (1., 2. etc geht ja mit RT {DAY}) im ausgabetemplate auszugeben??
hat das vielleicht schon jemand gemacht und sagt mir bitte wie?! lieben dank dafür im voraus, freu mich auf hilfe von euch
-------------------------------------------------------------------------------
very nice CALENDER MOD, a short question about templates:
is it possible to display the day (MON, TUE and so on in german!) beside the date (for example 1., 2., and so on... works with the RT {DAY}) in the display template?
did anyone did this and could tell my how?! thx a lot for your help in advance
ist es möglich den wochentag (MO, DI etc.) neben dem datum (1., 2. etc geht ja mit RT {DAY}) im ausgabetemplate auszugeben??
hat das vielleicht schon jemand gemacht und sagt mir bitte wie?! lieben dank dafür im voraus, freu mich auf hilfe von euch

-------------------------------------------------------------------------------
very nice CALENDER MOD, a short question about templates:
is it possible to display the day (MON, TUE and so on in german!) beside the date (for example 1., 2., and so on... works with the RT {DAY}) in the display template?
did anyone did this and could tell my how?! thx a lot for your help in advance

... it's not bad luck, it's a bug ...
@volkman:
Hi, ich habe das Kalendermodul in eine Webseite eingebunden und es funktioniert toll. Allerdings habe ich einige Anpassungen vorgenommen, die im php-Sourcecode (hautschlich calendar.classes.php) verankert sind.
Nun zu meiner Frage: wird das Modul noch weiterentwickelt? Werden Änderungen, wie ich sie eingebaut habe evtl. integriert?
Und: ein Problem im Backend habe ich festgestell. Die Kategorie eines Events wird beim Ändern im Popup-Menü nicht richtig selektiert.
Hi, ich habe das Kalendermodul in eine Webseite eingebunden und es funktioniert toll. Allerdings habe ich einige Anpassungen vorgenommen, die im php-Sourcecode (hautschlich calendar.classes.php) verankert sind.
Nun zu meiner Frage: wird das Modul noch weiterentwickelt? Werden Änderungen, wie ich sie eingebaut habe evtl. integriert?
Und: ein Problem im Backend habe ich festgestell. Die Kategorie eines Events wird beim Ändern im Popup-Menü nicht richtig selektiert.
calendar 2.01 & phpWCMS 1.2.8
Hello all:
I just updated phpWCMS v1.1RC4 -> v1.2.8 and I lost my wysiwyg editor in the calendar module.
Any idea how to fix this?
Thanks in advance
seb
I just updated phpWCMS v1.1RC4 -> v1.2.8 and I lost my wysiwyg editor in the calendar module.
Any idea how to fix this?
Thanks in advance
seb
Re: Calendar Mod v2.01 ionrock - v3 by volkman
REanimated for own needs as Modul in 1.3.9 (hackfree)
Anyone in interest pse post here so I make a download Link... just preparing autosetups and frontend support.
Ich habe das Teil gerade umgeschrieben, es fehlen noch ein paar Sachen, Editor Einbindung (neu) und Frontend, im Backend funktioniert alles reibungslos. So kommen dann wohl die letzten 1.2.5 Seiten zu ihrem update
Anyone in interest pse post here so I make a download Link... just preparing autosetups and frontend support.
Ich habe das Teil gerade umgeschrieben, es fehlen noch ein paar Sachen, Editor Einbindung (neu) und Frontend, im Backend funktioniert alles reibungslos. So kommen dann wohl die letzten 1.2.5 Seiten zu ihrem update

Re: Calendar Mod v2.01 ionrock - v3 by volkman
interested 

It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
-
- Posts: 18
- Joined: Fri 18. May 2007, 19:33
Re: Calendar Mod v2.01 ionrock - v3 by volkman
i'm interested,too.
Re: Calendar Mod v2.01 ionrock - v3 by volkman
@DF6IH: sounds like well done good work! ==> give it to us!
Re: Calendar Mod v2.01 ionrock - v3 by volkman
Until now this looks like: http://www.kompetenznetz-ced.de/index.php?termine absolute the same, just a renewal for editor and some templating.
Re: Calendar Mod v2.01 ionrock - v3 by volkman
impressive. very nice!
but whats the difference, when i click on on let's say --> day --> 28?
there's no change. i get all dates of the MONTH! displayed. shouldn't it be all dates of 28th only?
URL (calendar plane) seems to be always: /index.php?termine&month=10&year=2008
but no day [view]?
but whats the difference, when i click on on let's say --> day --> 28?
there's no change. i get all dates of the MONTH! displayed. shouldn't it be all dates of 28th only?
URL (calendar plane) seems to be always: /index.php?termine&month=10&year=2008
but no day [view]?