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.

Allowing a different design on specified pages.

September 27, 2011 2:23pm

Subscribe [1]
  • #1 / Sep 27, 2011 2:23pm

    woodlandschurch

    1 posts

    Hi,

    I’ve created a channel called ‘Series.’  I have another channel called ‘Messages’ in which I have a relationship set to ‘Series.’  I have everything showing and working properly on the site.com/series page, however, I used some conditional statements with the {segment_#} parameter so that the URL’s can look like ‘site.com/series/seriesname’ instead of something like ‘site.com/series/view/seriesname’, all within the Series index template.

    I have to, however, have a unique design for each ‘site.com/series/seriesname’ page.  Here’s an example of how different the ‘Series’ pages can be:

    1) http://www.woodlandschurch.tv/currentseries/weird/index.html
    2) http://www.woodlandschurch.tv/currentseries/pinball/index.html

    So my question is how can I have a different design for each page?  Do I have to copy the entire html from each page and just use a global variable to have a different stylesheet for each, or is there a better way to do this?

  • #2 / Sep 27, 2011 5:54pm

    Boyink!

    5011 posts

    You either need unique templates to hold the unique HTML (if the content/channel structure can be standardized), or a channel with a catch-all “HTML” field (and/or field to hold the stylesheet link) that would hold everything.

    Unique templates within the Series group is probably the way I’d go—again if the content can be standardized.

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

ExpressionEngine News!

#eecms, #events, #releases