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.

How to use index page to display different categories

June 18, 2008 7:22pm

Subscribe [2]
  • #1 / Jun 18, 2008 7:22pm

    Tomaz

    9 posts

    Hi, I have one weblog and about 10 categories.
    I would like the index page to be able to display all of them depending on the url, so if i get index.php/group/something or index.php/group/somethingelse it all would be displayed using the same group/index template

    Is that possible?

  • #2 / Jun 19, 2008 3:23am

    Ingmar

    29245 posts

    Tomaz, I am not sure I understand what the issue is? You can use

    <a href="http://example.com/index.php/group/template/C1">http://example.com/index.php/group/template/C1</a>

    to display category 1, or

    <a href="http://example.com/index.php/group/template/32">http://example.com/index.php/group/template/32</a>

    to display entry 32, all using the same template. Makes sense?

  • #3 / Jun 19, 2008 8:56am

    Tomaz

    9 posts

    Sorry my mistake, the categories are displayed automatically, mine didn’t because of a syntax error.

    Solved the issue, thank you

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

ExpressionEngine News!

#eecms, #events, #releases