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.

Repeating events not showing

Discussion in 'General Support' started by hbcrosby, Feb 9, 2006.

Thread Status:
Not open for further replies.
  1. I've something in my code that is not allowing repeating events to show when I want to show a single day's worth of events.

    Here is my code:

    <?php
    if ($calkey == "month") {
    $epcListMouseover=1;
    $LIST=1;
    $listMonth = 1;
    } elseif ($calkey == "week") {
    $epcListMouseover=1;
    $LIST=1;
    $listWeeks=1;
    } else {
    $epcListMouseover=1;
    $LIST=1;
    $noOld = 1;
    $listDays = 2;
    }
    $DF = "D - M d";
    $template="mylist.php";
    require ("esc/calendar.php");
    unset($calkey);
    ?>

    If I set $listDays=1, repeating events do not show for that day. If I set $listDays=2, they show. I tried this in demo.php with the same results. If this action is by design, OK. I'm just verifying that I'm calling Brian's functions correctly. I could not find anything specific in the Instructions or forum during my brief search for an answer.

    You can view the test site at http://www.brunswickumc.com/events.php

    Second item........the above code will only show me 6 days of events when "week" is chosen. Anybody see where I messed up?
  2. ve9gra

    ve9gra Support Team

    For some reason, my instinct is telling me this has to do with your server's timezone...

    Can you try adding a repeating event that lasts all day long (with no start/end time)?
  3. hmmmm.......I'm not sure that is the problem. I believe this site is on a US server, however, I will verify. I just created two events that start today (2/10) and repeat for the next 3 weeks. One event was set without a time schedule and one event was set WITH a time schedule. There is also an existing event on this day.
    I should note that I have EPC's time set for US eastern time zone (-5). I'll check the location of the server and see if an adjustment is needed. Any other thoughts would be appreciated!!
  4. Server is located in Phoenix, AZ and is set to Mountain Standard Time.
  5. Brian

    Brian EPC Developer Staff Member

    Can you repeat this on the demo page on this web site?

    What version of the calendar are you using?
  6. Brian:

    If I understand your question correctly, I not able to repeat this issue on your site as I am not able to change the code.

    I am using ver. 6.3.16.

    Any thoughts where I should be looking?
  7. Brian

    Brian EPC Developer Staff Member

    Can you use the event manager from the demo page on this web site and add the same event and get the same results as you see on your site?
  8. Brian:


    It works correctly in your demo, however, I cannot duplicate my site at your site. In order to get a single day to show on your site, I have to use the blog mode. I am not doing that on my site. I am setting up my calendar the old fashioned way.....using columns and placing the calendar in the left col and the "list" on the right col.

    Here is my code:

    <body background="images/1tile.jpg" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0">
    <?php $OL=1; require("esc/calendar.php"); ?>
    <table width="800" height="100%" border="0" cellspacing="0" cellpadding="0" align="center" background="images/bgroundsmwh.jpg">
    <tr>
    <td valign="top">
    <table width="701" height="100%" border="0" cellspacing="0" cellpadding="0" align="center" style="border-left: thin solid Black; border-right: thin solid Black;">
    <tr>
    <td width="50%" height="90" colspan="3" bgcolor="#C5CA92"><img src="images/logo.jpg" alt="" width="335" height="70" border="0" align="left"></td>
    <td align="right" bgcolor="#C5CA92"><img src="images/churches2.jpg" alt="" width="282" height="90" border="0"></td>
    </tr>
    <tr>
    <td height="5" colspan="4" bgcolor="#000000"></td>
    </tr>
    <tr>
    <td colspan="4">
    <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr>
    <!-- <td width="6" rowspan="2" bgcolor="#EBECD4">&nbsp;</td> -->
    <td width="140" bgcolor="#EBECD4" rowspan="2" align="center" valign="top" style="border-right: thin solid #C5CA92;"><br>
    <script type="text/javascript" language="JavaScript1.2" src="http://www.brunswickumc.com/js/menu.js"></script>
    <br><img src="images/loveanim.gif" alt="" width="118" height="108" border="0">
    </td>

    <?PHP If ($calkey == "6month") {?>
    <td width="421" class="bodytext" valign="Top"><br>
    <br>
    <font class="title">&nbsp;&nbsp;&nbsp;Show:&nbsp;&nbsp;&nbsp;
    <a href="events.php?"><img src="images/day.jpg" alt="" width="16" height="16" border="0"></a>&nbsp;&nbsp;
    <a href="events.php?ckey=week"><img src="images/week.jpg" alt="" width="16" height="16" border="0"></a>&nbsp;&nbsp;
    <a href="events.php?ckey=month"><img src="images/month.jpg" alt="" width="16" height="16" border="0"></a>&nbsp;&nbsp;
    <a href="events.php?ckey=6month"><img src="images/6month.jpg" alt="" width="16" height="16" border="0"></a>&nbsp;&nbsp;
    <?PHP// echo $secHeading; ?></font>
    <br>
    <?php
    $MULTI=1;
    $epcMultiWidth = "350px";
    $epcMultiPad = 0;
    $epcMultiNav = "580px";
    $epcMultiCol = 3;
    $epcMultiRow = 2;
    require("esc/calendar.php");
    unset($calkey);
    ?>
    </div>
    </td>

    <?PHP } else { ?>
    <td width="10">&nbsp;</td>
    <td width="150" class="bodytext" valign="Top"><br>
    <?php
    //$EPCBLOG=1;
    require ("esc/calendar.php");
    ?>
    <br><br>
    <div align="center">
    <hr width="80%" size="2">
    <font class="type3"><a name="Printable Calendar" id="Printable Calendar" href="fcal.php" onclick="NewWindow(this.href,'name', '790','600','yes');return false;">Full Calendar</a></font><br>
    <hr width="80%" size="2"></div>
    </td>
    <td width="10">&nbsp;</td>
    <td align="left" valign="top"><br>
    <font class="title"><!-- Show:&nbsp;&nbsp;&nbsp; -->
    <a name="Day" id="Day" href="events.php?" title="Today's Events"><img src="images/day.jpg" alt="" width="16" height="16" border="0"></a>&nbsp;&nbsp;
    <a href="events.php?ckey=week" title="Current Week Events"><img src="images/week.jpg" alt="" width="16" height="16" border="0"></a>&nbsp;&nbsp;
    <a href="events.php?ckey=month" title="Current Month Events"><img src="images/month.jpg" alt="" width="16" height="16" border="0"></a>&nbsp;&nbsp;
    <a href="events.php?ckey=6month" title="6 Month of Calendars"><img src="images/6month.jpg" alt="" width="16" height="16" border="0"></a>&nbsp;&nbsp;
    <?PHP echo $secHeading; ?></font>
    <br>
    <div align="center">
    <?php
    if ($calkey == "month") {
    $epcListMouseover=1; // WILL USE THE MOUSE-OVER POPUPS FOR LIST MODE
    $LIST=1;
    $listMonth = 1;
    } elseif ($calkey == "week") {
    $epcListMouseover=1; // WILL USE THE MOUSE-OVER POPUPS FOR LIST MODE
    $LIST=1;
    $listWeeks=1;
    } else {
    $epcListMouseover=1; // WILL USE THE MOUSE-OVER POPUPS FOR LIST MODE
    $LIST=1;
    $noOld = 1;
    $listDays = 2;
    }
    $DF = "D - M d";
    $template="mylist.php";
    require ("esc/calendar.php");
    unset($calkey);
    ?>
    </div>
    </td>
    <td width="10">&nbsp;</td>
    <?PHP } ?>
    </tr>
    </table>
    </td>
    <tr>
    <td height="15" colspan="4" bgcolor="#000000" class="bodytextsmw">&nbsp;&nbsp;&nbsp;Brunswick United Methodist Church (c) 2005</td>
    </tr>
    </table>
    </td>
    </tr>
    </table>

    </body>

    Thanks for your continued assistance...
  9. Brian

    Brian EPC Developer Staff Member

    Please detail all of the settings for the event that isn't displaying:

    ie: short desc, long desc, time, type, dates, etc...
  10. If I change "$listDays" from "2" to "1" in the example on my previous post, none of the event settings show for a particular day (we only have events entered thru 3/31). I have changed this var to "1" on the live site so you can view my issue. Go to:

    http://www.brunswickumc.com/events.php

    Click on the day icon and you will not see any events. Click on the week icon and you will see two events for today.
  11. Brian

    Brian EPC Developer Staff Member

    Thanks. I'm looking into this now...
  12. Brian, any further thoughts on this issue?
  13. Brian

    Brian EPC Developer Staff Member

    I just squashed two bugs last night. This is almost at the top of the list now... :)
  14. Thanks! Take your time. I'll check in later next week.....
  15. Brian

    Brian EPC Developer Staff Member

    I have found the cause of this issue and the fix will be in Version 6.3.19.
Thread Status:
Not open for further replies.

Share This Page