<![CDATA[ Support/Comments for Easy Events - My Forums]]> https://forums.modx.com/thread/?thread=48857 <![CDATA[Re: Support/Comments for Easy Events]]> https://forums.modx.com/thread/48857/support-comments-for-easy-events?page=32#dis-post-284526 I tried this approach :
http://modxcms.com/forums/index.php?topic=29970.0

and another (a variation of "google sitemap from ditto")

Both get me wrong dates. Anyone interested in this?]]>
gallenkamp Feb 06, 2011, 12:54 PM https://forums.modx.com/thread/48857/support-comments-for-easy-events?page=32#dis-post-284526
<![CDATA[Re: Support/Comments for Easy Events]]> https://forums.modx.com/thread/48857/support-comments-for-easy-events?page=32#dis-post-284525
I can´t reproduce the solution I suggestet either and I do not know anymore what made me posting the stuff. So, you better do not delete anything! Sorry for that...

Meanwhile I finished the calendar I was working on and it works fine. I get the Event results in the place I want them (the middle column of my page) by placing the listDetailsContainer in the proper <div>:

<div id="main">
        <div class="leftcol">
         <h1>[*description*]</h1>

            <div id="ee_listDetailsContainer">
               [+listDetailsPlaceholder+]
               [+missingEventsMessagePlaceholder+]
            </div>

        </div>

        <div class="rightcol">
           <div id="ee_miniCalendarContainer">
              [+miniCalPlaceholder+]
           </div>

             [[EasyEvents_ListMini? &nodes=`157`]]

        </div>
</div>


You can see the result here on the temporary project site: http://www.marcus-buchwald.de/kunden/bad-karlshafen/index.php?id=154. If this link doesn´t work anymore, the project is finished most likely; try this link then: http://www.bad-karlshafen.de (Click "Kur & Tourismus" and then "Veranstaltungen")]]>
marcus1966 Oct 30, 2010, 04:11 AM https://forums.modx.com/thread/48857/support-comments-for-easy-events?page=32#dis-post-284525
<![CDATA[Re: Support/Comments for Easy Events]]> https://forums.modx.com/thread/48857/support-comments-for-easy-events?page=32#dis-post-284524
Great component.

I still have the same problem of Sylvaticus though, and the suggestions by skipjack66 did not work embarrassed. I need to go directly to the events page when I click on the event date on the calendar, instead of it displaying at the bottom.

Anybody found a turn around?]]>
sjmclean Oct 20, 2010, 10:16 AM https://forums.modx.com/thread/48857/support-comments-for-easy-events?page=32#dis-post-284524
<![CDATA[Re: Directly from event list links to full article, not in AJAX field?]]> https://forums.modx.com/thread/48857/support-comments-for-easy-events?page=31#dis-post-284523 Quote from: Sylvaticus at Mar 10, 2009, 02:41 PM

This might be to go backwards in development, but I want to go directly from a link in the event list to the full article. I don’t want the article content to show up in the AJAX field under the minicalendar.

I have set the &gotoDetailsPage to be 1, so when I click on a link in the event list I can go directly to the full event document. But the content in the document still also shows up in the AJAX field under the mini calendar, and thats what I don’t want to happen.

How can I prevent this? Thanks. smiley

Go to the EasyEvents_ListMini.php and disable line 75 - 78 AND the "else" in line 81:

73 // An event ID is passed, so show details
74 //
75 //if ( (int)$_GET[$g_easyEvents->qs['eventId']] )
76 //{
77 //    $listDetails .= $g_easyEvents->makeEventDetails((int)$_GET[$g_easyEvents->qs['eventId']]);
78 //}
79
80 // No event ID is passed, but date info is, show list
81 //else
82 if ( etc. pp.


And - just a few reminders, because I just spent staring catatonically at my screen for 3 days straight:
1) When using EasyEvents and PHx in the same site, call the ListMini-Snippet cached: [[EasyEvents_ListMini? &nodes=`157`]]. Otherwise you will not see anything of your calendar!
2) Don´t try to open the AJAX:EasyEvents page, it will not show any of your events and cause nothing but a parse error.
3) Assign all your events and all pages you want the mini calendar to show up on to your EasyEvents template (NOT the contentONLY template, but the one with the
<div id="ee_miniCalendarContainer">
[+miniCalPlaceholder+]
</div>
<div id="ee_listDetailsContainer">
[+listDetailsPlaceholder+]
[+missingEventsMessagePlaceholder+]
</div>
[[EasyEvents_ListMini? &nodes=`157`]]

stuff)
4) If you want the event page to show up immediately, set the "Go to event page for details" to 1 in the EasyEvents_ListMini standard properties

Good luck! grin
Marcus]]>
marcus1966 Sep 08, 2010, 02:25 PM https://forums.modx.com/thread/48857/support-comments-for-easy-events?page=31#dis-post-284523
<![CDATA[Re: Support/Comments for Easy Events]]> https://forums.modx.com/thread/48857/support-comments-for-easy-events?page=31#dis-post-284522
Is this Javascript related?

]]>
Chocoholic Jul 26, 2010, 03:06 PM https://forums.modx.com/thread/48857/support-comments-for-easy-events?page=31#dis-post-284522
<![CDATA[Re: Support/Comments for Easy Events]]> https://forums.modx.com/thread/48857/support-comments-for-easy-events?page=31#dis-post-284521
Thanks in advance!]]>
chrisandy Apr 27, 2010, 11:39 AM https://forums.modx.com/thread/48857/support-comments-for-easy-events?page=31#dis-post-284521
<![CDATA[Re: Support/Comments for Easy Events]]> https://forums.modx.com/thread/48857/support-comments-for-easy-events?page=31#dis-post-284520
The only problem now is that the dates in the calendar are clickable but doesn’t show any events under the calendar...]]>
SL-4918 Mar 19, 2010, 11:54 AM https://forums.modx.com/thread/48857/support-comments-for-easy-events?page=31#dis-post-284520
<![CDATA[Re: Support/Comments for Easy Events]]> https://forums.modx.com/thread/48857/support-comments-for-easy-events?page=31#dis-post-284519 I now got the calendar shwoinf thanks to info on here (exclude the templates).
Bu the events won’t show in the calendar nor being listed.
I do notice that when I shift node the calendar racts to it:

Events (33)
- 2009 (123)
- 2010 (52)

When pointing at 52 the calendar shows only 2010, but when pointing at 33 theres a previous year link next to 2010.

Anyone got any ideas what to do?

Thanks]]>
SL-4918 Mar 19, 2010, 04:34 AM https://forums.modx.com/thread/48857/support-comments-for-easy-events?page=31#dis-post-284519
<![CDATA[Re: Support/Comments for Easy Events]]> https://forums.modx.com/thread/48857/support-comments-for-easy-events?page=31#dis-post-284518 Quote from: Chocoholic at Mar 08, 2010, 09:28 AM

There seems to be very little support for this now, and I’m guessing that’s because MODx are working on a standard calendar function to be included with the CMS. I could be wrong...

The date is set in the /assets/snippets/EasyEvents/easyEvents.config.php file, and also in the chunks you set up for start time and end time (presuming you haven’t set both to Unix time). Check that your config file has the date the right way around by looking for these two lines near the bottom:

$_misc[’dateFormat’] = ’m/d/Y’;
$_misc[’dittoDateformat’] = ’%m %d %Y’;

The above are set up the American way. Yours may look the same. Either way, they should match what you’ve got in your chunk.

I’ve got my end time (’Date Format’ field in my EasyEventsEnd chunk) set up as: %a %B %d, %Y while my start time is set to Unix time, so I don’t need to put the formatting in that field.

You can find out more about Unix date formatting here.

You are correct that support for this item is poor...many ModX extras have fallen by the wayside due to their creators’ losing interest. The ModX team is too invested in Revo to correct the issues with Evo extras or encourage extras developers to properly maintain/support their extras. Maintaining and supporting anything open source is not a trivial task, as many people come to find out.

The date format per se that you describe may not be where the problem lies...I double-double-checked this.

The EE_class.php file is reversing the month and day when it creates the clickable links for the calendar, and we need to know why and where this occurs. For example, if you create a date event of 3/10/2010 (March 10, 2010), it’s creating a clickable calendar link of 10/3/2010 (October 3, 2010).

Furthermore there is a line in the class.php file which is also reversing the month and day, I fixed this on my site, but not yet the clickable calendar links.

It is this:

function getDateFromTV($tvVal='')
    {
    //$date = substr($tvVal,6,4).'-'.substr($tvVal,3,2).'-'.substr($tvVal,0,2); // 3/8/10 original code
    $date = substr($tvVal,6,4).'-'.substr($tvVal,0,2).'-'.substr($tvVal,3,2);  // 3/8/10 now displays correctly in calendar page
    return $date;
    }


Finally, the end/start dates are template variables, not chunks, if I understand the documentation correctly.

Unfortunately I’m not a sufficiently skilled PHP programmer to understand where in the ee_class.php or ee_ajax.php file it is mis-reading the dates from the template variables values table. sad

And the inventor of this app stopped working on it over a year ago.

I did find in the class.php file where the URLs get created, more or less, but not why or where the day and month get reversed, such that the correct URL gets attached to the wrong month/day.

It is somehow related to mySQL date storage and string to date conversion etc. etc., I can find various ways to get the month and day more or less correctly represented, but then no events appear when I try out things etc. in the class.php file.

Thank you, Tom]]>
TomMLS Mar 08, 2010, 07:10 AM https://forums.modx.com/thread/48857/support-comments-for-easy-events?page=31#dis-post-284518
<![CDATA[Re: Support/Comments for Easy Events]]> https://forums.modx.com/thread/48857/support-comments-for-easy-events?page=31#dis-post-284517
The date is set in the /assets/snippets/EasyEvents/easyEvents.config.php file, and also in the chunks you set up for start time and end time (presuming you haven’t set both to Unix time). Check that your config file has the date the right way around by looking for these two lines near the bottom:

$_misc[’dateFormat’] = ’m/d/Y’;
$_misc[’dittoDateformat’] = ’%m %d %Y’;

The above are set up the American way. Yours may look the same. Either way, they should match what you’ve got in your chunk.

I’ve got my end time (’Date Format’ field in my EasyEventsEnd chunk) set up as: %a %B %d, %Y while my start time is set to Unix time, so I don’t need to put the formatting in that field.

You can find out more about Unix date formatting here.]]>
Chocoholic Mar 08, 2010, 03:28 AM https://forums.modx.com/thread/48857/support-comments-for-easy-events?page=31#dis-post-284517