Mini Calendar Tooltips

Home Forums Calendar Products Events Calendar PRO Mini Calendar Tooltips

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1058945
    Gino
    Participant

    I would like to get tooltips to work on the min calendar. I’ve seen this question asked a number of times and the response usually involves a point in the right direction, but no one follows up.

    So, I’m determined to make this work, but I would appreciate some help from the experts. When I get this to work successfully, I vow to follow through and post the solution in clear, concise steps.

    I found this in a thread from a few month ago:

    I’d suggest starting by enqueueing the same scripts from the Month View into the template you are using for the Mini Calendar. Then, I would modify the Mini Calendar templates (more on template overrides in our Themer’s Guide) to simulate the Month View markup and modify accordingly.

    What I’ve done so far is to set up the template folder in my child theme.

    • I created a folder called “tribe-events”
    • Inside the folder “tribe-events”, I created folder called “pro”
    • Inside the folder “pro”, I created a folder called “widgets”

    Inside the folder “widgets”, I have copied the following files and folders from
    plugins>events-calendar-pro>src>views>widgets:

    • file: “mini-calendar-widget.php”
    • folder: “mini-calendar” with the following files:
    • grid.php
    • list.php
    • single-day.php

    And the following I copied from plugins>the-events-calendar> src>views into a new folder called “month” located in tribe-events>month:

  • Inside the folder: “month” the following files:
    • content.php
    • loop-grid.php
    • mobile.php
    • nav.php
    • single-day.php
    • single-event.php
    • tooltip.php

    So before I continue, can someone verify that I have my child directories set up properly in order to get to the next step?

    Thanks,
    Gino

#1058991
Geoff B.
Member

Good evening Gino and welcome to the Events Calendar forums!

Thank you so much for your dedication and desire to add a tooltip to the Mini Calendar.

That being said, as you can imagine (and as you pointed out), we do provide limited support to customizations.
We do however try to get our wonderful clients started on the right foot, but this is usually as far as we can go based on our terms and conditions.

That being said, to answer your question:

can someone verify that I have my child directories set up properly in order to get to the next step?

The answer to that is yes for the most part.

The precise list of the supported template customizations (along side the paths of the child theme to use) are visible under the Widgets and Month sections of the Themer’s guide

In some cases, you added files that are not “supported” (will not work) using our template customization system. Should you need something from these files, you will have to write some custom functions in your child Theme’s functions.php and use the appropriate hooks, filters and actions.

For instance, you’ll see that list.php is not in the supported list under pro/widgets/mini-calendar/ in the Themer’s guide

However, pro/widgets/list-widget.php is a supported override.

Same goes for mobile.php and tooltip.php under tribe-events/month

I am not saying you can’t get these to work at all, just that they will not work “automatically”.

Hope this helps get you started and good luck with your project!

Let me know if you need any clarification on those pointers ?

Have a great night,

Geoff B.

 

#1059241
Gino
Participant

Thanks for your reply. Unfortunately, I don’t think it’s going to be very helpful in my quest.

I’ve copied these files over to the child theme because I think these are the keys to the code I will need to use in order to get the tool tips to work.

The plan is to pull in the code from the month view main calendar and put that into the widget, then restyle it with CSS to make it look the way I want it to look.

I don’t know where to find that. It’s not clear in the themer’s guide where to find specific functions, hence my posting on the board.

Couple of questions:

1. There used to be tooltips in the mini-cal in version 3, I believe. Why were they removed in the first place? Can I download somewhere archived version of the old plugin?
2. There have been a lot of requests for this from other Tribe customers, and everyone gets pretty much the same answer… Tribe doesn’t support customization, figure it out yourself. I’m willing to do this because I have a client that needs this functionality. I’m not all that solid in PHP, but I will take the time to figure it out. But why would you make your paying customers have to go through the trial and error of this process when you all are familiar with the code and could probably knock something like this out in an hour?

Thanks for your help.

#1059466
Geoff B.
Member

Good afternoon Gino,

I am sorry to hear my recommendations were not helpful to you.

As stated previously, based on our terms and conditions, unfortunately there is only so much we can do as far as supporting customizations.

That being said, I truly hope that you can accomplish what you are looking for.

1. There used to be tooltips in the mini-cal in version 3, I believe. Why were they removed in the first place? Can I download somewhere archived version of the old plugin?

The tooltip was removed as part of a redesign effort of the plugin (branching off) to the multiple premium plugins we know today. You can also find out why the feature request to bring it back was denied by looking here.

With that in mind, you are always welcome to add your own voice to the User voice forum.

You can access old versions of the plugin here.

You might also want to have a look at our functions documentation.

2. There have been a lot of requests for this from other Tribe customers, and everyone gets pretty much the same answer… Tribe doesn’t support customization, figure it out yourself. I’m willing to do this because I have a client that needs this functionality. I’m not all that solid in PHP, but I will take the time to figure it out. But why would you make your paying customers have to go through the trial and error of this process when you all are familiar with the code and could probably knock something like this out in an hour?

That is a valid question and I understand why you might feel this way.

The truth is that we get a ton of customization requests every day for different client needs.
Responding to all of these requests would require a considerable increase in our employee roster thus driving the costs of our plugins way up.

As a side note, I am not sure if the code to do what you are looking for would truly require only 1 hour of work (factoring in everything including testing).

So in short, we do not care about our customers greatly.

In fact, this is why we try to make our plugins customizable in the way they are built.
This is also why we believe keeping the pricing of the plugins affordable is paramount to customer satisfaction.

Perhaps in your specific case you might consider hiring a full fledged programmer to do exactly that customization ?

Thank you for your understanding.

Is there any other questions on that topic I can answer for you ?

Have a great evening,

Geoff B.

#1060155
Gino
Participant

Thanks for your reply. This information is very helpful.

One thing I think (I hope) was a typo:
“So in short, we do not care about our customers greatly.”

🙂

#1060258
Geoff B.
Member

Hi Gino,

You got me there, I tried rewording this sentence about 3 times because I did not want to use a negative tone.

That will teach me!

So of course I actually meant “We care about our customer greatly!”, there I said it 😉

In any case, I am glad this was helpful to you and please come back anytime to our forums.

Have an awesome day,

Geoff B.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Mini Calendar Tooltips’ is closed to new replies.