Description of the problem
- I want to create a portfolio section for a designer's website.
- I don't like the default hronological display of nodes when a particular taxonomy term is selected.
- Taxonomy url path do not work well with the ones defined by Views
Example: the site has a Portfolio section, under which there are several categories:
- Web design
- Print design
- Poster design
Each project is posted as node (or a custom content type node, ex. using CCK) under the specific category. Categories are organized using Drupal's taxonomy system.
View the description as an image
What has been tested
I have tried to use Views module and created two different views:
- project_latest - displays single latest project node. Uses URL:
project/latestwith option to supply taxonomy term id as an argument (ex. project/latest/3) - project_recent - displays three recent project nodes. Uses URL:
project/recentwith option to supply taxonomy term ID as an argument
The two views are combined under single panel (using Panels module). Panel's URL is portfolio and it has an option to use term ID as an argument and pass it to the two views used in panel.
If I go to portfolio/2 everything is displayed as expected: the most recent node from the term ID = 2 and also the list of other three recent nodes from the same term ID.
Questions
- How to exclude the latest node from the particular category from being displayed also in project_recent view?
- When a node is selected, how to display the most recent entries from the same category as the node selected? Currently selected node must be excluded from the list.
- How to list the portfolio taxonomy terms (web design, print, etc.) as a menu in each of the node pages and also when an index of term is being displayed (and have a class
activefor a term menu link available when a node from that term is selected)?
Thank you for any suggestions!
Kaspars