Drupal Questions & Answers

Ask and answer Drupal related questions! No question too simple or complex!
MXT's picture
Asked by on Tue 7th Jul 2009
Custom Front Page showing several box based on taxonomy

Hi all,

Which is the best way to customize front page of my site?

  1. I have a vocaboulary named “CATEGORIES”
  2. Example of categories (first level of terms) are: “music”, “art”, “sport”
  3. Every category has is own sub-terms, e.g.:
    • music -> rock, country, jazz
    • art -> photos, sculpture
    • sport -> basketball, football, hockey

In my home page i would have a box for every category, listing all recent posts for that category (and posts of related subterms), like this:

  • a box titled “MUSIC” showing recent post in this category, subterms included
  • a box titled “ART” showing recent post in this category, subterms included
  • a box titled “SPORT” showing recent post in this category, subterms included

How I can obtain this result using for example a combination of views, page-front.tpl.php, or views-view—frontpage.tpl.php and so on?

Thank you!

MXT

Commenting on this Drupal Question is closed.