Stack Exchange Network

Stack Exchange network consists of 174 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

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

0
votes
1answer
17 views

My content type has a string of words, how do I make them tags?

I am very new to drupal. I currently have a content type called 'Issue', which has a plain text field containing something like "money, houses, pigs". How can I look at that string and turn each word ...
0
votes
0answers
13 views

Display custom field from taxonomy [on hold]

Two vocabularies have been created: type of projects list of projects with a custom field referring to the entities of the first vocabulary Then, managers have to give a notation using a webform by ...
-1
votes
2answers
31 views

How to hide certain taxonomy views from user?

I have one general taxonomy view wich has this alias mask /taxonomy/term/%. What I need is to hide views for certain taxonomy terms like 'canada' from display while it'll remain showing the other ...
0
votes
1answer
23 views

Reindex Taxonomy URLs?

I have a list of terms all with assigned URLs already. When I change the term and the URL, it is not updating. I feel like there's a cache or reindexing needed ?
0
votes
1answer
22 views

How to map multiple existing term IDs to an entity

I'm trying to map multiple existing terms using their target_id values to an entity (Commerce Product) and I can only get the first value to map. My yml file looks like this: 'field_prod_category/...
0
votes
1answer
16 views

How can I add a condition to the list of taxonomy a view is created from

I've created a view using a taxonomy term let's say (a,b,c,d,e) A content type can have multiple selections of these taxonomy term. The view returns the content-type based off the taxonomy term ...
0
votes
0answers
51 views

How should I deal with a vocabulary with many terms?

I'm trying to use Drupal 8, but if Drupal 7 is better for that, I'm ready to go back to Drupal 7. I have a vocabulary that must contain at least 10,000 terms, but they can also become more than 100,...
0
votes
0answers
17 views

Give View Page a taxonomy term

I have a view page that shows all content of a certain content-type, e.g. all press releases. I also have a sidebar containing a view block "related" that shows content of content-type "servicebox" ...
0
votes
0answers
10 views

Views listing products grouped by recommended and related, with exposed filter to sort [closed]

I am creating a product finder using views, Drupal 8. The finder uses an exposed filter to let users select from a hierarchal list of taxonomy terms (3 levels). I am using Client-side hierarchical ...
0
votes
0answers
12 views

What possible workarounds to have private taxonomy terms per users

I am developing a Drupal site in which every authenticated user must have the privilege of creating new/updating his own taxonomy terms, and only those taxonomy terms created by the user are shown on ...
0
votes
0answers
23 views

Rest export contextual filter by taxonomy name

good night developers!. I have a view of a chapter content type and a relationship with the taxonomy term book. I can add any field from the taxonomy, but can not include the relationship in the ...
0
votes
1answer
14 views

Get taxonomy term field from where is attached

I have a taxonomy vocabulary like this: A |--B(branch_field) |-- C(branch_field) X |--Y(branch_field) |-- Z(branch_field) Each user has a reference to a taxonomy term. I need to create a view ...
1
vote
2answers
45 views

Get taxonomy name instead of id

I set up a search criteria using taxonomy terms to filter content. The taxonomy and filter work great. The problem is the links return like www.example.com/work?tid=1 but instead I would like the ...
0
votes
2answers
20 views

How can I make a node like template for a vocabulary?

I have a taxonomy where I want to theme the term pages. I only want to theme the terms pages in this taxonomy. No matter what I do I can't see to get it to show a template file that I can then ...
0
votes
0answers
17 views

Exposed Filters and custom Taxonomy Field - How do I show custom Taxonomy field with Term in Views Exposed Filter?

I need to show a color swatch next to each taxonomy term in an exposed views filter for Drupal 8. I have created the custom field in the taxonomy term and it will show on the actual taxonomy page. ...
0
votes
0answers
9 views

Hide empty terms: Hide terms, with no items attached to them

Taxonomy has an option : (Hide empty terms Hide terms with no items attached to them.). I think that is suitable but didn't work and effect. what's your recommend ?
0
votes
0answers
15 views

How do I hide the taxonomies that the user does not have permission

When I remove a permission of a particular taxonomy vocabulary for a user role, it removes the permission for the role but it still shows the taxonomy vocabulary in the taxonomy list for the user. He ...
0
votes
1answer
24 views

Display single field from argument taxonomy term in Views header area

I have a view with a taxonomy term ID in the URL which is used to filter the displayed entities in the view. I want to display the description from the taxonomy term. I've tried this a million ...
1
vote
1answer
27 views

Taxonomy overview search term

In this manager: admin/structure/taxonomy admin/structure/taxonomy/manage/[fruit]/overview There is a way to add a search a term? So, if you have 100 terms it will easier to find a term. This ...
0
votes
0answers
20 views

how to fetch content result according to the terms Url alias name?

I have created the vocabulary with name blog category and created terms in the vocabulary like events,News,Category. For the Vocabulary terms name url alias generated in the form https://sitename....
0
votes
0answers
19 views

Node not appearing in taxonomy list when taxonomy term is selected within a paragraph

When I had my content type have a taxonomy term field in it, you could select the term and that content would be listed within that taxonomy page. However, due to the need to group that taxonomy field ...
0
votes
1answer
16 views

use taxonomy term for reservations how to prevent overlapping

I have a drupal site where reservations are available. We use fullcalendar module to visualize the room reservations. For a reservation the user needs to add a new content. The content uses taxonomy ...
1
vote
1answer
26 views

How to make breadcumbs grab taxonomy terms and use tokens

I have tried about 4 different breadcrumb modules now and none of them seem to do what I want. I want them to act in a similar way to Pathauto whereby I can mix and match tokens. There seems not to be ...
0
votes
0answers
12 views

Taxonomy term name not editable

I'm working on a project others passed to me. There's a Taxonomy vocabulary named Page Location, where there're terms like Alumni, Attention, and Bachelor Thesis. But after clicking the Edit button ...
0
votes
3answers
36 views

Create a Term Queue on views

I have a views showing some selected terms of a vocabulary. The Views block is created using Taxonomy Terms as content(show). It showing order by the terms tree. But my client want to sort it as their ...
-2
votes
1answer
61 views

How to display a token in plain text (without link)?

I created a form with the module "Webform" on "Drupal 8". In the form submission email, there is a token: [webform_submission:values:profil:entity:field_personnel_sexe] In the inbox, the term ...
0
votes
0answers
25 views

user list referenced by paragraph item

I want to list teachers(users) based on lesson term which are used in paragraph bundle. User list will be on path .../path/% For example .../lesson/math Path page will show math teachers. What I ...
0
votes
1answer
18 views

Print taxonomy term for theming nodes

I'm not a PHP developer, so I have a problem with customizing a theme. I create a vocabulary "City" and a term "Shiraz", then a field "field_city" as a taxonomy term in my content type. Now I want ...
0
votes
1answer
89 views

Related Content By Taxonomy Term and fields

I have a content type which has taxonomy term field (Department). There is another field of the same taxonomy term (Priority Department) I want to create a list of related content where the block ...
1
vote
1answer
16 views

Group users and display the group on the profile page

How can I create a group/role/taxonomy term or anything else to group specific users ? I also want to display the "group/role/taxonomy term or anything else" on the users profile. For example: I go ...
0
votes
1answer
27 views

node_save() null tid column

I am trying to create a node programatically like so, $newNode = (object) NULL; $newNode->type = 'job'; $newNode->title = $data['JobTitle']; $newNode->uid = $user->uid; $newNode->...
0
votes
2answers
20 views

Retrieve authro/owner of term

I am loading a term and trying to get the author or owner of the term, however I can not see any function under the Term Class On the other hand I can see the translation author being present on the ...
0
votes
1answer
26 views

Behavior of taxonomy-term classified paths

We have customer who insists that there is a setting/method that will order the listing-page for taxonomy attributed event-type by date ascending. My exploration has lead me to the .../admin/config/...
0
votes
1answer
41 views

Grandchild nodes (of a nested taxonomy term) on node page

Every time I think I understand relationships… Got desperate and cannot make work following context: A node has a reference (field_a) to a term 1A of vocabulary A. That term 1A itself has a reference ...
1
vote
1answer
34 views

How can I translate the label of a vocabulary?

I load the vocabulary with taxonomy_vocabulary_load($vocabulary_id). How can I can translate its label in the language currently used?
0
votes
0answers
20 views

Current term as hidden field

I am setting up some custom blocks to show when on a taxonomy page. Is there any way to retrieve the taxonomy name of the term that is being visited and add it as a field? A hidden field to be exact....
0
votes
1answer
18 views

How to change calendar entry background based on taxonomy?

Folks, I'm trying to figure out how to style my calendar. I was able to add color stripes based on my taxonomy, but the background of calendar entries is still that ugly yellow #ffc. What I'd like to ...
2
votes
0answers
26 views

How to select, add, limit or level select hierarchical taxonomy terms as field widget values?

To sort and "tag" content hierarchically Drupal has/had the great ability to build hierarchical term trees like: car > toyota > combi, car > ford > lector, etc. which could be added to content in ...
0
votes
1answer
39 views

Child & Grand Child terms of Parent Term from URL

I am looking for a way to display both the Child and Grand Children of a taxonomy term (found on the URL) on the same page. Example Taxonomy called Food. Top root term called GRAPE has children and ...
0
votes
0answers
34 views

Taxonomy page accessing terms in header

We have the need to have anchor links to the various taxonomy terms listed in the overall Taxonomy page. The links need to be dynamically created as the terms change. The links should have ...
1
vote
0answers
68 views

Free tagging (term) not translated when creating a node

I have a bundle type "article", which is translatable in 2 languages (English (=default) and French). The user can select the language when creating the article. It also has a "free tagging field", ...
0
votes
0answers
18 views

Vocabulary Terms redirect 404 page not found

I am using drupal 7.59 Today i see the my taxonomy's terms redirecting page not found. these topic i have done but the issue is still happening. I'm using pathauto module in this module i have ...
0
votes
2answers
87 views

How to create a view of hierarchical taxonomy terms and their nodes?

I'd like to create an HTML sitemap viewable by a human. I mention that I'd like to keep the hierarchy (tree structure of categories with subcategories) like the following: - TERM_A - Node a - ...
1
vote
2answers
71 views

Taxonomy view page for double nested terms

I have a content type that has an entity reference to a taxonomy term. The referenced taxonomy term has furthermore taxonomy terms referenced to it. On the taxonomy term view page, I would like the ...
0
votes
1answer
70 views

How to make Dynamic Term Link based on content type?

My web site has three content types ( Event, Course, Video) and 2 taxonomies(city and schools) All of them have same taxonomy referenced field. Eg:New York City events or New York City courses will be ...
0
votes
0answers
20 views

Filter with Page + attachement

I'm trying to filter content based on user data. I've created taxonomy and made the "link" between my user and my element. For this part, it's working. Taxonomy is "Privilege" which contains "Gold" ...
0
votes
0answers
15 views

Add the active class to the current term

I have a view that's outputs 3 taxonomy terms as teasers. When the context has the current (tid) - so you are on the taxonomy page of one of the 3 there should be an active class added to the div ...
0
votes
3answers
44 views

How come I cannot fetch the name of the taxonomy term from term id?

We are doing the following query below to fetch all the taxonomy term values in the term_category vocabulary term. When we do the following query below, we get NULL value returned. Content Type: ...
0
votes
1answer
21 views

Create a field with options are a combination of taxonomy terms, and content types linked to those taxonomy terms, for which the content type is used

This is a decoupled drupal 8 back end with an angular front end connected over jsonapi and other custom restful inputs. We have a coupon content type in out Drupal csm. It is exactly what it sounds ...
0
votes
0answers
13 views

Get custom taxonomy fields [duplicate]

I am trying to get a custom field assigned to taxonomy. I have tried this: $vid = 'zeme'; $terms = \Drupal::service('entity_type.manager')->getStorage("taxonomy_term")->loadTree($vid); $...