Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [taxonomy-terms]

"Taxonomy" refers to Drupal's content classification mechanism, organised into vocabularies and terms.

2
votes
1answer
857 views

How to output all taxonomy field values on a node in views?

How can I display all field values that are on the taxonomy terms that are applied to a given node? So say I have the following Vocab defined: Vocab name:Fruit Description:Fruit Categories w/ codes ...
3
votes
3answers
1k views

Filter by content type and shared taxonomy terms

I want to classify my content within the following categories: Technology International Politics Education Religion Sports They are shared among my content types (e.g. news, page). I want to create ...
9
votes
7answers
10k views

How can I filter the taxonomy terms by language?

I have searched a way to filter the taxonomy terms by language (as done for nodes), but I didn't find any way to do it. Does the Views module support that filter in taxonomies too, or just in nodes? ...
11
votes
2answers
6k views

Converting Term names with special characters to Term ID's in Views

I have a view where I want to use multiple termID's as arguments. I want to use a term name from the url and convert it to a termID. I've managed to do this easily enough and it works with simple 1 ...
5
votes
1answer
2k views

Term reference with filter

I wonder if it is possible to add a term reference field with just a subset of the available taxonomy terms. Let me explain. I have a taxonomy vocabulary with a structure like this: - term 1 - term ...
2
votes
2answers
3k views

How to display translated term names in exposed form in block

So I've got a views page displaying a list of nodes from specific content type. This view has filter form exposed in a block. Some of the filters in the form are vocabularies. I'm using the BEF ...
7
votes
3answers
3k views

Display taxonomy field in node display

I created a vocabulary where terms have an image as additional field. I want to show the image instead of the term name in the node page. How can I do this? In Drupal 6.x, I would load the term and ...
3
votes
2answers
1k views

How to do taxonomy based css styling using template.php?

I'm looking forward to implement taxonomy terms based CSS styling; especially for the body tag which I want to add the current terms. Here is what I have so far: function _phptemplate_variables($...
4
votes
2answers
3k views

Multiple values in creating a new field instance

This is the code I actually have: $instance = array( 'field_name' => FIELD_PROJECT_TAGS, 'entity_type' => 'node', 'label' => $vocabulary->name, 'bundle' => '...
6
votes
2answers
472 views

Is Drupal 7 a good fit for my site?

I started creating my site in Wordpress 3.1, and I have hit a speed bump. I am considering switching to EE or Drupal 7, in hopes of achieving my vision of the site. The problem I am having is ...
32
votes
5answers
30k views

Views and node count for taxonomy terms

How can I display the node count values for taxonomy terms in Views? with sorting the result list in descending order of node count.
2
votes
1answer
1k views

Detect the taxonomy term(s) of a node from within a template file

I have a Drupal 7 site with a content type of event. I have a taxonomy called "event types" that has 5 options (Party, Conference, Meeting, etc) I have one template named node--event.tpl.php for ...
1
vote
1answer
194 views

Grant access to CCK referenced nodes

I have one content type 'object' that references one or more nodes of content type 'image'. I'm granting access to nodes with TAC Lite: a user can view only content with a particular term. Since the ...
1
vote
1answer
268 views

What is the access record “content_access: all”? This is overriding my taxonomy access module

I have had problems with my permissions ever since I last rebuilt my permissions. (I did this after working on user reference permissions. This field has no user reference on it) The taxonomy ...
2
votes
3answers
151 views

Best practice to have a 'category' fields where admin can choose wich voices the user can choose

I have a content type that needs a 'category' field; this can both be a taxonomy vocabulary or a text field (with the select widget), it doesn't really matter. (I won't have more then 5-6 voices at ...
2
votes
2answers
214 views

Never show the term name if the user has no permission to view the term

I use a vocabulary to freetag bookmarks I post to my site, and I want to hide all the terms (also most nodes; most or all, I don't care). With TAC module I use following setting for a start: global ...
4
votes
3answers
10k views

Taxonomy menu with custom path for taxonomy terms

I am trying to make a taxonomy menu using the Taxonomy Menu module with a custom path for the taxonomy terms. Instead of /taxonomy/term/tid I want /proj/!tid (or ultimately /proj/!term-name but I'll ...
3
votes
1answer
4k views

Are taxonomy fields exposed to views?

I am trying to create a view of nodes that have a taxonomy reference field. I can get the taxonomy term but do not see the taxonomy fields that I've created exposed to views. Google searches do not ...
7
votes
2answers
14k views

How do I access a taxonomy term's field(s)?

Specifically, I'm trying to access a field called 'logo' inside of a couple taxonomy terms (Tweet and Wikipedia edit), which is an image. I have a news feed on the front page of my site, and for each ...
3
votes
1answer
564 views

How to order a node's taxonomy terms hierarchically?

Are the terms in a node's taxonomy array ordered hierarchically by default? If not, what is the most efficient way to do so?
2
votes
3answers
4k views

Display the title of related nodes from taxonomy in block

How can I display the title of related news in a block shown in node page? For example, I create the content type "news", and add "news" nodes that have taxonomy terms taken from the same vocabulary; ...
1
vote
1answer
324 views

Show related Taxonomy list if created

I have created the following construction. If a student choose option A with the if construction the following step in the wizard is the internships with medicine domain A, but what if the school ...
8
votes
6answers
7k views

Taxonomy breadcrumbs

I'm using the core taxonomy module for blog tags but when on a tag's page can only get the breadcrumb to appear as 'Home', whereas I'd like it ideally to be 'Home > Blog > #Tag#'. I'm using custom ...
3
votes
2answers
144 views

How to install a taxonomy system that represents records in another high-volume, non-content-node table?

Here's the scenario: A writer about celebrity gossip posts a node (article) on a Drupal website. I have a module that scans the article and automatically creates taxonomy fields based on celebrity ...
3
votes
2answers
315 views

How to handle blog tags in a contrib theme?

In blog or blog-like sites, taxonomy is often used for tags and categories. In Drupal 6, node.tpl.php files could use the $taxonomy variable if they needed access to an array of unrendered taxonomy ...
7
votes
3answers
1k views

How can I automatically add taxonomy terms to a page's <meta> keywords in the HTML?

When Taxonomy is used for "free tagging", it basically becomes keywords for the content. From an SEO perspective, it would be great to automatically include these taxonomy terms in the HTML tag for ...
15
votes
7answers
3k views

Exporting Taxonomies to code

I'm looking for a way to export Taxonomy vocabs and their associated terms. So far I've found and tested: Taxonomy Export -- Exports to code using features but doesn't import. http://drupal.org/node/...
6
votes
3answers
4k views

Duplicate taxonomy terms from view

So I haven't yet been able to find a solution to this without using a preprocess function to check for duplicates or just using the 'tagadelic' module.. it'd be nice to get some closure. How do I ...
5
votes
1answer
4k views

How to create relationships between Taxonomy vocabularies?

I'm trying to build a site with similar content conventions to Craigslist. The problem is, I don't really know a good way to create multiple vocabulary relationships in drupal. Here's the end result I ...