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.

Entry Not Displaying On Category Template

July 02, 2012 11:32pm

Subscribe [3]
  • #1 / Jul 02, 2012 11:32pm

    Aaren Hofferth

    55 posts

    I have an entry I use to populate an ad in the header of a site. Naturally, this is supposed to show on category driven templates as well, but it doesn’t seem to show up. I have it set to dynamic=“no” and still no dice. It shows up everywhere else just fine—so it must be a category conflict I’m missing.

    Here is the entry code I’m calling:

    {exp:channel:entries channel="page" entry_id="26" dynamic="no" disable="categories|member_data|pagination"}
     {headeroffer_page}
    
     <a class="button" href="{headerofferlink_page}{page_url}{/headerofferlink_page}">Click to learn more</div>
    {/exp:channel:entries}

    This fails shows up, for instance, on a template with a category driven URL such as “/store/category/C4”

  • #2 / Jul 03, 2012 5:49pm

    Shane Eckert

    7174 posts

    Hey Aaren,

    I am sorry to hear you are running into this problem.

    Can you try this block of code to test?

    {exp:channel:entries channel="page" entry_id="26" dynamic="no" }
     {headeroffer_page}
    
     <a class="button" href="{headerofferlink_page}{page_url}{/headerofferlink_page}">Click to learn more</div>
    {/exp:channel:entries}

    Cheers,

     

  • #3 / Jul 03, 2012 6:03pm

    Aaren Hofferth

    55 posts

    I appreciate the suggestion—unfortunately, removing the disable parameter doesn’t have any effect.

  • #4 / Jul 05, 2012 1:06pm

    Shane Eckert

    7174 posts

    Hey Aaren,

    Is the template code identical on this page to the ones that work? It’s just when get /category/C# in the url that it does not show up?

    Can I see the entire template? If this is in a snippet or embed, can I see that as well?

    Thank you,

  • #5 / Jul 05, 2012 1:11pm

    Shane Eckert

    7174 posts

    Hey Aaren,

    What version are you running?

    Thanks,

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

ExpressionEngine News!

#eecms, #events, #releases