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.

Category URLs

February 02, 2012 11:37am

Subscribe [3]
  • #1 / Feb 02, 2012 11:37am

    John Fairley

    5 posts

    Hi,

    I’m trying to have all the entries for a category “Twilight Struggle” (id: 3) with parent “Boardgames” (id: 2) display. Based on the documentation I expected this to work, but it isn’t: what am I doing wrong?

    Templates:

    Boardgames.group
    article.html
    index.html
    twilightstruggle.html


    http://www.bostich.com/boardgames/  - works
    http://www.bostich.com/boardgames/article/ - has a really odd result but that’s fine
    http://www.bostich.com/boardgames/article/turn-1-fairley-v-pytlicek - works
    http://www.bostich.com/boardgames/twilightstruggle/ - does not work

    the twilightstruggle link isn’t even calling the right template, it’s defaulting to the index.html.

    Using the latest v. of EE.

    thanks,
    j.,

  • #2 / Feb 02, 2012 12:12pm

    mark186282

    290 posts

    what’s your channel entries tag look like (especially in the twilightstruggle template)?

    should be easy to deduce from that tag

     

  • #3 / Feb 02, 2012 12:31pm

    John Fairley

    5 posts

    Right now it looks like this:

    {exp:channel:entries limit="1" url_title="{segment_3}"}

    and I immediately see my problem, need to change the segment to 2 not 3. 

    I was stuck thinking that tag didn’t matter, but I guess if that tag hiccups the system defaults me back to the default template.

     

  • #4 / Feb 02, 2012 1:01pm

    mark186282

    290 posts

    excellent!

  • #5 / Feb 03, 2012 5:31pm

    Shane Eckert

    7174 posts

    Hello John,

    It looks like Mark helped you with this one. Glad to see everything is working now. Thanks to Mark!

    Thank you for using the ExpressionEngine forums!

    Cheers!

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

ExpressionEngine News!

#eecms, #events, #releases