1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. To combat forum spam, new accounts will need to make at least one (valid) post.
    Otherwise, we will periodically purge all users without posts or that haven't confirmed their account.

Mini calendar + List view = broken navigation

Discussion in 'General Support' started by acdems, Jun 30, 2007.

Thread Status:
Not open for further replies.
  1. Hello,
    In my sidebar, I have both a mini calendar and a list of the three soonest upcoming events (regardless of month or category). The mini calendar is stuck on the month that the final listed event falls on; navigation to any other month is not possible.

    This is the calendar code in my sidebar:

    <!-- LIST VIEW -->
    <div>
    <?php
    $LIST=1;
    $listWeeks = 52;
    $listEvents = 3;
    $noOld = 1;
    $epcListMouseover = 1;
    $DF = "D<br> n / j";
    $template="upcoming.php";
    require ("calendar/calendar.php");
    ?>
    </div>

    <!-- MINI CALENDAR VIEW -->
    <div>
    <?php require("calendar/calendar.php"); ?>
    </div>

    This is the page where the problem occurs:
    http://www.acdems.org/new/

    Thanks for any help you can provide.
  2. ve9gra

    ve9gra Support Team

    Right after the require for the List mode, add this line
    PHP:
    unset($mo$yr$displayedEvents);
    I do believe this will fix you up.
  3. Thanks! That works perfectly!
Thread Status:
Not open for further replies.

Share This Page