WordPress.org

Ready to get started?Download WordPress

Forums

Calender plugin from O'shea (8 posts)

  1. Smithdesign
    Member
    Posted 6 years ago #

    My Calender was working fine untill I added a new post in September. I wanted to look at September and it says it's not found.

    Anyone who knows how to solve the problem?

    Here's a link to my calendar:
    http://smithdesign.se/wordpress/wp-calendar.php

  2. Kieran O'Shea
    Member
    Posted 6 years ago #

    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.

  3. Alex Dunae
    Member
    Posted 6 years ago #

    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
  4. Kieran O'Shea
    Member
    Posted 6 years ago #

    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.

  5. janz
    Member
    Posted 6 years ago #

    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.

  6. janz
    Member
    Posted 6 years ago #

    ...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>

  7. Jparra
    Member
    Posted 6 years ago #

    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

  8. Jparra
    Member
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags