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.

"pages" in a category

March 10, 2008 2:55am

Subscribe [1]
  • #1 / Mar 10, 2008 2:55am

    OffLead

    12 posts

    I have a section of a site that is using Pages. Some are the only page within a category, and for others there are multiple pages within that category. If you are on a page, and there is more than one page in that category, we need to create some navigation for all the pages within that category.

    So here’s some sample structure:

    Category: Stuff
    - Page 1 (uri: /stuff/page1)
    - Page 2 (uri: /stuff/page2)
    Category: About Us
    - Page 1 (uri: /about/history)
    - Page 2 (uri: /about/testimonials)
    Category: Contact Us
    - page 1 (uri: /contact)
    Category: More Stuff
    - Page 1 (uri: /morestuff)
    Category: Additional Things
    - Page 1 (uri: /things/page1)
    - Page 2 (uri: /things/page2)


    So if you are on /stuff/page1, we should display a navigation list with links to Page 1 and Page 2 in the Stuff category. If you’re on /morestuff, there are no additional pages in that category, so no links are required.

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

ExpressionEngine News!

#eecms, #events, #releases