Just curious why the below scenario isn’t working. My markup should be correct… am I missing something? If it’s before the entry date, then nothing shows, if it’s after it, then “sorry, no video shows” but it never shows the video. Doesn’t appear as though the comparison operators are even being observed!
{exp:channel:entries status="open|Sticky" channel="sunday_videos" orderby="date" sort="desc" }
{if "{current_time format="%Y %m %d %H:%i:%s"}" >= "{entry_date format="%Y %m %d %H:%i:%s"}"}
<iframe src="{vimeo}" width="500" height="375" frameborder="0" webkitAllowFullScreen
mozallowfullscreen allowFullScreen></iframe>
{if:else}
sorry, no video.
{/if}
{/exp:channel:entries }I have ensured my times are corect:
current time: 2012 12 17 11:26
entry time: 2012 12 17 11:00
Any help is greatly appreciated!