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.

Content on included page not showing on 1 template page...

July 28, 2011 12:40pm

Subscribe [2]
  • #1 / Jul 28, 2011 12:40pm

    Pauly

    16 posts

    I have the following code in my home/.footer template which works in all other template groups and templates, however refuses to output on my single-entry page. The information just disappears, even though the rest of the included template renders.

    {exp:channel:entries channel="news-updates" limit="5"}<li><span class="sm">{entry_date format="%d/%m/%Y"}</span> <a href="http://{url_title_path=" title="{title}">{title}</a></li>{/exp:channel:entries}

    I have tried removing the template group and recreating it. I have tried having PHP parsing off as well as on with no luck, I have also tried removing all information in the template apart from the embed tag, and it still refuses to output the content.

    The only thing that I can see that’s different with this template is that it’s the channel live look template.

    My version and build info: v2.2.1 - Build: date 20110705

    Edit: It seems to be on when I’m viewing a single entry, so has the /entry-name in the URL.

  • #2 / Jul 29, 2011 5:49am

    Pauly

    16 posts

    Any ideas what might be causing this or how to fix it?

  • #3 / Jul 29, 2011 7:21am

    John Henry Donovan

    12339 posts

    Pauly,

    Try adding the dynamic=“no” parameter

    {exp:channel:entries channel="news-updates" limit="5" dynamic="no"}
  • #4 / Jul 29, 2011 8:10am

    Pauly

    16 posts

    That did the trick, thank you John!

  • #5 / Jul 29, 2011 8:13am

    John Henry Donovan

    12339 posts

    Good stuff! Feel free to start a new thread if you have any more questions

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

ExpressionEngine News!

#eecms, #events, #releases