WordPress.org

Ready to get started?Download WordPress

Forums

AJAX Calendar doesn't appear (6 posts)

  1. renet
    Member
    Posted 6 years ago #

    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

  2. amosslee
    Member
    Posted 6 years ago #

    You need to place some code in your sidebar.php

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

  3. amosslee
    Member
    Posted 6 years ago #

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

  4. renet
    Member
    Posted 6 years ago #

    i already found out, but thanks =)

  5. RaymondDay
    Member
    Posted 6 years ago #

    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

  6. RaymondDay
    Member
    Posted 6 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic