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
amosslee
Member
Posted 2 years ago #
You need to place some code in your sidebar.php
<li><?php ajax_calendar (); ?></li>
amosslee
Member
Posted 2 years ago #
The install page lists just the ajax_calendar ();portion, I needed the other code for my particular sidebar.
i already found out, but thanks =)
RaymondDay
Member
Posted 1 year 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
RaymondDay
Member
Posted 1 year 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