Support

Home Forums Events Calendar Add-on Calendar Not Showing

Calendar Not Showing

Posted: November 28, 2012 at 10:58 am

Viewing 26 reply threads


Arshad Mohammed

November 28, 2012 at 10:58 am

I’m trying to display EE Calendar on my website by putting [ESPRESSO_CALENDAR] in the content box. However, the calendar is not showing on the page. After I turned wp_debug mode on, it’s showing “Notice: Undefined index: enable_calendar_thumbs in /var/www/wp-content/plugins/espresso-calendar/espresso-calendar.php on line 378”. I’m not quite sure how to fix this issue. Please help, cheers.


Jonathan Wilson

November 28, 2012 at 1:24 pm

Hello Arshad, can you share the url to the site? This will help us troubleshoot your issue.

Do you have old template files in the wp-content/uploads/espresso/templates folders? You could try renaming that folder to templatesOLD to see if that corrects the problems.

Another thing you can try is to add [RAW] tags around the [ESPRESSO_CALENDAR] shortcode, like this: [RAW][ESPRESSO_CALENDAR][/RAW].

Also, Try this: Temporarily deactivate all non-Event Espresso plugins to see if that makes a difference.


Greg Disch

November 28, 2012 at 3:18 pm

I am having the same issue only part of the header for the calendar is there

http://blog.gregdisch.com/workshopsclasses/workshop-and-class-calendar/


Josh

  • Support Staff

November 28, 2012 at 3:39 pm

Hi Greg,

The theme (or another plugin) is loading up a newer version of jQuery (version 1.8.3), which our current calendar is not compatible with. The current version of jQuery that ships with WordPress is 1.7.2.

We’ll be updating the calendar to be compatible with newer versions of jQuery in the next update.
You can manually patch the calendar by following these steps:
Download this file
Unzip,
and upload fullcalendar.min.js to the espresso-calendar/scripts directory, replacing the existing fullcalendar.min.js file that is there.

If you need further assistance with this, please let us know.


Greg Disch

November 28, 2012 at 9:47 pm

That fixed the problem with the calendar not showing. Is there a way to make the calendar show an event on only certain days during the duration of the event. I have classes that meet on one night a week for six weeks, the calendar shows it as one long continuous event.
Thanks,
Greg


Dean

November 29, 2012 at 1:31 am

Hey Greg,

The only real way of doing that would be to separate the event into multiple single events as the calendar looks at the event period and marks the calendar accordingly.


mrclarke

December 2, 2012 at 8:50 am

Guys I am having the same problem, my calendar is not showing. Can someone please take a look at my site: http://www.partylink.co.uk/calendar/ and kindly assist me.

Thanks


Dean

December 2, 2012 at 11:48 pm

@mrclarke – it looks like your theme doesnt support [raw] tags, though you could try them in lower case as well. If not then you will either need to speak to the theme developer or change themes.

This theme is a Themeforest theme and we have had a lot of problems with various products from there. We do however talk to them about it so I will pass on this info to one of the guys here who deals with them and see if we can get the theme author to update. We may also need you to get on touch with the author as our voice only goes so far.


Julie Anne Verbeelen

December 3, 2012 at 3:56 am

I would also strongly recommend not to use themes from MOJO Themes! I still can not get mine to work…Is there a premium theme site that is dependable?


mrclarke

December 3, 2012 at 12:06 pm

Thanks Dean – I will reach out to the theme developer, but who and how can they get in touch, assummine they are willing to go the extra mile as well?


mrclarke

December 3, 2012 at 12:29 pm

Hi dean,
I was reading another user’s comment – who uses the same theme that I have from themeforest with very similar problem. Having looked at my source code I can see that I too have “<p" tags wrapped around the calendar jquery..Can you confirm if ths workaround is safe to use:

The solution is to move the wpautop filter so that it’s run before the do_shortcode filter

Many thanks.


mrclarke

December 3, 2012 at 12:51 pm

I have ask requested that my theme dev get in touch with you as well Dean. Hopefully this issue can be resolved in a timely manner..thanks in advance for your time and suggestions.


Josh

  • Support Staff

December 3, 2012 at 5:27 pm

It might help if the theme dev didn’t remove the autop filter in the first place.

Can you look in the theme’s functions file for code that was copied from this tutorial?

http://www.wprecipes.com/disable-wordpress-automatic-formatting-on-posts-using-a-shortcode


Dean

December 3, 2012 at 11:34 pm

Hey,

Yes Josh is absolutely right, wp_autop function shouldnt be removed, but it often is, and I kind of understand it as wordpress’ formatting can be sucky in some situations, but removing it breaks things for everyone else.

If you can check what Josh has mentioned that would be great and may help speed up fixing this.


Susan Sullivan

December 4, 2012 at 5:23 am

I am having the same problem. Our website died so we are reinstalling and rebuilding everything from scratch – using the same theme as before. The calendar worked well before but now is simply not displaying. I have used the patch you mentioned but no no avail.


Josh

  • Support Staff

December 4, 2012 at 8:26 am

Hi Susan,

Can you post a link to the calendar page? Also, what is the patch that you are referring to?


mrclarke

December 4, 2012 at 12:53 pm

Hi Josh & Dean
I have looked at my theme function and the code which the url link to is not written anywhere in the function.php file. Please also note that [raw] upper and lower case when I had used it did not work either. Is there method where I can send you he function file for you guys to take a look at


mrclarke

December 4, 2012 at 1:16 pm

I looked somewhere else Josh and the code is written another php file called “shortcode-generator.php. I have commented out the lines: //remove_filter( 'the_content', 'wpautop' );
//add_filter( 'the_content', 'wpautop' , 12);

The calendar is now appearing on my site, but my question is will this cause future problems?


Susan Sullivan

December 4, 2012 at 1:48 pm

Hi Josh,

Here is a link to the page http://talking-heads.com.au/new/?page_id=986

The patch was something you suggested to someone else earlier in this thread: November 28, 2012 at 3:39 pm. I have cut and pasted it below.

I also notice that the add attendees function on the registration form is not working. Not sure if this is interconnected with the calendar issue.

Thanks for your help.
Cheers
Susan

Hi Greg,

The theme (or another plugin) is loading up a newer version of jQuery (version 1.8.3), which our current calendar is not compatible with. The current version of jQuery that ships with WordPress is 1.7.2.

We’ll be updating the calendar to be compatible with newer versions of jQuery in the next update.
You can manually patch the calendar by following these steps:
Download this file
Unzip,
and upload fullcalendar.min.js to the espresso-calendar/scripts directory, replacing the existing fullcalendar.min.js file that is there.

If you need further assistance with this, please let us know.


Dean

December 5, 2012 at 12:49 am

@mrclarke, no it shouldnt cause future problems, though you may need to check the formatting of your posts because that is what the little function does it changes the formatting. If anything removing that function will mean you are less likely to have problems with plugins.


Dean

December 5, 2012 at 12:53 am

@Susan, Your issue is a little different than the one you mention. Instead of you having a newer version, you are actually running an older version (1.4.4). This is because you are using an older version of WordPress.

I would highly recommend updating your WordPress version (version 3.5 will be out in a few days so maybe hangfire til then). By updating your WordPress you will update the core Javascript which should resolve your issues.


mrclarke

December 5, 2012 at 1:41 am

Hey Dean,
My theme dev supplied two new php files (page.php and shortcode.php). I am no sure what he did, but everything seem to be working now. I just wanted to extend my thanks to yourself and Josh for your much needed inputs.


Dean

December 5, 2012 at 3:36 am

@mrclarke, You’re welcome! Glad you got it sorted!


Gail DeLuca

December 5, 2012 at 10:08 am

I gave up and went back to version 1.8 and it is working again.


Josh

  • Support Staff

December 5, 2012 at 1:25 pm

Hi Susan,

Can you please try updating to the very latest version of the calendar add-on? There was a new version made available last week that fixes the issue with newer versions of jQuery.


Susan Sullivan

December 5, 2012 at 4:00 pm

Hi Dean, I have installed the most recent version of the calendar – 2.0.4
Still not working. Would this problem be linked to another I am experiencing where the drop down box for ‘add attendees’ does not show?
Thanks
Susan


Josh

  • Support Staff

December 5, 2012 at 4:55 pm

Hi Susan,

I could be linked. Can you try temporarily switching to the default theme so we can narrow down the cause of the issue? The theme test drive plugin will let you do this without actually switching the current theme.

Viewing 26 reply threads

The support post ‘Calendar Not Showing’ 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