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.

Channel's entries won't display whenever a "C" is in the URL

December 15, 2012 11:16am

Subscribe [2]
  • #1 / Dec 15, 2012 11:16am

    jsuissa

    147 posts

    We’re having an issue where one of our channel’s (About Us) entries won’t appear on certain templates even though the navigation works and is the same everywhere else.

    Dynamic is set to no, statuses are all open and all other settings seem to ensure they should display.

    What’s strange is it seems correlate with the URLs and having “C” in the URL.

    This URL is fine: offices/america/
    But this one isn’t: offices/america/C10

    Wondering if there is a category setting or assignment that might cause this outside of the entry code?

    Thanks in advance for any advice on this.

    Channel Entry except from nav section:

    <li>
      <a href="http://{path=%27aboutus/overview%27}%22class=%22NoBorderLeft" class="NoBorderLeft current"><span>About Us</span></a>
      <ul>
      {exp:channel:entries channel="aboutus" limit="15" dynamic="no" sort="asc"  }
       <li><a href="http://{path=aboutus/{url_title}}">{title}</a></li>
      {/exp:channel:entries}
      </ul>
     </li>


    This is the code produced when the issue occurs:

    <li class="">
      <a href="http://new.pecklaw.com/aboutus/overview%22class=%22NoBorderLeft" class="NoBorderLeft sf-with-ul"><span>About Us</span><span class="sf-sub-indicator"></span></a>
      <ul  none; visibility: hidden;">
      
      </ul>
     </li>

     

  • #2 / Dec 17, 2012 1:36pm

    jsuissa

    147 posts

    The best solution I found was to simply change all the coding to use “D” in place on “C” in the URLs because it seems “C” is reserved.

  • #3 / Dec 17, 2012 1:51pm

    MadWebDesigns

    147 posts

    Yes, the ‘C’ character is used for category IDs. So ‘C18’ would be an example of a category with the id 18.

    Mike

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

ExpressionEngine News!

#eecms, #events, #releases