I would like to add Time and Venue to Event Title in Calendar View

Home Forums Calendar Products Events Calendar PRO I would like to add Time and Venue to Event Title in Calendar View

Viewing 15 posts - 1 through 15 (of 39 total)
  • Author
    Posts
  • #1612525
    ncbaroqueorchestra
    Participant

    I have already set up a staging site, and copied Map View file to:
    wp-content/themes/my-child-theme/tribe-events/pro [as outlined in your Themer’s Guide]
    I would now like to add the event time and venue to the Map View., instead of the address. How do I do that?

    #1614375
    Cliff
    Member

    Hi. Are you wanting to customize the map’s pin/tooltip content or the list of events below it?

    If the former, you might take a look at the source code of this extension:

    Hope that helps point you in the right direction. Please let me know how this goes for you.

    #1615537
    ncbaroqueorchestra
    Participant

    I installed the extension you mention above. Now, when I click on the pin for Raleigh, NC, I get the following:

    Music of Palestrina, Monteverdi – Raleigh [Event Title]
    Bach’s Coffee Cantata – Raleigh [Event Title]
    Address: 120 E. Edenton Street [Event Address]

    What I would like to see is:

    Music of Palestrina, Monteverdi – Raleigh, [Event Title] 10/12/18 [Event Date]
    Bach’s Coffee Cantata – Raleigh, [Event Title] 2/23/19 [Event Date]
    Christ Church Episcopal Church, Raleigh, NC [Venue Name, City, State]

    I would then be able to remove the city from the event title, which was a clumsy workaround!

    I think this is the part that needs to be edited:
    TribeEventsPro = {“geocenter”:{“max_lat”:36.09940000000000281943357549607753753662109375,”max_lng”:-76.826099999999996725819073617458343505859375,”min_lat”:32.78221099999999665897121303714811801910400390625,”min_lng”:-82.6451789999999988367562764324247837066650390625},”map_tooltip_event”:”Event: “,”map_tooltip_address”:”Address: “};
    var TribeEventsPro = {“geocenter”:{“max_lat”:36.09940000000000281943357549607753753662109375,”max_lng”:-76.826099999999996725819073617458343505859375,”min_lat”:32.78221099999999665897121303714811801910400390625,”min_lng”:-82.6451789999999988367562764324247837066650390625},”map_tooltip_event”:”Event: “,”map_tooltip_address”:”Address: “};</script> <script type=’text/javascript’ src=’https://www.ncbaroqueorchestra.org/wp-content/plugins/events-calendar-pro/src/resources/js/tribe-events-pro.min.js?ver=4.4.31′&gt;

    #1615538
    ncbaroqueorchestra
    Participant

    I installed the extension you mention above. Now, when I click on the pin for Raleigh, NC, I get the following:

    Music of Palestrina, Monteverdi – Raleigh [Event Title]
    Bach’s Coffee Cantata – Raleigh [Event Title]
    Address: 120 E. Edenton Street [Event Address]

    What I would like to see is:

    Music of Palestrina, Monteverdi – Raleigh, [Event Title] 10/12/18 [Event Date]
    Bach’s Coffee Cantata – Raleigh, [Event Title] 2/23/19 [Event Date]
    Christ Church Episcopal Church, Raleigh, NC [Venue Name, City, State]

    I would then be able to remove the city from the event title, which was a clumsy workaround!

    I think this is the part that needs to be edited:
    TribeEventsPro = {“geocenter”:{“max_lat”:36.09940000000000281943357549607753753662109375,”max_lng”:-76.826099999999996725819073617458343505859375,”min_lat”:32.78221099999999665897121303714811801910400390625,”min_lng”:-82.6451789999999988367562764324247837066650390625},”map_tooltip_event”:”Event: “,”map_tooltip_address”:”Address: “};
    var TribeEventsPro = {“geocenter”:{“max_lat”:36.09940000000000281943357549607753753662109375,”max_lng”:-76.826099999999996725819073617458343505859375,”min_lat”:32.78221099999999665897121303714811801910400390625,”min_lng”:-82.6451789999999988367562764324247837066650390625},”map_tooltip_event”:”Event: “,”map_tooltip_address”:”Address: “};</script> <script type=’text/javascript’ src=’https://www.ncbaroqueorchestra.org/wp-content/plugins/events-calendar-pro/src/resources/js/tribe-events-pro.min.js?ver=4.4.31′&gt;

    #1615746
    Cliff
    Member

    The extension is designed to display all events at a single venue. It accomplishes this by customizing the pin’s text. You can reference its codebase as a starting point, but I cannot assist you further toward your desired customizations.

    If you need some coding help, you may want to ask your own developer or reference our Customizations Documentation, which includes a link to Hire A Freelancer.

    #1615785
    ncbaroqueorchestra
    Participant

    This reply is private.

    #1620261
    Patricia
    Member

    Hi there!

    We tweaked the tribe-events-ajax-maps.js file to help you and other customers who might want to customize the map tooltip in the future.

    These are the lines that we modified/updated (L56 to L80):

    https://gist.github.com/nefeline/d441c3e2fb17d3add7b6ecfa9928547f#file-tribe-events-ajax-maps-js-L56-L80

    Here’s the new extension file.

    Please note that for now, this is an unofficial extension. The code here was modified based on existing .js file in the “Display all events with the same venue in the map tooltip” extension and is keeping this functionality as well.

    I hope this helps!

    Regards,

    Patricia

    #1621060
    ncbaroqueorchestra
    Participant

    Hi, Patricia! I was so excited to receive your response and tried to install the new extension file, using the plugin installer. However, I got the following message:
    “The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature” What went wrong?

    #1621650
    Cliff
    Member

    Hi. Patricia’s .zip file worked just fine for me.

    Please try again. If it doesn’t work, you might want to unzip it and upload it manually via FTP (https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation)

    Please let me know how this goes for you.

    #1621983
    ncbaroqueorchestra
    Participant

    I can’t unzip it! See screenshot of results from Win-Zip. Is there a better program I could use for un-zipping?

    I read through your article on Manual Plugin Installation, and have a question: where to find my FTP program?

    #1622308
    ncbaroqueorchestra
    Participant

    I unzipped it…using 3rd program! Have read all articles on FTP uploads…but that will have to wait until after Florence. Expecting high winds soon. So, if you don’t hear from me, it’s not because I’ve lost interest…just lost power or Internet access…lol!

    #1622309
    ncbaroqueorchestra
    Participant

    I unzipped it…using 3rd program! Have read all articles on FTP uploads…but that will have to wait until after Florence. Expecting high winds soon. So, if you don’t hear from me, it’s not because I’ve lost interest…just lost power or Internet access…lol!

    #1622457
    ncbaroqueorchestra
    Participant

    Patricia’s extension has been installed and activated on the staging site. I tried it, but nothing has changed. Does it have to be configured? If so, where?

    #1622483
    ncbaroqueorchestra
    Participant

    This reply is private.

    #1622524
    ncbaroqueorchestra
    Participant

    This reply is private.

Viewing 15 posts - 1 through 15 (of 39 total)
  • The topic ‘I would like to add Time and Venue to Event Title in Calendar View’ is closed to new replies.