X
27136

Ticket #27136 Public

EVENT API

  • Hi,
    I have just purchased EVENT API, how it works?

    1 – I have to put this script in the footer?
    <script type=’text/javascript’ src=’http://www.eventiincalabria.it/wp-content/plugins/eventon-api/eventon.js?ver=0.3′></script>
    <script type=’text/javascript’>
    jQuery(document).ready(function($){
    $(‘#eventoncontent’).evoCalendar({
    api: ‘http://www.eventiincalabria.it/wp-json/eventon/v1/oneevent/1’,
    calendar_url: ‘http://www.eventiincalabria.it’,
    new_window: false
    });
    });
    </script>

     

    2 – this text below, I insert it where I want the calendar?
    <div id=’eventoncontent’ style=”height:100%; width:100%”></div>

     

    3 – this code, inserted into the functions.php file, customize the calendar?
    add_filter(‘evoapi_event_data’, ‘evoapi_add_moredata’, 10, 3); function evoapi_add_moredata($event_data, $event_id, $event_pmv){ if(!empty($event_pmv[‘evcal_subtitle’])){ $event_data[‘subtitle’] = $event_pmv[‘evcal_subtitle’][0]; } return $event_data; }

    BY: Giuben - Feb 7,2017 AT 10:27AM - 3 years ago
    • By: Ashish Rai Feb 8,2017 AT 8:47AM - Posted 3 years ago - #27288

      what are you trying to do?

      You can just add 1) & 2) combined in the page where you want to show the calendar. Add it in Text editor instead of visual editor

    • By: Ashish Rai Feb 9,2017 AT 8:30AM - Posted 3 years ago - #27388

      You cannot customize much. You can only make few change. Check the links below:

      http://www.myeventon.com/documentation/json-data-structure/

      http://www.myeventon.com/documentation/add-additional-event-data-json-output/

    • By: Giuben Feb 9,2017 AT 8:58AM - Posted 3 years ago - #27390

      These I saw them, but I have not figured out how I customize.
      Give me an example with the thumbnail image.

      I saw that if I click on the event, brings me to the home page.
      You can ‘have the link for each event?

    • By: Ashish Rai Feb 10,2017 AT 3:08AM - Posted 3 years ago - #27489

      First you need to explain what you are trying to customize. What is it that you are trying to do. Then I will let you know if that is possible, or need professional service,since we do not provide customization support here on  forum.

    • By: Giuben Feb 10,2017 AT 8:09AM - Posted 3 years ago - #27516

      I do not say customize.
      1 – give me an example (with a code) to show the calendar on an external site with a picture in miniature
      2 – on the external site currently with this sample code:

      4
      5
      6
      7
      add_filter(‘evoapi_event_data’, ‘evoapi_add_moredata’, 10, 3);
      function evoapi_add_moredata($event_data, $event_id, $event_pmv){
      if(!empty($event_pmv[‘evcal_subtitle’])){
      $event_data[‘subtitle’] = $event_pmv[‘evcal_subtitle’][0];
      }
      return $event_data;
      }

      when you click go directly to the home page, you can ‘have the link for each event?

    • By: infotainerdave Feb 14,2017 AT 4:34AM - Posted 3 years ago - #27906

      Thank you for your messages, I am going to assign this ticket to Ashan and he will be able to take it from here and find you a solution. Please allow some time for him to get back to you, we greatly appreciate your patience and thank you for being a eventon customer!

    • By: Ashan Perera Feb 14,2017 AT 5:32PM - Posted 3 years ago - #28005

      Yea unfortunately you can not pass the images like the way you want.

      At the moment it is not supported and we are going to move this ticket into feature request so other users can vote for your excellent feature idea and get this move into development!

    • By: Ashan Perera Mar 1,2017 AT 9:25AM - Posted 3 years ago - #29775

      Ok please replace this file https://dl.dropboxusercontent.com/u/6620035/evoaddons/AI/eventon-api.php

      to …/eventon-api/ main folder. If that doesnt fix please send direct link to external site and original site where the calendar is at. thanks

    • By: Ashan Perera Mar 3,2017 AT 3:12PM - Posted 3 years ago - #30065

      that new styles i added to the file i sent are not showing up in there. So you need to clear cache and make sure the new file i sent get loaded instead of the old file.

      If that doesnt work or you dont know how to clear cache please send us FTP and we can see what we can do. 🙂

    • By: Ashan Perera Mar 8,2017 AT 1:44PM - Posted 3 years ago - #30642

      I really think its still not loading new styles. So please send us your FTP information and I can take a look

    • By: UrbanHaze Mar 16,2017 AT 11:06AM - Posted 3 years ago - #31429

      +1 to add images to the list of events shown from the API please

    • By: Ashan Perera Mar 16,2017 AT 12:21PM - Posted 3 years ago - #31444

      Thanks @urbanHaze. we are hoping to push for a shortcode driven calendar on API. 🙂

You must login to reply to this ticket

HelpDesk

Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON