We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Repeet only repeats on entry_date's month

Development and Programming

atiosis's avatar
atiosis
180 posts
16 years ago
atiosis's avatar atiosis

Hello. I am trying to set a calendar where I can repeat an event using the “repeet_include_dates_field”. The plugin seems to work fine except that it repeats the instances of the event where the first instance is. That is, if the event is on february 20, and another instance is on february 28, and then the last instance is on march 4th, this last instance doesn’t show.

Here is the code I am using. Am I doing something wrong.

<pre><code>{exp:repeet:calendar switch="calendarToday|calendarCell" weblog="calendar" status="open|Shared|Moved" show_future_entries="yes" show_expired="yes" repeet_include_dates_field="include_dates"}

    [removed]
    $(document).ready(function() {
    $('tr td:nth-child(1), tr td:nth-child(7)').addClass('calendar_weekend');
    });
    [removed]



    <table class="calendarBG" border="0" cellpadding="0" cellspacing="1" summary="My Calendar" width="100%">
    <tr class="calendarHeader">
        <th colspan="7">


        <table class="calendar_header_content" cellpadding="0" cellspacing="0"><tr>

        <th width="42%">
        {if "{today_date}" == "{date format="%F %Y"}"}

        {if:else}
        <div class="menu_list"><a href="http://www.2060ftp.org/index.php/involved/calendar/month_view/" title="Click here to go back to " class="menu_item">Today</a></div>
        {/if}
        </th>

        <th class="calendarMonthLinks"><a href="http://{previous_path={segment_1}/{segment_2}/{segment_3}}">http://www.2060ftp.org/images/calendar_head_previous.gif</a></th>

        <th valign="middle" width="16%" [removed]>{date format="%F %Y"}</th>

        <th class="calendarMonthLinks"><a href="http://{next_path={segment_1}/{segment_2}/{segment_3}}class=calendarMonthLinks">http://www.2060ftp.org/images/calendar_head_next.gif</a></th>

        <td valign="middle" width="42%">

            <!-- begin search box -->
          <div class="search_container" [removed]>
            <table cellpadding="0" cellspacing="0" class="search_box"><tr><th>
            <input type="text" name="keywords" id="keywords" value="Search">
            </th><th>
            <input type="image" src="http://www.2060ftp.org/images/menu_search_button.gif" name="sa" value="search" class="search_button" alt="Click here to submit your Search" title="Click here to submit your Search" />
            </th></tr></table>
            </div>
            <!-- end search box -->

        </td>

        </table>

        </th>
    </tr>

    <tr>
    {calendar_heading}
    <th class="calendarDayHeading">&#123;lang:weekday_long}</th>
    {/calendar_heading}
    </tr>

    {calendar_rows }

    {row_start}<tr>{/row_start}

    {if entries}
    <td class="{switch}" valign="top">
    <div class="calendar_day_number_entry">{day_number}</div>
    {entries}
        <div>
        <span class="calendarEntryDate">{entry_date format="%g:%i %A"}</span>


        <a href="http://www.2060ftp.org/index.php?/involved/calendar/event_view/{url_title}/{entry_date" rel="prettyPhoto.close">{title}</a>


        </div>
    {/entries}
    </td>
    {/if}

    {if not_entries}
    <td class="{switch}" valign="top"><div class="calendar_day_number_no_entry">{day_number}</div></td>
    {/if}

    {if blank}
    <td class="calendarBlank" valign="top"><div class="calendar_day_number_no_entry">{day_number}</div></td>
    {/if}

    {row_end}</tr>{/row_end}
    {/calendar_rows}
    </table>

    {/exp:repeet:calendar}[/code]

Thanks a lot for any help

Atiosis

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.