4

I wish to show future 'events' on a page. I have a channel, that contains a playa field that I use to associate the desired events.

I cannot seem to get it to show on the site. I'm convinced it must be something simple that I am overlooking, but I can't figure out why it won't work. Anyone have an idea what I'm doing wrong? :(

{exp:channel:entries channel="isp" limit="1" show_future_entries="yes" dynamic="no"}
    {events show_future_entries="yes"}
        {title}
    {/events}
{/exp:channel:entries} 
6
  • Apologies, missed the reference to Playa.
    – Ian Young
    Commented Apr 29, 2013 at 9:45
  • Are these unusual statuses or any such thing? Also, if you output a title for the outer channel entries tag, do you get anything? I'd like to make sure you're getting results from that tag before further troubleshooting.
    – Lisa
    Commented Apr 29, 2013 at 10:32
  • Have you tried the playa:children tag pair in place of the fieldtype tag pair? Commented Apr 29, 2013 at 12:41
  • 2
    You should check if channel entry tag is outputting correct entry as you are having limit as 1 and show_future_entries as "yes". Commented Apr 29, 2013 at 16:53
  • You've probably already looked at this, but could it be the Channel field Group setting of "Show future entries?" in your Playa field? Commented Apr 30, 2013 at 20:26

1 Answer 1

3

Not sure if you are using Structure or native EE templating, but a sure way to remedy this is to make sure your outer channel:entries tag is actually pulling the playa:parent page.

{!-- Replace XX with the parent page's entry_id --}
{exp:channel:entries channel="isp" entry_id="XX"}
    {events show_future_entries="yes"}
        {title}
    {/events}
{/exp:channel:entries}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.