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.

Problem with Expression Engine ignoring channel entries

November 01, 2012 10:33pm

Subscribe [2]
  • #1 / Nov 01, 2012 10:33pm

    Hello,
    I am hoping someone can help me out with an issue I am having.
    I have gone back to a site I was working on a while ago, and have noticed a problem that I should fix.
    Please refer to the first image attached to this post. No issues here. When I click on one of the categories- Book, Music, PDF, etc- then the items in those categories should be displayed.
    I can click on a category and I get the items in it no issues. However, the page appears to be ignoring the Events and Blog content in the right-hand bar. Please refer to the second image attached to this post.

    The content for those items is stored in a Channel that I have published items to. None of the content within the channel entries tags is showing up when I click on a category.
    The Right_Panel2 template looks like this:

    <div id="Bar_Container_Side">
    
    <div id="Bar">
    <div id="Bar_Header">
      <h3><a href="http://{site_url}/index.php/events">Events</a></h3>
    <p>  </p><h4>what we get upto</h4>
    <p></div></p>
    
    <p>{exp:channel:entries channel="events_summary" limit="1" dynamic="no"}<br />
    <div id="Bar_Image">{events_summary_image}</div></p>
    
    <p> {events_summary_text}</p>
    
    <p>{/exp:channel:entries}</p>
    
    <p><ul><br />
    <li><a href="http://{site_url}/index.php/events">Event Details</a></li><br />
    <li><a href="http://{site_url}/index.php/create_account">Create Account</a></li><br />
    </ul><br />
    <div id="Bar_Rego_Header_Logo">{site_url}/images/arrow.jpg</div><br />
    <div id="Bar_Rego_Header"></p><h3><a href="http://{site_url}/index.php/register">Registration</a></h3>
    <p>  </p><h4>required for all events</h4>
    <p> </div><br />
    </div></p>
    
    <p><div id="Bar"><br />
    <div id="Bar_Header"><br />
      </p><h3><a href="http://{site_url}/index.php/blog">Blog</a></h3>
    <p>  </p><h4>just us talking</h4>
    <p></div></p>
    
    <p><ul><br />
    {exp:channel:entries channel="blog" orderby="date" sort="asc" limit="4" dynamic="yes"}<br />
     <li><br /></p><h5><a href="http://{url_title_path=main/comments}">{blog_title}</a></h5>
    <p> {exp:char_limit total="100"}<br />
      {blog_summary}...<br />
     {/exp:char_limit}<br />
     </li><br />
    {/exp:channel:entries}<br />
    </ul><br />
    </div><br />
    </div>

    In my Resources template, this template is referred to like this:

    {embed="main/right_panel2"}

    To attempt to resolve this, I have played around with the ‘dynamic’ keyword. This has helped me in the past. It seems to make no difference as to whether it’s set to ‘no’, ‘yes’, ‘on’, ‘off’ or left out completely.
    Any help would be appreciated 😊
    James Sharman.

  • #2 / Nov 05, 2012 1:34pm

    Shane Eckert

    7174 posts

    Hey there Design Ministries,

    Setting dynamic=“no” should make that work.

    Please be on the lookout for an email from EllisLab.

    Thank you,

  • #3 / Nov 13, 2012 11:21am

    Kevin Smith

    4784 posts

    Looks like this one was solved by applying this bug fix here.

    Thanks James!

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

ExpressionEngine News!

#eecms, #events, #releases