Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Posts posted by joshuag

  1. 9 minutes ago, adrian said:

    Looks like there is no timeStart in the POST data:


    {"startDate":1518699600,"endDate":1518854340,"allDay":false,"timeEnd":"03:00 pm","dates":["W7/14/Wed/Feb/2018","W7/15/Thu/Feb/2018"],"excluded":[],"active":false,"showResults":true,"rrule":"WKST=MO;FREQ=DAILY;DTSTART=20180215T050000Z;INTERVAL=1;UNTIL=20180216T235900Z"}

    There is no timeStart in the data since I am saving the date+timeStart as a Unix timestamp. 

    • Like 1
  2. @adrian yes, I could change the rrule. Good idea. 

    Thank you for testing this and the detailed feedback. I’m trying to track down why it’s not saving your start time or this would be happening. I’ll post a fix as soon as I can reproduce it and figure it out :) 

    As for multi-day events, you are correct, they can repeat on those days, or be separate events. Currently I have no means to span days with events. 

  3. 3 minutes ago, adrian said:

    Thanks for the getting to these issues @joshuag

    1) It looks like the UiKit theme issues are fixed

    2) I can't seem to save a non all day event. I uncheck "all day" and enter a start and end time, but when I save the page, the "all day" is checked and the end time isn't saved.

    3) The results seem to be off by a day - note 15/16 vs 14/15 in the results.


    Hmmm. That is very strange that you can’t save. Do you have any js errors?

    also, have you set your timezone in the config? 

    Looking to see if I can Reproduce this. 

    Thanks a lot! 

  4. Hi Guys, 

    Here is an updated version of Recurme. I would appreciate any testing/feedback. 

    ## [1.0.2] - 2018-02-21
    ### changed
     - Fixed Skipping Month Issue for months with more days (ie. Jan 31)
     - Fixed Broken $options[RenderEvent] options (see this post)
     - Fixed Non-repeating event data
         - Non-repeating events display without setting repeat to x1.
     - Added timeStart field. 
     - Added timeEnd field. $event->timeEnd
     - Added “All Day” toggle
     - Fixed Install notice $template->id
     - UIKIT theme compatibility Fixes


    • Like 1
  5. On December 19, 2017 at 3:56 PM, netcarver said:

    @joshuag Early on in the thread you mentioned a work-in-progress fix for the 2800 event limit, and also about a more elegant update feature when adding exclusions. Any update on this? I've scanned the posts in the rest of the thread but might have missed it. Have these issues been addressed in the current version?

    Hi Netcarver, 

    Currently, I am still unable to break that limit or 2800 repeats of an event. Even so, that is a long time:

    Example Recurring Time:

    Daily = approx. 7.5 years
    Weekly = approx. 53.5 years
    Monthly = approx. 233 years
    Yearly = approx. 2800 years

    I am working on a copy of recurme with a revised interface but it is nowhere near complete. The current exclusion works ok for 99% of the use cases. Although I do agree that it could be GREATLY improved. I would like to focus on fixing the more pressing bugs before releasing any huge changes to the interface. 

    • Like 2
  6. 19 hours ago, SC24 said:

    I must not be the only one. I've tried all of the above and emailed. Any help would be appreciated

    $event = $recurme->event($page);

    I try to output any thing and it's blank.


    $event = $recurme->event($page); is 100% correct way to get the event. However, you must have a recurme field with an event for it to return anything. After that, you can access all your fields for that $page as 

    $event->orignal->title (or whatever field you have)

    Hope this helps,

    - Joshua

  7. On September 8, 2017 at 0:14 PM, SoccerGuy3 said:

    Working on the detail page now and having a problem getting the date/time of the event to show on the page. If my page array contains this:

    [calev_datetime] => {"startDate":1504821600,"endDate":false,"dates":["W36/07/Thu/Sep/2017",...,"W19/07/Wed/May/2025"],"excluded":[],"active":false,"showResults":false,"rrule":"WKST=MO;FREQ=DAILY;DTSTART=20170907T150000Z;INTERVAL=1"}

    How can I get the date to output to the page like: 09/07/2017 3:00 pm? I've tried various bits and pieces to get at the startDate or the DTSTART, but always end up with a nothing on screen (in that area).

    $event = $recurme->event($page); then use $event->orig_date

  8. 6 hours ago, cstevensjr said:

    Has this updated version been released yet?  Thanks


    3 hours ago, DonPachi said:

    Thanks, makes complete sense. The issue I had was with a particular date outputting as AM when it was actually saved as PM so appearing before all other results.

    The module is fantastic, but I'm having a consistent issue where if I enter and save a recurme field in a page it displays fine, but when I go back to edit another field on the page and save, it will begin outputting the time as AM when it was selected as PM. Going back in and altering the date fixes this until I alter another field again.

    I have just sent out a general update via email that resolves the problems mentioned. Thanks everyone :)

    • Like 3
  9. 3 hours ago, DonPachi said:

    Is it possible to run a 'sort' selector on $recurme->find()?

    When I attempt to sort by a particular field, only a single result is output. I can reverse the sort and it will output the opposite result so the sort works, but I get only one result.

    The find method needs to have a startDate and endDate to find results, then a selector. The results will always be sorted by date. Any other sort option will be ignored. If you use ->find() with out those dates, it will only return the recurme events for today  

    $recurme->find($dateFrom, $dateTo, $selector)
  10. 8 minutes ago, pideluxe said:

    Is it not possible to use recurme within an Repeater? In Repeater Matrix it works, so it is not a big problem, but for my purpose a repeater would suffice...


    BTW great module and support, Joshua!

    I have been working on regular repeater support, but it's not quite there. The current problem is that the event object is taking its data from the parent page, in the case of a repeater, it's the repeater page (not what we want). So I have to do a bit more work detecting if it's in a repeater and use getForPage() to populate the event object. A couple other little details. Getting close, but still not there. 

    It's coming though! 

    • Like 2
  11. @totoff Great question. You could actually use Recurme with full calendar if you like. 

    Example event object from full calendar: https://fullcalendar.io

        events: [
                title  : 'event1',
                start  : '2010-01-01'
                title  : 'event2',
                start  : '2010-01-05',
                end    : '2010-01-07'
                title  : 'event3',
                start  : '2010-01-09T12:30:00',
                allDay : false // will make the time show

    This would be easy to output with recurme using the API:

    $FCEvents = array();
    $events = $recurme->day();
    foreach($events as $event){
    	$FCEvents[] = array(
    		'title' =>  $event->title,
    		'start' => 	$event->start_date,

    Print your array as javascript. And use the built in views in full calendar. 

    • Like 3
  • Create New...