In this article I will explain you how to use relationship tags, in order to create a block with Views that contains a hierarchic menu. I also made a custom module to show only the correct localized and language neutral tags.
Last week I changed my default view for cloud tag with a new one that orders the taxonomy terms based on their weight. In other words, I sort them not into alphabetical order but into how many times a tag has been used in my articles. I post the code for the new View and the new style properties for the CSS of the default theme used in Drupal.
After some boring tests and three different types of tutorial that have never been able to work on my site, finally I have found the best compromise for me: a related content based on the taxonomy and placed as a block above the comments field. Here is my Views settings and how to insert the resulting block directly in the node.tpl.php template file.
In my opinion Similar/Relevant content is an appropriate manner for highlighting and linking the own posts. At the same time is a trick for increasing the permanence of visitors in my site!
I completed my home page with a slideshow of the last articles, creating a new type of content for this goal and putting inside only the ones I want to do appear in that rotating box. Next I put them in a Views.
Taxonomy is a good tool to classify Drupal contents, this is a function inserted in the core and lets you to sign your articles with one or more keywords (i.e. tags). In the following tutorial I will show you how you can create a view block that visualize a list of tags with a simple count in function of the selected language, in other words the tag cloud.
While I was thinking on how to put a list of my contents in this site and how to change their pagination and style between home and the other pages, I was in trouble because I didn't know a handy method for Drupal! Views is the solution! I will show you the operations to create a new view and to distribuite contents in blocks and pages.
In my case I want obtain the following result for two different content types (articolo and articolo del blog):
A simple method to know the popularity of your own site pages is given by Drupal with statistics core module, but using Views is possible to improve the collected data, having a more defined table, subdivided in popular content and today's popular content.
Introductory article on this versatile add-on, that allows me to generate list of content in many types: from sliding images and tags-cloud in frontpage, to menu and lists of articles in other pages. Today I will describe some basic features and in the next tutorials I will show you how I implemented it in this site from time to time.