Display event organizer in tooltip in monthly calendar grid view

Home Forums Calendar Products Events Calendar PRO Display event organizer in tooltip in monthly calendar grid view

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #396725
    restoreoregon
    Participant

    We list events that we do not organize, so I would like to display the organizer name in the monthly calendar grid view tooltip. I have accomplished this for our list view, but the tooltip is in javascript and I have to admit that it’s kicking my butt. I’ve only used small amounts of JQuery.

    #412622
    Casey D
    Member

    Hello restoreoregon,

    This is easier than you might think (only 3 line from what I can tell), and it is more php than javascript!

    You just need to get the organizer name of the event, set it in an array, pass the array in as additional data to be converted to json and then call that new object in the tooltip template.

    You’ll have to style it how you want, but this shows how to get the organizer name in the tooltip. Lines 188 and 192 on single-event.php along with line 20 of tooltip.php are the only changes from the base template.

    https://gist.github.com/caseypatrickdriscoll/97bae844173aad2fe65e

    Does this make sense? Let me know if this doesn’t work for you.

    Cheers!

    – Casey Driscoll

    #640278
    Casey D
    Member

    Hello restoreoregon,

    We typically close threads if there is no activity after two weeks. Feel free to create a new thread and reference this one to save you time.

    Cheers!

    – Casey Driscoll

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Display event organizer in tooltip in monthly calendar grid view’ is closed to new replies.