I’ve installed repeet and it’s looking like a very nice setup (thanks for the pointer Lisa!) but I’m not getting it to display anything. No errors, no … anything, lol. I’m using the default code from the docs too so I could start simple and build from there:
{exp:repeet:parse date_header_interval="day"}
{repeet:date_header}%M %d, %Y{/repeet:date_header}
{repeet:no_results}Oops, looks like there aren't any events in the time range you specified.{/repeet:date_header}
{exp:repeet:get_ids weblog="events" parse="inward"}
{exp:weblog:entries weblog="events" entry_id="{repeet:entry_ids}" dynamic="off" show_expired="yes" show_future_entries="yes"}
{repeet:item}
{repeet:entry_date}{entry_date format="%Y-%m-%d %H:%i"}{/repeet:entry_date}
{repeet:expiration_date}{expiration_date format="%Y-%m-%d %H:%i"}{/repeet:expiration_date}
{repeet:interval}{repeat_interval}{/repeet:interval}
{repeet:include_dates}{include_dates}{/repeet:include_dates}
{repeet:exclude_dates}{exclude_dates}{/repeet:exclude_dates}
{repeet:display}
<h2><a href="http://{url_title_path=" title="{title}">{title}</a></h2>
{summary}
<a href="http://{url_title_path=" title="Get more information about {title}">Details</a>...
{/repeet:display}
{/repeet:item}
{/exp:weblog:entries}
{/exp:repeet:get_ids}
{/exp:repeet:parse}
I didn’t have to change the weblog name because mine is called ‘events’ as well. In the docs it states that the repeat_interval, include_date and exclude_date are optional and I don’t really see a need for them for what I want to do.
What am I missing?
Mod Edit: Moved. The Modules technical forum is more for developing plugins, not using them. =)
Same thing - nada.
However, I do get a list of events for the month when using your ‘month’ example code:
{exp:repeet:parse date_header_interval="month"}
{repeet:no_results}<h1>Sorry, no results.</h1>{/repeet:no_results}
{repeet:date_header}<h1>%F %Y</h1>{/repeet:date_header}
{exp:repeet:get_ids weblog="events" parse="inward"}
{exp:weblog:entries weblog="events" entry_id="{repeet:entry_ids}" show_expired="yes" show_future_entries="yes" dynamic="off"}
{repeet:item}
{repeet:entry_id}{entry_id}{/repeet:entry_id}
{repeet:entry_date}{entry_date format="%Y-%m-%d %H:%i"}{/repeet:entry_date}
{repeet:expiration_date}{expiration_date format="%Y-%m-%d %H:%i"}{/repeet:expiration_date}
{repeet:interval}{event_repeat}{/repeet:interval}
{repeet:include_dates}{event_dates}{/repeet:include_dates}
{repeet:exclude_dates}{exclude_dates}{/repeet:exclude_dates}
{repeet:display}
<h2>{title}</h2>
Begins at: {repeet:start_time format="%Y-%m-%d %H:%i"}
Ends at: {repeet:end_time format="%Y-%m-%d %H:%i"}
{/repeet:display}
{/repeet:item}
{/exp:weblog:entries}
{/exp:repeet:get_ids}
{/exp:repeet:parse}
…but none of them repeat. They show once and that’s it. I set a custom field of ‘event_repeat’ and made sure the format is set to ‘none’ and in the dropdown options I only put ‘daily’. Does any of that help?
I’ve another Repeet problem, not sure if I should start a new thread, or whether it list in with list.
It’ an upcoming list of one event:, displayed after you click on the event in a calendar:
{exp:weblog:entries weblog="diary_events" limit="1" show_future_entries="yes" show_expired="yes"}
<h3>Upcoming dates:</h3>
<ul>{exp:repeet:list_dates from="today" to="1 year" entry_date="{entry_date format="%Y-%m-%d %h:%i %A"}" expiration_date="{expiration_date format="%Y-%m-%d %h:%i %A"}" interval="{repeat_interval}" max_list="5"}
{repeet:include_dates}{include_dates}{/repeet:include_dates}
{repeet:exclude_dates}{exclude_dates}{/repeet:exclude_dates}
{repeet:display}<li>
<a href="http://{path=" title="View other events happening on {repeet:start_time format=">_{repeet:start_time format="%l, %d %F %Y</a> @ %g:%i %A"}{repeet:end_time format=" - %g:%i %A"}_</li>{/repeet:display}_{/exp:repeet:list_dates}</ul>__Return to <a href="{path=" title="{current_time format=">{current_time format="%F %Y"} Diary</a>
{/exp:weblog:entries}
Everything’s fine. Except that the date is always one day later than the date entered, the start time is always wrong, even though the end time is correct? It’s only in this repeet:list_dates plugin, the repeet:calendar and repeet:parse tags I’m using elsewhere in the site, display the information correctly.
Any ideas? Thanks.
Some bread & water,
I am currently working on an events calendar and started trialing the repEEt plugin version 1.05. It’s tough to work without a benchmark but after too many attempts and reading the manual and following the threads on the EE forum I guess there must be another bug in this latest version.
I started looking in my backup files to find an older version of repEEt and found version 1.03. This shows the listings fine.
Myself, I am trying to work out why events which span a number of days, are only displayed on their entry date, instead of each day of the event until the expiration date…
A copy of V1.03 is attached.
Wim
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.