Hello - thanks for creating Postmaster - it is really excellent and I am hoping I can overcome this hurdle and make it work for our needs.
I have a simple template with a channel entries loop. I want to pull all the stories since the last newsletter went out. I tried all of the things that should normally work. Here is my code with a literal string date which works when in that exact format:
<ul>{exp:channel:entries channel="intercom" category="5" start_on="2016-03-21 06:00:00"} <li><a href="{url_title_path='intercom'}">{title}</a></li> {if no_results}<li>No New Stories</li>{/if} {/exp:channel:entries} </ul>
It seemed like other formats would work like start_on=”-3 days” but no version of that style works.
I finally created my own plugin just to return the date in the correct format and it works when I place it outside of that parameter:
{exp:intercom_date}
results in “2016-03-21 06:00:00” in the preview, but when put in the start_on parameter in the exp:channel:entries loop, it does nothing.
I am using EE 2.5.5—any ideas? Thanks so much everyone.
Benjamin
|