Language
  • English
  • Français
Drupal custom theming or module development price estimate calculator

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

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Ask a question related to Drupal development or administration