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: Can't get {repeet:start_time} to work in calendar cell

Development and Programming

Michael Prell's avatar
Michael Prell
39 posts
17 years ago
Michael Prell's avatar Michael Prell

Picked up from this thread that I should be able to display event start times in a large calendar.

Unfortunately, when I use this:

{entries}
{repeet:start_time format="%F %j @ %g:%i%a"} {title}
{/entries}

I get this on the calendar:

F Event Title

Looking for tips on getting this to work.

       
Michael Prell's avatar
Michael Prell
39 posts
17 years ago
Michael Prell's avatar Michael Prell

I’m going to add a friendly bump to this.

       
Jamie Poitra's avatar
Jamie Poitra
409 posts
17 years ago
Jamie Poitra's avatar Jamie Poitra

mtprell,

Have you tried contacting Mr. Wilson?

Jamie

       
Michael Prell's avatar
Michael Prell
39 posts
17 years ago
Michael Prell's avatar Michael Prell

Yes, I did. Sent him an e-mail last week, but haven’t heard anything yet.

       
Jamie Poitra's avatar
Jamie Poitra
409 posts
17 years ago
Jamie Poitra's avatar Jamie Poitra

Ah, well. Give him some time. I suspect he has just had a busy week. It being the holiday week and such.

The repeet plugin is complex enough that he is going to be able to help you out much better and more quickly than any of us will.

Jamie

       
Michael Prell's avatar
Michael Prell
39 posts
17 years ago
Michael Prell's avatar Michael Prell

Quick update – Just heard from Mr. Wilson, and he’s going to look into it.

       
Mr. Wilson's avatar
Mr. Wilson
131 posts
17 years ago
Mr. Wilson's avatar Mr. Wilson

mtprell (and anybody else listening out there) –

Try installing the latest version (Repeet 1.0.6). It should fix the problem, but let me know if it doesn’t.

       
Michael Prell's avatar
Michael Prell
39 posts
17 years ago
Michael Prell's avatar Michael Prell

I’ve updated and it is working great! Thank you, Mr. Wilson, for sharing your considerable skills.

       
Brian M.'s avatar
Brian M.
529 posts
17 years ago
Brian M.'s avatar Brian M.

Hmm - I’m having a problem with repeet:start_time as well. But for me the repeet:start_time tag just shows the current time, instead of the start time of the event (so all my events have the current time as the start time).

Here’s my code:

{exp:repeet:parse date_header_interval="day"}
                  {repeet:date_header}<h1>Today at the library</h1>{/repeet:date_header}
                  {repeet:no_results}<h1>Today at the library</h1>There are no events scheduled for today.{/repeet:date_header}

                  {exp:repeet:get_ids weblog="events" parse="inward"}

                    {exp:weblog:entries weblog="events" category="not 4" entry_id="{repeet:entry_ids}" dynamic="off" show_expired="yes" show_future_entries="yes" sort="asc"}
                    {repeet:item}
                      {repeet:entry_date}{entry_date format="%Y-%m-%d 00:01 AM"}{/repeet:entry_date}
                      {repeet:expiration_date}{expiration_date format="%Y-%m-%d 11:59 PM"}{/repeet:expiration_date}
                      {repeet:interval}{event_interval}{/repeet:interval}
                      {repeet:include_dates}{/repeet:include_dates}
                      {repeet:exclude_dates}{event_exclude_dates}{/repeet:exclude_dates}
                      {repeet:display}
                       <div class="eventToday {if entry_date <= current_time}eventPast{/if}">
                                    <span class="hour">{repeet:start_time format="%g:%i"}</span><span class="ampm">{repeet:start_time format="%a"}</span>
                                    <h4>{title}</h4>{event_description}
                                </div>
                      {/repeet:display}
                    {/repeet:item}
                    {/exp:weblog:entries}

                  {/exp:repeet:get_ids}

                {/exp:repeet:parse}
       

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.