Calendar Mod v2.01 ionrock - v3 by volkman

If you've problems with unsupported - non official ;-) - functionalities use this forum please.
volkman
Posts: 179
Joined: Wed 13. Jul 2005, 12:52
Location: Hamburg, Germany

Post by volkman »

Strange, exactly my setup

volkamn
oLi303
Posts: 4
Joined: Mon 12. Jun 2006, 21:12

Some Problems

Post by oLi303 »

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:

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
everything else is working ! the system is running under xampp for windows. any ideas ?
larmann
Posts: 311
Joined: Thu 23. Jun 2005, 10:51
Location: Hamburg
Contact:

Back-Link

Post by larmann »

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?
fopulu
Posts: 359
Joined: Tue 2. May 2006, 14:19
Location: Rhein-Main

Post by fopulu »

Ist es mit dem Event-Kalender möglich eine Jahreszusammenfassung einer einzigen Kategorie anzeigen zu lassen?
Und wenn ja, wie?

-----------------------

Is it possible to show a summary from one categorie? And if yes, how?
kemuel
Posts: 1
Joined: Tue 5. Sep 2006, 02:59

Re: Some Problems

Post by kemuel »

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:

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
everything else is working ! the system is running under xampp for windows. any ideas ?

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;
}





?>
Hope this will help..
User avatar
lady_witchcraft
Posts: 94
Joined: Sun 14. Nov 2004, 19:19
Location: Austria
Contact:

Post by lady_witchcraft »

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 :lol:

-------------------------------------------------------------------------------

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 :lol:
... it's not bad luck, it's a bug ...
doerrer
Posts: 6
Joined: Thu 7. Dec 2006, 10:54

Post by doerrer »

@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.
sebby
Posts: 28
Joined: Thu 28. Apr 2005, 00:31

calendar 2.01 & phpWCMS 1.2.8

Post by sebby »

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
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

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

Post by juergen »

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 :D
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

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

Post by update »

interested :lol:
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.
User avatar
Cipolla
Posts: 451
Joined: Sat 16. Feb 2008, 20:39
Location: Muppet Show

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

Post by Cipolla »

Dito!
...
brainstorm
Posts: 18
Joined: Fri 18. May 2007, 19:33

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

Post by brainstorm »

i'm interested,too.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

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

Post by Jensensen »

@DF6IH: sounds like well done good work! ==> give it to us!
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

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

Post by juergen »

Until now this looks like: http://www.kompetenznetz-ced.de/index.php?termine absolute the same, just a renewal for editor and some templating.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

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

Post by Jensensen »

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]?
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
Post Reply