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.

Grouping articles together with common description

July 06, 2007 8:30am

Subscribe [1]
  • #1 / Jul 06, 2007 8:30am

    springworks

    4 posts

    Hi everyone

    Just looking to start my second site in EE and I need a bit of help trying to sort out the best way to structure this one.

    The site is for a publisher, who wants to have an online catalogue of their books. Each book can be in one or more categories (eg religious, novelty, children’s, etc), which is obviously easy to achieve. What is more confusing for me at the moment, is that there are a number of book series, each containing several books, so I need a way to say which books are in a particular series. Obviously I could accomplish this by using a custom field with a choice of set values to determine which series a book is in.

    However, as well as each book having their own description, each distinct series also has a general series description that should be shown with each book in that series. So I need a way to store this series description once for each series, but to display it with the entry for each book in the series. Any ideas? I have a feeling that I could use user defined global variables for this (maybe holding the series description?) and then use conditionals to insert the appropriate text based on the value of the custom field holding the series name. Does this sound like it could work?

    Another approach I thought could work (but now I’m beginning to wonder) is to create a new category for each series and use the category description field for the series description text. How could I then output the category description on each of the individual book entry pages?

    Any ideas/thoughts gratefully received!

    Thanks

    Steve

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

ExpressionEngine News!

#eecms, #events, #releases