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.

Help with site architecture

September 13, 2012 7:01pm

Subscribe [2]
  • #1 / Sep 13, 2012 7:01pm

    Cowdrey

    5 posts

    Hi all,

    I’m running into a wall trying to get this section of my website setup. I’m fairly new to ExpressionEngine so anything helps.

    I have an “Artists” section. Within that section is a Band that has subpages to it. So the architecture looks like this:

    Artists
      Band Name
          Overview
          About the Band
          Tour
          Photos
          Video
          Music

    I’m having trouble figuring out how to setup the channels and fields so the Artists index page will pull the band image and band name. When you click on one of those, it goes to their overview page where the submenu for the band will be. I’m using Structure. I also have an Event page that I’ve setup where the user can enter in all the events and then the “tour” page of the Band section gets populated by the events that are associated with that Band. But I haven’t figured out how to sort those yet.

    Can someone guide me in the right direction on how to set this up channel and channel field wise?

  • #2 / Sep 14, 2012 5:46am

    Rob Allen

    3114 posts

    Ok assuming you have a template group called /artists…

    Create a Channel for bands
    Create a Channel field group fo bands and include these custom fields:
    1. Overview
    2. About
    3. Logo (image)
    4. Photo (band photo if needed)

    Create a Channel for Tour dates
    Create a Channel field group for Tours and include a Related entries custom field, assign this to the Bands channel, now when you add a tour date you can associate it with a band. Then you can call in a bands tour dates on their page using the {reverse_related_entries} tag.

    You could use the same logic for photo’s video and music, that way you can create an archive of say all photos from all bands, or just restrict to one band.

  • #3 / Sep 14, 2012 8:57am

    Cowdrey

    5 posts

    Thank you!

    I have that all setup. My problem is on the index page of /artists I have this setup to pull image and title of the band.

    When you click on either one, I want it to direct you to the “overview” page of the band. Then from there the “overview” page will show the submenu for the band page (overview, about, tour, etc)

    I have templates created for each page of the submenu.

    So in Structure I currently have:

    Artists
        Band Name

    Any ideas on how to get the info from the index page of Artists to link to the overview template which will hold all of the individual subpages?

    Thanks in advance for your help - really appreciate it!

  • #4 / Sep 14, 2012 12:19pm

    Rob Allen

    3114 posts

    I’d suggest creating a template called “band” in your /artists group, eg /artists/band - you can then use this template as the base for you band page with a url suhc as site.com/artists/band/band-name

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

ExpressionEngine News!

#eecms, #events, #releases