• Resolved pluginuser9300

    (@pluginuser9300)


    Hello and thank you for sharing such a nice plugin!

    I have another question regarding the calender-view. On my page i am using the list-view to display upcoming events. Underneath i am using the calender-view in which i want to display all events (upcoming+past). So far, everything works fine.

    My first wish would be to deactivate the popups that appear when clicking on an event in the calender-view.

    Second wish would be that (instead of the popup) a click on an event in the calender-view would directly refer to the correspondend single-event-page. It would be great if this would also work for past events, which are not anymore shown in my list-view above the calender-view, so that the calender-view could be used as some kind of archive for my events.

    Would it be possible to get those functionalities? Maybe through editing the .php?

    Thank you in advance for your help!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Vishali Tayal

    (@vishali009)

    Hi @pluginuser9300,

    Sorry for the inconvenience.
    As per your requirement to disable the popup and open the single event page on click, this can be achieved by making a small change in the plugin code.
    Please follow these steps:
    Go to: plugins → events-widgets-for-elementor-and-the-events-calendar → assets → js → calendar.js
    Comment out the following code (around lines 125–129):

    // popupmodal.css("display", "block");
    // popupmodal.addClass("ectbe-ec-popup-ready").removeClass("ectbe-ec-modal-removing");
    // jQuery('h2.ectbe-ec-modal-title').html(info.event.title);
    // jQuery('.ectbe-event-date-start').text(moment(info.event.start).format('MMMM D, YYYY h:mm A'));
    // jQuery('.ectbe-event-date-end').text(enddate);

    Then add this line at around line 131:

    window.open(info.event.extendedProps.detailurl, '_blank');

    This will disable the popup and directly open the event single page in a new tab when clicking on an event.
    Please check the screenshot for reference. Let us know if you need further help.
    Please note that you will need to manually update this code in every upcoming update.
    I hope this helps you.

    Thanks & Regards

    Thread Starter pluginuser9300

    (@pluginuser9300)

    Thank you very much for the quick support! Works perfectly fine for me!

    Best regards!

    Plugin Support Vishali Tayal

    (@vishali009)

    Hi @pluginuser9300,

    If our support has been helpful for you, we’d really appreciate it if you could take a minute to leave us a positive review here:
    :point_right:https://wordpress.org/support/plugin/events-widgets-for-elementor-and-the-events-calendar/reviews/#new-post

    Your feedback means a lot to us and helps motivate our team to keep improving. :blush:

    Thanks & Regards

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.