Support » Fixing WordPress » Calender plugin from O’shea

Viewing 7 replies - 1 through 7 (of 7 total)
  • The problem will be that somehow your .htaccess file has been modified. You will need to reinstate the two lines that are required for Calendar and then ensure the file cannot be changed again by setting its permissions to read only.

    When you update your blog’s settings it writes over everything between # BEGIN WordPress and # END WordPress.

    Put your rewrite rule in its own block, eg:

    <ifmodule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^calendar/([^/\.]+)/([^/\.]+)/?$ wp-calendar.php?year=$1&month=$2 [QSA,L]
    RewriteRule ^calendar/?$ wp-calendar.php [QSA,L]
    </ifmodule>
    # BEGIN WordPress
    <ifmodule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </ifmodule>
    # END WordPress

    That’s a helpful post alexdunae, thanks 🙂

    If your server runs Linux it is also well worth chmod’ing your .htaccess file such that it cannot be modified by anyone once you are happy with its contents. This will stop you accidentally over-writing changes you have made to it for Calendar or any other plugin or application.

    I have succeeded bringing your great calendar to my WordPress site.

    The problem is, it spans all over the width of the browser windows so it overlaps sidebar.
    http://albi.divegear.cz/calendar

    Any idea? Im using Opera browser running on linux machine.

    …already solved that. It just needed to hack a little wp-calendar.php file.

    find the line
    <?php echo calendar(); ?>

    and add 2 lines to make it look like this:

    <div id=”content”>
    <?php echo calendar(); ?>
    </div>

    I’m having the same problem with the calendar spanning the width of the Browser. I tried The above hack to the wp-calendar.php file but it didn’t work. Does anyone else have another idea? Any advice would be appreciated.
    Thanks,
    Justin

    LINK

    the maker of the plugin emailed me back and said to look into your page.php file or similar and make sure that the code is similar and calling the same things. I just had to copy and paste a few things over and it worked fine. my theme didn’t have sidbar.php, it had sidebar1.php and sidebar2.php. This is what was throwing things off.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Calender plugin from O’shea’ is closed to new replies.