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.

Dynamic content generation ideas

August 03, 2010 12:15am

Subscribe [2]
  • #1 / Aug 03, 2010 12:15am

    mgreich

    8 posts

    We’re building a site that is very news oriented. Sports news specifically. http://www.dakotapreps.com/index.php

    A majority of the site content is input using three channels. The main one being news articles. The entries are categorized. The articles are then displayed on various pages based upon the categories selected.

    The problem we’re running into is that we need EE tags to be changed based on what a user clicks. So at the lowest level there will be a page for a specific sport for a specific school. We hope to have sub-pages for statistics, rosters, and things like that at that level. We’re messing with a tabbed sub nav here at the moment, but the same idea would hold true in this example: http://www.dakotapreps.com/index.php/sports/11aa-football/ . So the same page design holds true for every class (11AA, 11A, etc.) but the articles that are displayed are only those categorized as such (11AA would be one category).

    We’re looking for a way to dynamically change the EE tags so we can use one template page for every Class and School page. We were looking at using global variables to do this but are really open to any ideas. If we have to build a page for each page and sub page we’re looking at over 1000 pages.

    Hopefully looking around what we have developed so far will shed some light on exactly what we’re looking to do.

    Any ideas would be greatly appreciated. If something doesn’t make sense let me know and I’ll attempt to clarify. Thanks in advance.

  • #2 / Aug 03, 2010 5:12am

    Steven Grant

    894 posts

    why not use the url segments, you can parse the url segment into your weblog/channel tags to pull the content appropriately.

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

ExpressionEngine News!

#eecms, #events, #releases