Support » Fixing WordPress » AJAX Calendar doesn’t appear

  • renet

    (@renet)


    hi!

    i’ve just installed this plugin, but it doesn’t appear on my page (as i expected). do i need the original calendar plugin to use ajax calendar? or do i only have to place some code into my template? didn’t find any information about that…

    thanks in advance
    renet

Viewing 5 replies - 1 through 5 (of 5 total)
  • You need to place some code in your sidebar.php

    <li><?php ajax_calendar (); ?></li>

    The install page lists just the ajax_calendar ();portion, I needed the other code for my particular sidebar.

    i already found out, but thanks =)

    I put that line in wordpress/wp-content/themes/classic/sidebar.php so it looks like this before and after the line so you know were I put it.

    </form>
    
    	<li><?php ajax_calendar (); ?></li>
    
     </li>

    It works. But just show this month. I can click on the days and it will go to the days but if I click on << dec it stays on January. I can click on the other months and it still stays on January. Is this how it works? I thought it show the calendar were you are seeing in WordPress.

    -Raymond Day

    O should tell a easy way to install it. Like this:

    # cd /var/www/wordpress/wp-content/plugins
    # wget http://downloads.wordpress.org/plugin/ajax-calendar.zip
    # unzip ajax-calendar.zip
    # rm ajax-calendar.zip

    Then edit your wordpress/wp-content/themes/classic/sidebar.php by adding a line starting at about line 19 that looks like this:

    <li><?php ajax_calendar (); ?></li>

    I used WinSCP and textpad that you have to tell WinSCP is your editor. Save it and your done.

    -Raymond Day

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘AJAX Calendar doesn’t appear’ is closed to new replies.