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

Poster un nouveau commentaire

Le contenu de ce champ sera maintenu privé et ne sera pas affiché publiquement.
  • Tags HTML autorisés : <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Les lignes et les paragraphes vont à la ligne automatiquement.

Plus d'informations sur les options de formatage

Ask a question related to Drupal development or administration