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.

Why is category result only showing two entries??

October 01, 2010 7:39pm

Subscribe [3]
  • #1 / Oct 01, 2010 7:39pm

    redgizmo

    14 posts

    Hello,

    I have created a category listing and I don’t know why is showing only two out of four entries in my page. This is the code I’m using in my template:

    {exp:channel:category_heading channel="booths"}
    
    <h1>{category_name}</h1>
    {/exp:channel:category_heading}
    
    {exp:channel:entries channel="booths"}
        <h3><strong>{b_number}</strong> - {title}</h3>
    <p>    Product Category - {pCategory}<br />
        Partner Description - {bDescription}<br />
        <a >{bURL}</a><br />
        <hr><br />
    {/exp:channel:entries}

    Note that I did the same in a different channel with different categories and it worked fine. Any idea what I’m doing wrong this time?

    Thank you

  • #2 / Oct 02, 2010 10:26am

    John St-Amand

    865 posts

    Certainly no obvious culprits in your tags, but you’re also not using any of the channel:entries parameters so they’d simply go to default values. I know it’s a silly question, but I have to ask - did you double check that the entries are (a) not expired or set with a future entry/publish date and (b) have an assigned status of “open”? If you add some parameters like status, etc to your entries tags” you may wind up revealing what’s different about the two that aren’t displaying. If you add another new entry to the channel, does it show up?

  • #3 / Oct 02, 2010 2:34pm

    redgizmo

    14 posts

    Thank you QB Marketing,

    We found the problem… Apparently the tag {bURL} is not suppose to be inside the html “a” tags. I’m not sure why, but after removing the html tag “a” the problem was solve.

    Have a good day.

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

ExpressionEngine News!

#eecms, #events, #releases