Support

Home Forums Events Calendar Add-on About Calendar Widget

About Calendar Widget

Posted: November 12, 2013 at 4:07 pm

Viewing 8 reply threads


mar garcia

November 12, 2013 at 4:07 pm

Hello,

I am trying to configuring the Calendar Widget, but it is not showing as i want. I modify the espresso-calendar-widget.php for the tooltip option, i saw it in this forum. The issue is that i want the day with an event appears in other colour, but now when a day has an event it shows the Event title, and the calendar break the style, you can see in http://orycronsport.es

Can you help me to solve this issue.

Thank you in advance.


Dean

November 13, 2013 at 2:10 am

Hi,

Perhaps the best thing to do here, is to try out the Calendar 2.1.5 Beta in the Pre Release section in your account. It has tooltips available now so no need to change code.

Pre Release guide – https://eventespresso.com/wiki/pre-release-channel-guide/


mar garcia

November 13, 2013 at 6:03 am

Hi Dean,

I have done what you said, but same result, you can see it at http://orycronsport.es

I want the Title of the Event dissapear and just show the day of the event highlighted. What can i do to solve this.

Thank you


mar garcia

November 13, 2013 at 6:04 am

Another thing, I can’t see the links to next and previous month.


Josh

  • Support Staff

November 13, 2013 at 1:24 pm

Hi there,

I checked the source of the page and for some reason the espresso_calendar_widget class is missing from the markup. The espresso_calendar_widget class has styles that hide the event titles in the widget (and provides the styles for the buttons) I’m not sure why these are missing on your page. Has anything been modified in the calendar plugin files?

One thing that may help to narrow down the issue is to check this with another theme active. The theme test drive plugin will let you safely test another theme without actually switching the theme so visitors of the site still see the active theme.


mar garcia

November 13, 2013 at 3:14 pm

Hi Josh,
I installed the new beta calendar plugin but any file has been modified. I have installed the theme test drive plugin and test it, but even worst, now the calendar is missing. Any other suggestion.

Thank you for your suppport.


Josh

  • Support Staff

November 13, 2013 at 4:05 pm

When you run a different theme you’ll need to re-add the calendar widget to the other theme’s widget area.


mar garcia

November 13, 2013 at 4:33 pm

Ok, I have done what you say, changing to twenty twuelve template and readding the calendar widget, and it works, but what can i do to solve this issue with my original template.


Josh

  • Support Staff

November 14, 2013 at 8:54 am

One way to solve this is change the theme function that registers the sidebar widget so that it sets before_widget and after_widget. It may be missing from the array when the sidebar widget gets registered. Here’s an example from the twentytwelve theme:

register_sidebar( array(
		'name' => __( 'Main Sidebar', 'twentytwelve' ),
		'id' => 'sidebar-1',
		'description' => __( 'Appears on posts and pages except the optional Front Page template, which has its own widgets', 'twentytwelve' ),
		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
		'after_widget' => '</aside>',
		'before_title' => '<h3 class="widget-title">',
		'after_title' => '</h3>',
	) );

The key here is that the before_widget value has class="widget %2$s". This will allow the Event Espresso calendar widget code to add its class name.


mar garcia

November 14, 2013 at 9:52 am

You read my mind, i was looking a solution in this way, but your code is the right code, the perfect code for sure.

Thank you so much for your help, problem solved.

Greetings from Spain

Viewing 8 reply threads

The support post ‘About Calendar Widget’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso