Recurring Events

This topic contains 6 replies, has 2 voices, and was last updated by  Stephen Harris 9 years, 4 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #17580

    I’ve tried to create a recurring event.
    But after I select daily (or weekly, it doesnt really matter), the remaining inputs and selects stays disabled. On save, the reoccurence is not saved at all. Not even the setting to daily.

    WP 4.2.2
    Event Organiser: Latest

    Raitschin Raitschew
    #17591

    Hi Raitschin,

    Is this when creating a new event, or editing an existing one? When editing a recurring event it’s necessary to select the checkbox at the top of the event details metabox to allow editing of the event’s dates.

    But it sounds like this is occurring for new events, so there’s probably a javascript error on the page. If right click, select ‘inspect element’ and then select console, then refresh the page you may see some error messages, feel free to post them here.

    I’ve just sent you an e-mail regarding this issue in case you’re not sure and would like me to take a look.

    Stephen Harris
    #17624

    Hi Stephen,

    I checked that. If i create a new event, there’s no such Checkbox:
    http://www.awesomescreenshot.com/image/367632/b6ee5f08b751d24ad88a39c88b4ea0ed

    The error stays on existing and new events but the JavaScript console is free of any errors. I tested with latest Chrome and Firefox. Any other ideas?

    Raitschin Raitschew
    #17634

    The checkbox won’t appear for new events, so that’s behaving as expected. The screenshot revealed something however: the venue selection combox hadn’t been properly initialized. That is done by JS as is a lot of the UI for selecting dates.

    This suggests the problem is almost definitely a JavaScript error on the page. I’m happy to doublr check for this for you as I know you didn’t see any.

    Stephen Harris
    #17655

    I could find the problem now.

    It was directly linked to this solution:
    https://github.com/stephenharris/Event-Organiser/issues/279

    So now we don’t have a working media Library. I can create you a user account on that wordpress – on which e-mail would you prefer that?

    Raitschin Raitschew
    #17657
    function event_manager_css_fix() {
      echo '<style>
        ul.attachments.ui-state-disabled {
            pointer-events: all;
            opacity: 1;
        }
      </style>';
    }
    add_action('admin_head', 'event_manager_css_fix');
    

    This is how we could “fix” our problem for now. Doesnt look too clean though.

    Raitschin Raitschew
    #17662

    Your fix above ensures .ui-state-disabled elements can be used, which runs against the purpose of that class. The real reason, is why the class ui-state-disabled is not removed when you check the checkbox.

    Please use stephen at this domain for the e-mail, and I’ll take a look as soon as possible.

    Stephen Harris
Viewing 7 posts - 1 through 7 (of 7 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.