My Calendar FAQ

Need help getting started with My Calendar? Please Buy the User’s Guide!

  1. I just upgraded, and now my calendar is blank – what should I do?
  2. I’d like to display the event title with the date in List format. How can I do that?
  3. How can I add a link to my theme to let registered users add events?
  4. Can I open external links in a new window?
  5. The event details box disappears under my sidebar! What can I do?
  6. Why are past events showing up in my upcoming events widget?
  7. I don’t want to show event categories in my widgets. How can I change that?
  8. My theme isn’t widget-ready. How can I place a calendar in my template files?
  9. Can I display the calendar using a different day as the first day of the week?
  10. Help! I can’t see any events on my calendar, although they appear in the admin!
  11. My RSS and/or iCal links give me a 404? What’s up?
  12. The event pop-up boxes won’t close.
  13. This looks terrible with my template! You suck!
  14. I upgraded and now the My Calendar widgets are gone! What do I do!
  15. I’m using your widgets, but I don’t want the widget showing up on my events page. How do I control that?
  1. I just upgraded, and now my calendar is blank – what should I do?
    The most likely problem is an out-of-date cache. To verify this, you can either clear the cache (on the My Calendar settings page), or you can disable the cache. If you still aren’t seeing any of your events, send a support request!
  2. I’d like to display the event title with the date in List format. How can I do that?
    You can’t, per se. This is a very frequently asked question, and it comes from a misunderstanding of what the list format does. The list format is a list of dates, not a list of events. The event title can’t be displayed with the dates because the plug-in doesn’t know which event to show a title for: the date may contain multiple events. However, in version 1.9 and above, there is an option to show the title of the first event of the day and an indicator of the number of events in list mode — you can find this on the settings page.
  3. How can I add a link to my theme to let registered users add events?
    Add this code to your theme where you want the link to be:

    <?php if ( !is_user_logged_in() ) { ?>
    <a href="<?php echo wp_login_url( get_admin_url().'admin.php?page=my-calendar' ); ?>">Log in to add events</a>
    <?php } ?>
    

  4. Can I open external links in a new window?
    All external links, including links to maps, use the class ‘external.’ You can write a simple jQuery statement to open those links in new tabs if you wish. This will not be added to the core code at any time. You can add this code:

      $(".external").live("click",
             function(e){
             $(this).attr('target','_blank');
      });
    

    Add this just before the closing “});” in the Calendar JavaScript (Dashboard > My Calendar > Behavior Editor).

  5. The event details box disappears under my sidebar! What can I do?
    There’s about a 99% probability that this is because the content container on your web site has the CSS direction overflow: hidden; set. You can usually remove this direction without any damage to your web site, although I can’t promise that it won’t have consequences. The reason it exists is frequently as a bug fix for IE6 — to protect you from what can happen in IE if you add an object (like an image) which is wider than your content area to a blog post. Alternately, you can make a minor CSS change to move the event details box to pop up in the center of the calendar:

    Change this:

    #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
    width:50%;
    }
    

    To this:

    #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
    left: 15%;
    width:70%;
    }
    

    Only the changed items are noted.

  6. Why are past events showing up in my upcoming events widget?
    The upcoming events widget has a number of options, including the choice to display any number of past or future events. The default settings allow for both, so if you only want future events to be shown you’ll need to change the settings.
  7. I don’t want to show event categories in my widgets. How can I change that?
    The widgets both use templates to determine what they’ll display. You can edit those templates to show whatever you need within your list of events. The available template tags can be found on the plugin’s Help page. You can wrap these template tags in whatever HTML you want to get your desired output.
  8. My theme isn’t widget-ready. How can I place a calendar in my template files?
    Use <php? echo do_shortcode('[my_calendar]'); ?> to add My Calendar to your templates. You can use your shortcodes normally within the do_shortcode function. As a note, be careful about nesting of quotes: if you’re delimiting the function argument with single quotes, as above, be sure to use double quotes to delimit shortcode attributes.
  9. Can I display the calendar using a different day as the first day of the week?
    The calendar uses either Sunday or Monday as the first day of the week, using the general settings for WordPress. You can find those settings at Admin > Settings > General > Week starts on.
  10. Help! I can’t see any events on my calendar, although they appear in the admin!
    There are a couple of possibilities here. First, if you have approval options enabled you may be in the situation that your calendar events have been saved but not approved for publication. Approval options are configured in My Calendar > Settings > Calendar Management Settings. The second possibility is that you have custom settings configured for registered users. One of these settings will only show events in a registered user’s chosen location. This should be turned off by default, since it’s only useful in web sites with a significantly base in registered users. However, a bug in versions 1.6.3 and 1.7.0 caused it to be enabled by default. Check this in My Calendar > Settings > Calendar User Settings > Location Settings
  11. My RSS and/or iCal links give me a 404? What’s up?
    WordPress usually needs to have its permalink settings refreshed when a new permalink format is introduced. You should go to your permalink settings page and re-save your permalink format. No need to change anything, just a quick re-save. You may also need to clear your browser cache in many cases. (This isn’t related to permalink formats, but due to aggressive browser caching.)
  12. The event pop-up boxes won’t close.
    The most common cause of this problem is if your theme is missing <?php wp_footer(); ?> in the theme file footer.php. Add the function call right before the closing </body> element to fix this.

    If you’re using the Atahualpa theme, this has caused problems in the past. There are two common suggestions: 1) Turn off CSS compression 2) install this patch for Atahualpa

    Another issue is that the method used to run jQuery up through version 1.6.2 has some issues getting along with other JavaScript. You can correct the jQuery statements yourself in the Behaviors editor (Dashboard > My Calendar > Behavior Editor) if you’re running into this problem.

    As of version 1.9.0, if you visit the My Calendar Behavior Editor page, My Calendar will notify you if your current behavior scripts are not a match for the current released version, and will offer you a view to compare your scripts against the current version.

  13. This looks terrible with my template! You suck!
    Hey, give me a break. There are four separate stylesheets available with the plug-in, and that’s as many as I’m going to supply. If none of them work well with your theme, you’re going to have to do some customizing. You can even choose to hire me to customize your calendar.
  14. I upgraded and now the My Calendar widgets are gone! What do I do!
    If you upgraded from a pre-1.7.0 version, then you simply need to restore your widgets. Go into your Appearance > Widgets and drag the new My Calendar widgets over to your sidebar and configure them.
  15. I’m using your widgets, but I don’t want the widget showing up on my events page. How do I control that?
    My Calendar doesn’t handle this directly, but you can use a widget control plugin to handle it – there are a couple I know of: Widget Context or Widget Wrangler. I haven’t used either of them myself, but others have used them successfully for this purpose.

Need help getting started with My Calendar? Buy the User’s Guide!

Return to Top

902 Comments to “My Calendar FAQ”

  1. Joe - I’m still experiencing an issue on almost all my installations of My Calendar where all events suddenly show the popup boxes open when the calendar is viewed and they won’t close when the X is checked. This just happened one day for no apparent reason on several different sites. Here is one: http://www.newyorkhealthworks.com/events/

    I just updated to the newest version and that didn’t contain a fix. Any ideas what’s going on? Has anyone been able to fix this? According to the behavior editor, everything is fine. I’ve tried restoring everything to defaults and still have the issue. I also totally removed the plugin and re-installed and the issue was there.

    Thanks. I’ll donate if you can help me fix this.

  2. Hey Joe,

    Great plugin, thanks! One question - using a short code, how do I stop events which have a different start/end date from repeating? i.e. Event A begins Oct 31st, ends Nov 5th, but displays each day for Oct 31st, Nov 1st, Nov 2nd, etc. I would like to display this as one event, with start and end dates.

    Also, would love to be able to display {enddate} only if different from {date}. Is this possible?

    The shortcode I am using currently is:

    [my_calendar_upcoming before=”7” after=”60” type=”days” fallback=”No events coming up!” template=”{date}-{enddate}: {title}” order=”asc” skip=”0”]

  3. Hello Joe, i installed your calendar and works perfect. I installed it in a spanish site and works perfect…

    Just one problem i found today, its very strange and maybe is some error in spanish language or simillar:

    You can see the right month, all months, but in the small combo to change of month and year, months are duplicated in this order:
    enero - marzo - marzo - mayo - mayo - julio - julio…etc…

    As you can see, febrero (february) is gone and in its place is repeated marzo (march). But if you select it goes really to february…

    So the problem is that half of months are duplicated/wrong in language. Same for the mini calendar in the sidebar…

    Any idea how to fix that, please???

    thanks for all…

    This is the URL, so you can check it:
     http://www.motorextremo.es/calendario-mensual/?month=2&yr=2011

  4. The drop down and event per page is showing multiple months and missing months at the same time, so if I click the drop down it says January January, skips a month or two and goes to March, november is missing, etc.

    There are events scheduled on the missing months and that doesn’t explain the duplicate months that I’m seeing. Any ideas?

  5. @Gary Well, that’s not a glitch in the plug-in, certainly. I’m guessing that it’s your theme which is looking for those span elements — My Calendar doesn’t use any special button styling. You can certainly edit the core files; most markup is in the my-calendar-output.php file. Any edits you make to markup will be overwritten if you upgrade, so be sure to keep track of what you’ve done.

    @Garry There isn’t, at the moment, but I’ll consider making it an option in the next version. That’s definitely not a change I’d want to make as a new default — it could really catch people by surprise.

    @Shag There isn’t, but you can use HTML in PHP date format strings. Review the documentation at PHP.net for that.

    @Julie I haven’t, but will look into it.

    @jim No, there’s no way to do that at this time.

    @Julie (2) 1) The RSS output is created in my-calendar-rss.php, and shouldn’t be overly difficult for you to edit. You only need to change the template. The location of the calendar details can be controlled in CSS changes; this could be tricky, given that the details box is positioned relative to the calendar, not to the window, but you can play with it.

    @Janet Yes, separated either by location or by categories.

    @Ross This is not something in the plug-in at this point. The above code is only intended to provide a link which can be used to log-in to the admin and be directed to the new event page, bypassing the dashboard.

  6. Hi Joe, great plugin! One of the best I’ve seen.

    I have what I think is a glitch on the form input for the my-calendar-date-switcher. The “Go” button seems to be missing the surrounding span elements that would supply the background images - the only one that shows is the left side of the button sprite. I checked the css, it seems to be expecting spans, but they are not there.

    Can you tell me which file contains the html markup so i can add them in?

    The form is here if you want to see it yourself: http://www.garydarling.net/dish/culinary-program

    Current WP version: 3.2.1
    new install of MyCalendar

    Thanks Joe!

  7. WordPress 3.2.1, my calendar 1.9.2

    Is there anyway to setup or program My calendar to allow a NO confirm delete of an individual date event by admin? The current process is too cumbersome. Takes you into WP admin, asks confirmation, then you have to manually return to the calendar after the delete.

    I setup an Event to reoccur 104 weeks, then need to delete individual future dates as they no longer apply.

  8. Is there a way to display the day/month/year separately or individually rather than just using the {date} option? I’d like to get a little more control over styling. I’ve done some searching but haven’t turned up anything. If not, I’d throw out a +1 on adding some spans with css classes around the day/month/year/etc. in the output.

    thanks, Shag

  9. Has anyone tested My Calendar 1.9.2 with the new BuddyPress 1.5.1? I’m happy with My Calendar and don’t want to mess it up if the latest BuddyPress is going to cause issues. There seemed to be a lot of plugins that BP 1.5.1 causes problems for - My Calendar isn’t one of the plugins they are testing for compatibility though. Thanks.

  10. I am beginning work on another website that will be under a different domain than the one abovoe. I would like to have the calendar from the domain above display in the new website, so events would only have to be entered once. It is possible to have a short code that would embed the calendar from the domain above onto a page in a website that has a different domain? Thanks for a great calendar plugin.

  11. @Ross - I just looked at your calendar and the form comes up when someone clicks on a block for a day. I submitted a test event that you’ll want to delete, but it looks like it works. You may just want to tell users to select the date of the event they want to add.

  12. This plugin is getting better and better with each update. I love it. I do have a couple questions.
    1- can I adjust the rss output somewhere? I tried to change the code in the rss.php file (just to test) and it didn’t change the output. there are a few items that are being pulled that I want to stop showing in the feed.
    2- the event box opens and closes perfectly, it can be moved once opened, but we have a very big calendar and when users select an event that’s not in the center of the page, they don’t see that the box has opened because it remains in the center of the page, not the center of the currently visible screen. How can I adjust this - or can I?

    Thanks again for such a great calendar plugin.

  13. Thanks, Joe, for this awesome calendar plugin. Is there a way to manage more than one calendar with different events? Thanks in advance.

  14. Joe - I love the calendar. However, it is imperative that I have an option on my calendar that allows users to submit their events. I know you have this functionality built in, but it seems that no matter where I add the php code you list above the “Add an Event” option never shows up on the calendar front end. Please help! My calendar site is http://mysandyspringstv.com/community/calendar

    Thanks Joe!

  15. @Tom It’s not displaying correctly out of the box because your theme is using a style with the same name as a class attached to the weekend headings in the calendar; the easiest thing to do is to edit that style in your theme so that it will apply to the intended field (an input box) and not to the table headings in the calendar.

  16. Sorry Joe - you lost me. Not quite sure why it’s not displaying correctly out of the box. Take a look (just a dev site): http://subito.levelfielddev.com/

    Thanks,
     Tom

  17. @Tom Thanks for supporting My Calendar! You’ll want to edit the class ‘.s’ in your theme stylesheet; you can make it specific to the input field by changing it from .s to input.s.

  18. WP 3.2.1
    New installation
    Just purchased User’s Guide

    In the Mini Calendar widget the “S” for Saturday & Sunday are out of alignment. CSS fix?

    Terrific plugin - thanks.

    Tom

  19. hello

    there is a conflict with qtranslate plugin. As you can see in this picture :
    http://dl.dropbox.com/u/7552009/WebEPI_mycalendar_bug_langue1.PNG
    the textarea vanished.

    Qtranslate tries to replace all textarea with html editor by a textarea per language. Then it disabled all but one textarea to let the user edit the description of its event.

    Here is the bug :
    http://dl.dropbox.com/u/7552009/WebEPI_mycalendar_bug_langue2.PNG
    qtranslate adds a style display:none to both textarea.

    I disabled the HTML editor for desciption field in the settings and the textarea is back.

    Thx, best regards.

  20. Hello,

    I was using the My Calendar widget in the list format for my site and it was working great. Then, for no reason, it switched to the mini-calendar/grid format, wont show any events, has no title on the sidebar, and it just doesn’t look good. I have updated to the latest version of the widget, but the problem persists. I am guessing that I must have accidentally messed something up in the settings or this is some sort of bug. Any help would be appreciated.

    CMak

    WordPress version: 3.2.1

  21. @Barry Glad you got that figured out!

    @Wayne Same as above! :)

    @Sean Glad we got that figured out. (For the record, it looks like this was actually a problem in an earlier version of My Calendar.)

  22. Hello,

    I solved this by making the parent element (#jd-calendar .calendar-event) position:relative.

    Joe I think you must have intended it to have a slight offset from its parent, so my CSS tweak honors that.

    Carry on!

    Barry

  23. Hi Joe,

    You rock sir! Studliest cal plugin yet.

    I have a template question. In grid view, I have set my detail popup behavior to trigger on hover instead of click. When the mouse moves over the event heading the popup flickers. The focus is apparently shifting between the target which is below, and the popup which floats directly on top.

    I was wondering if there is a way to make the popup either move with the cursor like a tooltip, or be offset relative to its parent, instead of it displaying in its fixed position. (By parent I mean the event heading that the description belongs to.)

    I hope I explained that clearly :)

    Thanks for the great plugin, and please advise when you get a chance.

    Barry | WP 3.2.1, new install of latest My Calendar

  24. Joe,
    My apologies. Ignore my last post. No issue here. The template i was using wasn’t getting the current page by design. i didn’t need it for my content. I didn’t realize you were using that to generate the previous and next navigation. It makes sense. How else would you know the current page. It was inheriting a custom post from the header. I just added a ‘if (have_posts()) : the_post();’ and it’s good as gold.

    Thanks again for the great plugin!

  25. Hello Joe,
    Something very strange is happening to my calendar. I have a calendar that is generated using echo do_shortcode( ‘[my_calendar showkey=”no” shownav=”yes”]’ ) ; in my template. I also am doing some styling to override the text for the previous and next buttons. However, they are generating a link for a different page than my Calendar page. take a look: http://guidewireservices.com/work8/calendar/

    Thank you

  26. @Joe The event was setup as a one day event that repeats daily. The event is now passed, it was only until the end of September, but here is the site it’s on: http://www.duttonfarm.org/calendar/?yr=2011&month=9&dy= The event only showed as upcoming until the first of September, and then only the separate event on the 24th would display.

  27. @ben There isn’t a setting or template option for moving the previous/next buttons at the moment. Sorry. You could displace them using CSS, however.

  28. how do i move the previous/next buttons to the bottom? using mini calendar as sidebar, am i missing something in template or behavior editor?

  29. @Sean Can you show me the site with this issue? How was the event set up - is it a single event which runs for several days, or a repeating event which happens independently on several days?

    @Romain Glad you got it.

    @Ben You can edit the templates within each details field using the template editor, but if you want to make any changes to the overall HTML you will need to be editing the core plug-in. Be warned that any changes you make to the core files will be overwritten if you upgrade. Edits to templates, styles, and behaviors are all preserved when you upgrade.

  30. Is there a way to get repeating events to show up in the upcoming events widget? Currently only the first day of the event is showing up, but I’d like all days to show up. Thanks!

  31. That’s it! I think all my bug are resolved now !
    I am really stupid not to have seen this error alone!
    In any case thank you very much to have taken time to answer my questions.

  32. thanks for the heads up on wp_head/footer. All works well.

    I’m good with the CSS but if I want to move around or delete them, like I don’t need a title (i can use display: none; i want to move the previous/next buttons (#my-calendar-header) to the bottom, etc…), what’s the best way to move or delete divs? is that all located in output.php?

    Thanks!

  33. @Garry If I were to ever get around to installing a forum, yes. Unfortunately, I haven’t had the time to give to that. Glad you and Wayne managed to talk.

    @Romain I see the problem. You’ve replaced the text with an image; but the address for your image isn’t absolute, so when you’re not on the home page the URL is incorrect. Add a “/” in front of your image address.

  34. I think I’m missing something, but isn’t there some way to do a search on the forum and articles for certain topics?

  35. Wayne, Please contact me concerning this. I did a form on your website.
    I’m not sure how to tie this comment to the previous ones we sent?

    Garry

  36. Garry,
    I’ve done something a bit like what you are referencing in #1. I have a client who needed to see events for the current week, month and season. I wrote some code to display these in a sidebar. If you are interested, let me know.

    Wayne

  37. 2 questions:

    1) Is there any way to prompt a user for a particular week/year (maybe from a calendar pick), then display a list of Events for just that week?

    2) I need to do deletes of a variety of individual event dates as easily and quickly as possible.

    Is there anyway to do (or even write) a way to do quicker DELETES of individual date events? A no confirm delete or something like that. Currently each delete takes you into admin panel to confirm, then gotta go back to the calendar.

  38. They come back when the next month reloads only on my home page!
    But when you visit another category page there is the same problem as I notified to you in my last post.

  39. @Ben Your theme isn’t using either wp_footer() or wp_head() these are very important functions in the footer.php and header.php theme files which many plug-ins need to enqueue their scripts and styles. You should add wp_head() just prior to the closing </head< element and wp_footer just prior to the closing </body> element. wp_head isn’t mentioned in the FAQ because this is a function which is very, very rarely missing from a theme.

  40. I’m having the problem where the mini calendar has an event overlaid on top of the calendar in the sidebar. I tried the fixes with the php call in footer.php, i’m creating my own theme so not using atahualpa, installed on WP 3.2.1 and 1.9.1.

    Thanks for your help and the plugin!

  41. @Romain But they come back when the next month reloads, yes? They do when I test it, at any rate. If not, let me know what browser you’re using - I may need to re-check.

  42. When i ‘m turning on permalinks the button next event and past event disappear.
    You can see this problem directly on my site : http://www.vieuxvolantsvallauris.fr

  43. @Romain Thanks. That is an incorrect URL, then, definitely. I’m sure that turning on permalinks would fix the problem for you immediately - but I can see the bug in My Calendar, so I’ll get this figured out if you don’t want to use custom permalinks.

  44. Hello Joe
    The asterisks which are in that URL are an “esperluette” :
    “The requested URL /&cat=10&yr=2011&month=10&dy= was not found on this server.”

  45. @Bryan Change the text in the event settings text. The field won’t accept blank as an option, but it will accept a single space, which will have the same effect.

  46. Is there a way to keep events from showing N/A as the start time if there is no start time (or it’s an all day event) ?

  47. @Romain What are the asterisks in that URL string you posted supposed to represent? Is that actually part of the URL that is being produced?

    @Jayson You should use the My Calendar shortcode generator; none of this is a problem. Either the My Calendar shortcode generator or the widget can generate limited lists by categories, as documented on the Help page. If the Help page isn’t enough information for you to figure this out, you may want to consider buying the User’s Guide

    @Garry At what point did you lose it? Did you change versions of WordPress? Did it happen with an upgrade to My Calendar? Did you change settings and it stopped working?

    @Nathaniel If you’re actually using WordPress version 2.1.0, there’s no way that My Calendar is going to work for you. However, assuming that’s a typo of some sort…all My Calendar styles, widget or otherwise, are edited through the My Calendar style editor.

    @WendyK That was a change in version 1.8.0, some six months or so ago. I intend to eventually add some further options for mobile view, but this was a change I made because of some problems with the usability of the grid view on mobile devices.

  48. WP 2.1.0
    new install

    Would like to know which file needs modifying to style the widget?

    Cheers

    Nat

  49. I seem to have lost the ability to set a featured image when adding an event??
    I am currently trying to configure and evaluate the product.

  50. I don’t want to show all categories. For example, I want to create a birthday page to show birthday events, and work page to show work events. Can I specify only some (or just one) of the categories to display? I know that your widget can do it but I need it to show in page/post, not the sidebar. I found another plugin to put widget into page/post, but the widget only show date without title and description, which means you have to click to know what happens on that day. Any solution or hack for my problem? By the way, great work on this plugin, I love it very much with comparison with other same-type plugins. Thanks anyway.