Hello everyone,
I have a node that (as an example) represents a restaurant.
• vocabulary list (restaurant_list).
• content type restaurant (select term restaurant_list mandatory)
With the following input fields:
- Description
- Specifications
• content type menu (select term restaurant_list mandatory)
• content type contact information (select term restaurant_list mandatory)
I am lost in the views... how can I tell views that when the user is in a restaurant page, it shows the menus and contact information belonging to THAT restaurant (taxonomy ID of the vocabulary restaurant_list I guess)?
Contact information is seperate as it's shown in another region of the page. So once again, how do I get the taxonomy ID of the vocabulary restaurant_list to show the correct contact information?
This has probably been answered a million times but I simply cannot find a simple answer....
Thanks in advance.
Comments
THis is the way I found to
THis is the way I found to get the menu (as in restaurant menu) information.
Is there a better way??
I used the contemplate module and added the following PHP (I could have changed the node.tpl.php also).
Here is the code.
Thanks for your comments and enlightenment.