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.

Weblog entry appears only in certain site sections

November 10, 2010 6:33pm

Subscribe [2]
  • #1 / Nov 10, 2010 6:33pm

    JohnnFour

    15 posts

    My site has several blogs and a three column layout. The Middle Column template appears on all web pages, across multiple blogs. I did not set the site up, so am not 100% sure of my way around it yet.

    I just created a new blog and want its most recent entry to appear in the Middle Column template, so it appears on every page of the site. So I added an exp:weblog:entries item to that template.

    However, that content is only appearing on the homepage, and on blog’s pages/URLs, but it is not appearing on any other page of the site.

    Here is the code I have embedded in my Middle Column template:

    <h3 class="title lowercase">Editor's Pick</h3>
    
    {exp:weblog:entries weblog="editors_pick" orderby="date" sort="desc" limit="1"}
    
      <div>{title}</div>
      <div>{editors_pick_teaser}</div>
      <a href="/editors_pick/">more</a>
    
    {/exp:weblog:entries}
    
    </div>


    So, the H3 text Editors Pick successfully appears on every web page. Yay!

    However, none of the other content displays below it, except on the home page and /editors_pick/ URLs.

    In other words, on the homepage and editors pick blog pages, the item appears in the middle column just fine, including the title, the teaser and the more link. However, on all other pages, only the words Editor’s Pick appears, nothing else, not even in the page source.

    After lots of fiddling, I’m stumped.

    Any ideas?

  • #2 / Nov 11, 2010 3:34pm

    Ingmar

    29245 posts

    It sounds like you might have to add dynamic=“off” to your tag. Can you try that, please?

  • #3 / Nov 16, 2010 1:17pm

    JohnnFour

    15 posts

    That worked! Thanks so much. You made my day!

  • #4 / Nov 16, 2010 5:58pm

    Ingmar

    29245 posts

    Glad to see it was an easy one 😊 please post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases