AJAX Calendar

Nov 25, 2005 | Tags: , , , | Written by Administrator

download

Download: ajax-calendar2.zip
Version: 2.4.9
Updated: September 15, 2008
Size: 30.94 KB

Support This Plugin!

While this software is being provided free to use, it takes considerable time to develop and support. If you do find it particularly useful or want to request a feature then consider donating money as an incentive for me to carry on developing it.

Thanks!

I have other plugins too!

AJAX Calendar is a plugin that will display an AJAXified WordPress calendar. This enhances the functionality of the standard calendar by:

  • Allowing the asynchronous navigation of months, without updating the page
  • Adding a drop-down list of post titles in each month (through the «-» button)
  • Widget support

Version History

  • 2.4.9 - Fix DB prefix bug
  • 2.4.8 - Category selection
  • 2.4.7 - WP 2.6
  • 2.4.6 - WP 2.5 compatability
  • 2.4.5 - Update widget class for 2.1 support

Installation

No sniplet called advert

To install the plugin:

  1. Download ajax-calendar2.zip
  2. Unpack the zip. You should have a directory called ajax_calendar, containing several PHP files
  3. Upload the ajax_calendar directory to the wp-content/plugins directory on your WordPress installation.
  4. Enable the calendar in your theme from the Widget page
  5. Make any modifications to your theme, as required
  6. Activate plugin

You can find full details of installing a plugin on the plugin installation page.

Template tag

If you are not using WordPress Widgets you can display the calendar with the following template tag:

ajax_calendar ();

This should be inserted into your sidebar where you want the calendar to appear.

Example

No sniplet called ajax calendar

Support

Please direct all support questions to the AJAX Calendar support forum. Any support questions left on this page may not be answered.

Bugs & New Features

A full list of all bugs can be found in the AJAX Calendar issue tracker.

A full list of all requested features can be found in the AJAX Calendar feature tracker.

Share This

Comments (page 10 of 17)

  1. DG :

    Oct 16, 2007 6:25 pm

    Hi John,

    I'm still using older version of Ajax Calendar on blog v2.2.3. Recently, on my test machine, which has WordPress 2.3, I downloaded and uploaded latest version and it stopped functioning, and the click on button takes to archive page.

    There after, I checked my page source, here's what's happening:

    1. When I activate plugin, by simply extracting to plugins folder, this is what come in the header"
    /wp3wp-content/plugins/ajax-calendar/js/microajax.js
    microAjax ('http://127.0.0.1/wp3wp-content/plugins/ajax-calendar/ajax.php?full')

    Note: There's missing forward slash in between wp3 & wp-content

    2. Then, I edited Plugins.php and added a slash . '/' . $url

    After the above edit, the slash problem is over, but still calendar isn't functioning, and click on button doesn't do anything. Even they don't goes to archive page, as before editing.

    Can you guess, what could be the problem of this non-functioning?

  2. John (author) :

    Oct 15, 2007 12:58 am

    I've updated to the plugin so that the widget works with WP 2.1, as well as 2.2-2.3

  3. Jhack :

    Oct 14, 2007 7:02 pm

    I've the same problem as Kalian.

  4. Kalian :

    Oct 12, 2007 3:10 pm

    <sigh&gt>

    I've taken the plunge and upgraded to WP 2.3 - now I no longer need the widget wrapper, and obviously I don't need the widgets plugin. The AJAX Calendar appears in my sidebar config, however, as before, when I click on the link for viewing September, nothing appears to happen - clicking on the link to show a list of the current month's posts still works fine.

    Am I missing something obvious?

  5. Kalian :

    Oct 12, 2007 12:04 pm

    OK, I've managed to get the ajax calender to appear as a widget, but I had to create a wrapper widget to do it:

    <?php
    /*
    Plugin Name: AJAX Calendar Widget
    Description: Calls the ajax_calendar() function
    */

    function widget_ajax_calendar_init() {

    if (!function_exists('register_sidebar_widget'))
    return;

    function widget_ajax_calendar($args) {
    extract($args);

    ?>
    <?php echo $before_widget; ?>
    <?php echo $before_title . "" . $after_title; ?>
    <?php ajax_calendar(); ?>
    <?php echo $after_widget; ?>
    <?php
    }

    register_sidebar_widget(array('AJAX Calendar','widgets'), 'widget_ajax_calendar');

    }

    add_action('widgets_init','widget_ajax_calendar_init');

    ?>

    However, although the individual date links work, and the link to expand the widget to include the article's in the current month also works, the link to go back one month doesn't work! Almost there I guess!

  6. Kalian :

    Oct 12, 2007 10:26 am

    Hi John

    I'm struggling to get this plugin working with WP 2.1.3, using version 2.4.4 of the ajax-calendar plugin, on an Ubuntu Feisty box running Apache 2. I can activate the plugin on the Plugins page, and I've renamed the directory in wp-content/plugins from ajax-calendar2 to ajax-calendar. However, it doesn't appear in Presentation->Widgets (I'm using the Widgets plugin for 2.1). Is it a WP 2.2+ only plugin if I want to use it as a widget?

    Many thanks.

  7. Jhack :

    Oct 8, 2007 4:54 am

    The previous version (2.4.3) had that problem, but in the latest one (2.4.4) the problem has been fixed. When I wrote the comment the latest version hasn't been released yet :P.

  8. John (author) :

    Oct 7, 2007 9:44 pm

    Jhack, which characters? As far as I can tell, the plugin should already be XHTML compliant.

    Raoul, a good idea and I've included it in the latest version (although I went with 'the_title', as 'wp_title' is for the page title, not the post title)

  9. Jhack :

    Oct 7, 2007 11:43 am

    Can you replace the characters "&" with the entity "&amp;" in order to create XHTML compliant code?

  10. Raoul C. Brian :

    Oct 2, 2007 11:35 pm

    Thanks for this plugin...
    Is it better to apply filters to the titles? (in order, for example, for jLanguage to work with it)
    In that case, it's an easy change:

    calendar.php line 244:
    $text .= "<li><a href=\"".get_permalink ($pres->ID)."\">".$title = apply_filters('wp_title', $pres->post_title, $sep)."</a></li>";

    Salud!

Leave a comment


XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Home | Software | Terms & Conditions | Sitemap | John Godley © 2008
Close
E-mail It