Add category to tooltip in monthy view?

Home Forums Calendar Products Events Calendar PRO Add category to tooltip in monthy view?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1037085
    John Dale
    Participant

    Add category to tooltip in monthy view?

    Is this possible? Im trying to reverse engineer tooltip.php and/or single-event.php without much luck.
    Seems this should be fairly easy.

    Thanks for any help.

    #1037735
    Brian
    Member

    Hi,

    Thanks for using our plugins. I can help out here, however, I am limited in support customizations.

    It is a little trickeier then it looks.

    I cam up with this replace for the single-event.php:

    https://gist.github.com/jesseeproductions/807e85821cfee83f9402

    And this for the tooltip:

    https://gist.github.com/jesseeproductions/aa212099806c6594df6f

    Replaces those in your theme following the themer’s guide:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    That will get you the information and you can take it from there.

    Thanks

    #1037767
    John Dale
    Participant

    Thanks for the reply. Unfortunately when I use the above code the tooltip popup stops functioning. Im getting this error in the console:

    Uncaught TemplateError: ReferenceError: categories is not defined (on tribe_tmpl_tooltip line 16)

    #1037843
    Brian
    Member

    It is working for me. I am limited troubleshooting customizations.

    I would check to make sure both files are in place in the correct spot in your theme.

    It sounds like the single-events.php might not have been replaced so it is not find the new category json data.

    #1038274
    John Dale
    Participant

    Ah! I was updating the single-event.php in the root directory and not in /month

    Thanks! Works perfectly now!

    #1038302
    Brian
    Member

    I am glad to see you were able to figure it out.

    I am going to go ahead and close this ticket. If you have a similar issue or another in the future, please do not hesitate to create a new ticket.

    Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Add category to tooltip in monthy view?’ is closed to new replies.