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.

Non Dynamic Channel Entry Not showing up on Category Pages

June 12, 2012 1:08pm

Subscribe [7]
  • #16 / Jun 23, 2012 12:29am

    Tyas

    35 posts

    already change all the URL to domain.com/segment_1/segment_2/category/cat_url

    Setting Global Channel Preferences:
    1. Use Category URL Titles In Links? YES
    2. Category URL indicator = category—> or anything!

    and all channel entries in category URL working very well.

    Hope useful for others.

  • #17 / Jun 25, 2012 12:15pm

    Dan Decker

    7338 posts

    Hi Tyas,

    You can’t do this:

    I am getting frustated on this, i try simple template in URL category: v1/pk/C8/cat_url ...

    You are using both a category ID indicator “C8” and a category url_title. There is no need to do that. With categories, it’s one or the other.

    With these options:

    Setting Global Channel Preferences:
    1. Use Category URL Titles In Links? YES
    2. Category URL indicator = category—> or anything!

    Your URLs would be constructed like so:

    /template-group/template/category/category_url_title

    For your channel entries pair, try this:

    {exp:channel:entries channel="store_simple_entry" entry_id="294" dynamic="no" relaxed_categories="yes"}
     {keterangan_detail}
    {/exp:channel:entries}

    Are you sure entry_id 294 is in the store_simple_entry channel?

    I look forward to your reply!

    Cheers,

  • #18 / Jun 28, 2012 12:25pm

    primeinc

    11 posts

    Sorry for the absence.  We needed the site live so for right now I just hard coded the info on those pages. Obviously this is not good so I jumped back to continue with this problem.

    Ok I created a blank template called “Cat”, this template only has the code you suggested Dan.

    The url segments I was testing on is ShopOnline/Cat/C41

    <div id="header">
    
     <div id="headerContainer">
     
      <a href="http://{site_url}"></a>
      
      <ul id="storeInfo">
       
       {exp:channel:entries channel="store_info" dynamic="no"}
          <li> {street_address} Bozeman MT </li>
          <li> {406_phone_number}  ∗ {1800_number} </li>
          <li> Store Hours:    Mon-Sat: {monday_saturday_hours}     Sun: {sunday_hours}  </li> 
       {/exp:channel:entries}
       
               
      </ul>
      
      <div id="pagesearch">
       <div class="searchform">
        {exp:search:simple_form channel="blog|products|class|guide_trip|fishing_report" result_page="Search"}
         <input type="submit" class="formSearchSubmit"/>
         <input type="text" name="keywords" value="" class="formSearchInput" />
        {/exp:search:simple_form}
       </div>
      </div>
      
      
      {globalNav}
      
      <div class="clear"></div>
      
     </div>
     
    </div>
      
        
    <div id="homeSlideText">
     
     <div id="bannerContainer">
     
      <h1> {!-- embed:sectionTitle --} </h1> 
     
     </div>
    
    </div>

    It will render the {globalNav} and the Search form but will not render any of the following code…

    {exp:channel:entries channel="store_info" dynamic="no"}
          <li> {street_address} Bozeman MT </li>
          <li> {406_phone_number}  ∗ {1800_number} </li>
          <li> Store Hours:    Mon-Sat: {monday_saturday_hours}     Sun: {sunday_hours}  </li> 
    {/exp:channel:entries}

    This looks like a straight up bug to me!

  • #19 / Jun 28, 2012 12:28pm

    primeinc

    11 posts

    Here is the exact html the template renders once it has been parsed…

    <div id="header">
    
     <div id="headerContainer">
     
      <a href="http://troutfitters.com/"></a>
      
      <ul id="storeInfo">
       
       
       
               
      </ul>
      
      <div id="pagesearch">
       <div class="searchform">
        <form method="post" action="http://troutfitters.com/"  >
    <div class='hiddenFields'>
    <input type="hidden" name="ACT" value="8" />
    <input type="hidden" name="XID" value="a963513e5d8812c70817a97a1b12d83792db6b55" />
    <input type="hidden" name="RES" value="" />
    <input type="hidden" name="meta" value="YTo5OntzOjY6InN0YXR1cyI7czowOiIiO3M6NzoiY2hhbm5lbCI7czo0NToiYmxvZ3xwcm9kdWN0c3xjbGFzc3xndWlkZV90cmlwfGZpc2hpbmdfcmVwb3J0IjtzOjg6ImNhdGVnb3J5IjtzOjA6IiI7czo5OiJzZWFyY2hfaW4iO3M6MDoiIjtzOjU6IndoZXJlIjtzOjM6ImFsbCI7czoxMjoic2hvd19leHBpcmVkIjtzOjA6IiI7czoxOToic2hvd19mdXR1cmVfZW50cmllcyI7YjowO3M6MTE6InJlc3VsdF9wYWdlIjtzOjY6IlNlYXJjaCI7czoxNToibm9fcmVzdWx0c19wYWdlIjtzOjA6IiI7fTgzMWQzOGJhZDBhNWRmMDVjNDI3MzU0NjRjMTIwMWNj" />
    <input type="hidden" name="site_id" value="1" />
    </div>
    
    
         <input type="submit" class="formSearchSubmit"/>
         <input type="text" name="keywords" value="" class="formSearchInput" />
        </form>
       </div>
      </div>
      
      
      <ul id="storeNav">
    <li> <a href="http://troutfitters.com/Home"> Home </a> </li>
    <li> <a href="http://troutfitters.com/FishingReports"> Fishing Reports </a> </li>
    <li> <a href="http://troutfitters.com/GuideServices"> Guide Services </a> </li>
    <li> <a href="http://troutfitters.com/ShopOnline"> Shop Online </a> </li>     
    <li> <a href="http://troutfitters.com/Classes"> Classes & Events </a> </li>
    <li> <a href="http://troutfitters.com/Blog"> Blog </a> </li>
    <li> <a href="http://troutfitters.com/AboutUs"> About Us </a> </li>
    <li> <a href="http://troutfitters.com/ContactUs"> Contact Us </a> </li>
    </ul>
      
      <div class="clear"></div>
      
     </div>
     
    </div>
      
        
    <div id="homeSlideText">
     
     <div id="bannerContainer">
     
      <h1>  </h1> 
     
     </div>
    
    </div>
  • #20 / Jun 28, 2012 10:20pm

    RonBurgundy

    12 posts

    I have this same issue. I happen to temporarily have 2 instances of the exact same site running. Same templates, same content, same everything. The only difference between the two is the EE version. One is running 2.3.1 and the other is on 2.5.2. Version 2.3 works great, no issues. Version 2.5 has this issue.

    After reading this thread, I’m beginning to believe it’s a bug in 2.5.2

  • #21 / Jun 29, 2012 3:52pm

    primeinc

    11 posts

    Thanks for confirming you have the same issue Ron…

    Dan has this officially been confirmed a bug?

  • #22 / Jul 02, 2012 11:15am

    Dan Decker

    7338 posts

    Hi primeinc,

    Before I can replicate this as a bug, I need to know what third-party add-ons you are using? Context of the template (“category listing for store catalog…”)

    In the meantime, can you try the problem bit in an embed?

    {exp:channel:entries channel="store_info" dynamic="no"}
          <li> {street_address} Bozeman MT </li>
          <li> {406_phone_number}  ∗ {1800_number} </li>
          <li> Store Hours:    Mon-Sat: {monday_saturday_hours}     Sun: {sunday_hours}  </li> 
    {/exp:channel:entries}

    Let’s see if that will have it behaving properly. If the embed works, that gives you a better workaround while we sort out where the bug is.

    Cheers,

  • #23 / Jul 02, 2012 12:46pm

    primeinc

    11 posts

    No go Dan,

    Here are the templates now…

    This is embedded on the category pages..

    <div id="header">
    
     <div id="headerContainer">
     
      <a href="http://{site_url}"></a>
      
      <ul id="storeInfo">
       
       {embed="Templates/StoreInfo"}  
               
      </ul>
      
      <div id="pagesearch">
       <div class="searchform">
        {exp:search:simple_form channel="blog|products|class|guide_trip|fishing_report" result_page="Search"}
         <input type="submit" class="formSearchSubmit"/>
         <input type="text" name="keywords" value="" class="formSearchInput" />
        {/exp:search:simple_form}
       </div>
      </div>
      
      
      {globalNav}
      
      <div class="clear"></div>
      
     </div>
     
    </div>
      
        
    <div id="homeSlideText">
     
     <div id="bannerContainer">
     
      <h1> {embed:sectionTitle} </h1> 
     
     </div>
    
    </div>


    This is the store info embed in the previous template…

    {exp:channel:entries channel="store_info" limit="1" dynamic="no" category=""}
     <li> {street_address} Bozeman MT </li>
     <li> {406_phone_number}  ∗ {1800_number} </li>
     <li> Store Hours:    Mon-Sat: {monday_saturday_hours}     Sun: {sunday_hours}  </li> 
    {/exp:channel:entries}

    This still renders nothing when the page loads…


    Here is all the third party stuff I have on the site…

    Assets
    CartThrob (only used on product single entry pages)
    CT Admin
    FieldEditor
    Freeform (not used on these pages)
    Low Reorder
    moreEvents (not being used at all on these templates)
    Wygwam
    Matrix
    MX Cloner
    CE image
    Word Limiter (used in blog categories but not in store)

     

  • #24 / Jul 03, 2012 4:56pm

    Dan Decker

    7338 posts

    Hi Ben,

    Let me poke it. Be on the lookout for an email from EllisLab.

    Cheers,

  • #25 / Jul 03, 2012 5:00pm

    primeinc

    11 posts

    Thanks Dan!

  • #26 / Jul 05, 2012 3:11pm

    Dan Decker

    7338 posts

    Hello all!

    After much testing and wringing of hands and gnashing of teeth, we have ourselves a bug!

    It is going directly into the ExpressionEngine backlog for Real Quick Work™

    In the meantime, there is a workaround. For the entry you want displayed, it needs to be assigned a category. Even if that category is in a completely different group, and not the same as the others on the category page, it will side step the bug.

    So, primeinc,

    If you assign your Store Info channel a category group, and then assign a category to your store-info entry, it will show up on your category pages. It’s wonky, but there is a bug in the SQL that is executed when category are triggered.

    Let me know if you have any questions!

    Cheers,

  • #27 / Jul 05, 2012 3:14pm

    primeinc

    11 posts

    Hey Dan,

    Thanks I got your email as well.

    Thanks for your time looking into this.  I’ll implement the work around for right now.

    Ben

  • #28 / Jul 06, 2012 11:01am

    Shane Eckert

    7174 posts

    Hey primeinc,

    Did that work around get you back in business?

    Is there anything else we can help you with?

    Cheers,

  • #29 / Jul 06, 2012 12:09pm

    Kurt Deutscher

    827 posts

    Hey Dan,

    Is there a link to the bug report on this one? I don’t see it listed (or I’m looking in the wrong place). I’m curious, as this work-around is what I would expect from EE (and recommended in this thread), but perhaps I’ve just never tried to do it without assigned categories before. Anyway, I would like to follow the bug to become more familiar.

    Thanks so much.

  • #30 / Jul 09, 2012 2:38pm

    Dan Decker

    7338 posts

    Hey Kurt,

    I was working with Robin on this one, and we had a Workflow Woopsie. The bug report went into our Sum development manager. Robin told me to put it there, but she meant to tell me to put it in the bug tracker 😉

    So, covering all the bases, I filed a Bug Report on it too.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases