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.

How To Show List Of Related Articles - EE 2.1.3

January 01, 2011 8:24pm

Subscribe [2]
  • #1 / Jan 01, 2011 8:24pm

    three80

    15 posts

    I’m building a typical news site where all entries will be organized by topic. On a page where I show the full contents of a channel entry how would I add a sidebar item that shows a list of other entries from the same topic? For example, any entry in “Entertainment” would show a list of the 5 most recent other entries in “Entertainment”.

    I’m still planning my site so I’ve not decided whether each topic will be a channel or category.  The answer to this question will, in large part, dictate which way I go. 

    I plan to use tags, so I don’t really care whether each topic is a channel or category unless someone can point out reasons to choose one way over the other.  If you know of any, please share.

    I very much want to be able to show other content from the same topic so whatever allows me to do that is what I’ll use.  If you know, and especially if you can provide the code, please help.  Thanks

  • #2 / Jan 02, 2011 10:28am

    Greg Salt

    3988 posts

    Hi three80,

    As you say, the exact answer will depend on how you structure your site but a channel tag in the sidebar may need to use the dynamic=“no” parameter. If you use categories then you should take a look at the related_categories parameter.

    Just experiment with different setups and we’ll be here if you run into specific issues.

    Cheers

    Greg

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

ExpressionEngine News!

#eecms, #events, #releases