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:entries Loop does'nt show anything without the category trigger in URI

September 19, 2010 7:16pm

Subscribe [2]
  • #1 / Sep 19, 2010 7:16pm

    F. Albrecht

    75 posts

    Hi,

    after more than 15 EE 1 Websites I’m struggling with a strange problem and I’m not able to solve this by myself this evening:

    EE 1.6.9, B 20100430

    I’ve set on the category trigger in global weblog preferences. My template has an entries-loop and a catagory filter. The category filtering is working as expected (and done several times before) but without the category trigger word the loop does’nt show anything:

    <div id="filter-location">
      <form id="nav-filter" action="/" class="clearfix">
        
          <label for="filter">Filter:</label>
          <select name="filter" id="filter">
            <option value="/performances/" selected="selected">All</option>
            <option value="{path='performances/cat/my_cat1/'}">my_cat1/option>
            <option value="{path='performances/cat/my_cat2/'}">my_cat2</option>
          </select>
        
      </form>            
    </div>
    
    {exp:weblog:entries weblog='performances' show_future_entries='yes' status='open' orderby='date' sort='asc'}
      <div class="entry teaser clearfix">
        <h3><a href="http://{url_title_path=performances/details/}">{title}</a></h3>
    <p>  </div> <!-- /entry --><br />
    {/exp:weblog:entries}


    • /performances/ does’nt work (does’nt show any entry)
    • /performances/cat/my_cat1 works (show categorized entries with ‘my_cat1’)
    • /performances/some_slug works (shows all entries)
    • /performances/details/url_title works (with another template)

    It’s curious because this code is working in other projects. Entries are shown without the dynamic=‘off’ param.

    What’s the problem?

  • #2 / Sep 19, 2010 7:45pm

    F. Albrecht

    75 posts

    Ok, I’ve got it.

    I have a pages entry with a pages uri called ‘performances’. So the pages URI collides with the template-group name ‘performances’ and therefore the entries loop does not show anything.

  • #3 / Sep 20, 2010 4:07am

    John Henry Donovan

    12339 posts

    Glad you figured it out. Feel free to start a new thread if you have any more questions.

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

ExpressionEngine News!

#eecms, #events, #releases