<![CDATA[ Support/Comments for Kalender Enhanced - MODX Community Forums]]> https://forums.modx.com/thread/?thread=48856 <![CDATA[Re: Support/Comments for Kalender Enhanced]]> https://forums.modx.com/thread/48856/support-comments-for-kalender-enhanced?page=5#dis-post-432807 1) (this step/solution is not mine, i found it somewhere in the modx forum) If you are having problems with the kalender displaying dates in your own languange, then locate (around line 100) this code
// internationalization
$locale = $lang.'_'.strtoupper($lang);
setlocale (LC_TIME, $locale);
and just add beneath it:
setlocale (LC_ALL, 'el_GR.UTF-8', 'el_GR.UTF8', 'el_GR.utf-8', 'el_GR.utf8', 'greek', 'el', 'ell', 'gr', 'el_GR', 'gr_GR', 'el_GRE', 'gr_GRE', 'greece', 'hellas', 'hellenic');
if your local languange is Greek.If you want German languange for example then you can set:
setlocale (LC_ALL, 'de_DE');
or for english
 setlocale (LC_ALL, 'en_US');
2)I encountered an issue with Kalender enhanced.When i used the mouse to hover over the last event,i noticed that the tooltip repeated itself throughout the rest of the current month's days,pointing the last event(although the last event had ended). I managed to fix this problem somehow, by locating these lines of code around line 328
for($w=0 ; $w<=6 ; $w++){ 
                                        $event = "";
					$html = "";
and added this line line of code:
$tooltip = "";
. So the final result was
for($w=0 ; $w<=6 ; $w++){
                                       $tooltip = "";
					$event = "";
					$html = "";

3)In kalender enhanced i couldn't get the tooltip to show,so all i did was to locate these lines of code:
(around line 535)
<td nowrap align="left" class="<? echo $cssClass; ?>">
							<? echo $dd; ?><? echo $event; ?></td>
and i added this line of code:
<? echo $tooltip; ?>
. So the final code is :
<td nowrap align="left" class="<? echo $cssClass; ?>"<? echo $tooltip; ?>>
							<? echo $dd; ?><? echo $event; ?></td>

Try any change at your own risk.I don't know anything of php,although these changes worked just fine for me.Although i haven't managed to make kalender enhanced mode to show more than one event that occurs the same day(like the standard mode of kalender does).
UPDATED! I did manage to make kalender enhanced mode to show more than one event that occurs the same day, by simply moving these lines of code:
$tooltipTable = "<table cellpadding=0 cellspacing=0 width=100%>";
								$tooltipTable.= "<tr><td align=\'center\' valign=\'middle\' class=\'kalender-tooltip-day\'>";
								                                    if($dateFormat == "mdy") {
				                $tooltipTable.= strftime("%A, %b. %d",strtotime($mm."/".$d."/".$yyyy)).", ".$yyyy;
				                                    } else {
				                $tooltipTable.= strftime("%A %d %b.",strtotime($mm."/".$d."/".$yyyy))." ".$yyyy;
outside the foreach loop,and placed them between lines
$eventHighlightClass = "kalender-event-highlight_".$highlightGroup;
$thisMonthsEventsArray = $monthEventsArray[$d];
							/* sort by hour							
							$thisMonthsEventsArray = array();
							$e = 0;
							foreach($monthEventsArray[$d] as $monthEvent){
								$thisMonthsEventsArray[$monthEvent["StartTime"]."_".$e] = $monthEvent;
							$html .= "<ul>";
dinpapa Aug 10, 2012, 08:04 AM https://forums.modx.com/thread/48856/support-comments-for-kalender-enhanced?page=5#dis-post-432807
<![CDATA[Re: Support/Comments for Kalender Enhanced]]> https://forums.modx.com/thread/48856/support-comments-for-kalender-enhanced?page=5#dis-post-284213
Some parts have not been installed like Ditto do I need any other snippets to run Kalendar enhanced?
Maybe a folder permission?

Something has definitely stuffed up the dates of events.

Hoping someone can help.]]>
pagalo Jun 18, 2010, 10:08 PM https://forums.modx.com/thread/48856/support-comments-for-kalender-enhanced?page=5#dis-post-284213
<![CDATA[Re: Support/Comments for Kalender Enhanced]]> https://forums.modx.com/thread/48856/support-comments-for-kalender-enhanced?page=5#dis-post-284212
Any ideas?

pagalo Jun 17, 2010, 09:03 PM https://forums.modx.com/thread/48856/support-comments-for-kalender-enhanced?page=5#dis-post-284212
<![CDATA[Re: Support/Comments for Kalender Enhanced]]> https://forums.modx.com/thread/48856/support-comments-for-kalender-enhanced?page=4#dis-post-284211 Quote from: andrew4u at May 08, 2010, 11:37 AM

I have implemented this snippet to test how it and unfortunately I receive only pieces of code like this (attached).. it looks that at the start and the end of the output there parts of the calendar. Does this snippet work for you? With ModX 1.0.3? THANKS a lot for help!

Replacing <? by <?php in the kalender_enhanced.php solved the issue. Thanks to OpenGeek for hinting it in a topic related to the old Kalender snippet!]]>
andrew4u May 08, 2010, 06:48 AM https://forums.modx.com/thread/48856/support-comments-for-kalender-enhanced?page=4#dis-post-284211
<![CDATA[Re: Support/Comments for Kalender Enhanced]]> https://forums.modx.com/thread/48856/support-comments-for-kalender-enhanced?page=4#dis-post-284210 andrew4u May 08, 2010, 06:37 AM https://forums.modx.com/thread/48856/support-comments-for-kalender-enhanced?page=4#dis-post-284210 <![CDATA[Re: Support/Comments for Kalender Enhanced]]> https://forums.modx.com/thread/48856/support-comments-for-kalender-enhanced?page=4#dis-post-284209

I tried i few calls myself like:
[!Kalender?parent=`35,36,128,129` &mode=`enhanced` &showInfo=`both`!]

But to no avail...

thanks for the help]]>
phyxcius Mar 13, 2010, 01:42 PM https://forums.modx.com/thread/48856/support-comments-for-kalender-enhanced?page=4#dis-post-284209
<![CDATA[Re: Support/Comments for Kalender Enhanced]]> https://forums.modx.com/thread/48856/support-comments-for-kalender-enhanced?page=4#dis-post-284208
Here’s my call:
[!Kalender? &parent=`61` &mode=`enhanced` &showInfo=`intro` &dayLen=`3`!]

golds30 Nov 01, 2009, 11:59 PM https://forums.modx.com/thread/48856/support-comments-for-kalender-enhanced?page=4#dis-post-284208
<![CDATA[Re: Support/Comments for Kalender Enhanced]]> https://forums.modx.com/thread/48856/support-comments-for-kalender-enhanced?page=4#dis-post-284207 When I hide the list-style, the tip doesn’t get displayed, but the tooltip doesn’t open.
When it is unhidden, it works, but looks all screwed up.

Any ideas?]]>
Breen May 17, 2009, 09:03 AM https://forums.modx.com/thread/48856/support-comments-for-kalender-enhanced?page=4#dis-post-284207
<![CDATA[Re: Support/Comments for Kalender Enhanced]]> https://forums.modx.com/thread/48856/support-comments-for-kalender-enhanced?page=4#dis-post-284206

norlin May 11, 2009, 04:01 AM https://forums.modx.com/thread/48856/support-comments-for-kalender-enhanced?page=4#dis-post-284206
<![CDATA[Re: Support/Comments for Kalender Enhanced]]> https://forums.modx.com/thread/48856/support-comments-for-kalender-enhanced?page=4#dis-post-284205 sbRyGuy Apr 24, 2009, 01:22 AM https://forums.modx.com/thread/48856/support-comments-for-kalender-enhanced?page=4#dis-post-284205