ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Why isn't this working?

March 06, 2012 8:56am

Subscribe [1]
  • #1 / Mar 06, 2012 8:56am

    UKFreelancer

    49 posts

    Hi,

    I have the following code in a template:

    {exp:getchannels site_id="1" restricted="no"}
    {channel_id}<br>
    {channel_name}<br>
    {channel_title}<br>
    {total_entries}
    {/exp:getchannels}

    {exp:channel:entries channel="speakers"}
    {entry_id}
    {/exp:channel:entries}

    The total_entries for the “speakers” channel is showing 6,
    but when I try to loop through to display the entries, nothing is displayed?

    Any help much appreciated.

  • #2 / Mar 06, 2012 10:06am

    UKFreelancer

    49 posts

    Fixed it.

    For some reason all the entries had no status, when I changed Status to “open” they started appearing.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases