Questions tagged [taxonomy-terms]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
53 views

Can a taxonomy vocabulary entity be disabled or unpublished?

Vocabularies are config entities. I can see the delete link in the UI. In the example vocabulary config yml - taxonomy.vocabulary.blah.yml - uuid: 16ebbc47-16ac-461c-0000-00000000 langcode: en ...
0
votes
1answer
34 views

View using Path

I'm having an issue combining the use of taxonomy terms, URL alias patterns and views. Here's my setup: 1) Taxonomy: A basic taxonomy, lets call it "Blog Tags". In here I have a term like Mountains. ...
3
votes
1answer
100 views

How do I use 2 different taxonomy view modes on one node page?

On a node page I have a term reference field. This term contains 3 fields For the term I've created a few view modes: view_mode_first contains: field_1 view_mode_second contains: field_2, field_3 ...
1
vote
1answer
77 views

Show multiple term references as ID in one row

I've got a view of nodes, displayed as fields. As each node may have references to multiple terms/tags, I would like to show all these tags. When I use field "term_node_tid", then I get the multiple ...
0
votes
0answers
25 views

Adding term relationship to view breaks view for non-admin

A bit of a strange one, I have a vocab called "Creative Commons Licenses". I have a content type called "Painting" that includes a term reference field for the Creative Commons Licenses vocabulary ...
0
votes
1answer
33 views

Programatically insert field value of for a taxonomy term

I have a taxonomy vocabulary called, school and the machine name is field_school_name. The vocabulary has a field called school id (machine name:field_school_id). I am able to add a verb successfully ...
0
votes
1answer
19 views

How to make one view with different taxonomy terms in different rows?

I want to make a view with 3 rows of lets say fruits, with 6 fruits max for each row. Spring, Summer and Autumn fruits. And I don't want them to be mixed in one array so I could style them in view-...
0
votes
1answer
22 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
2answers
53 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
30 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
50 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
25 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 ...
1
vote
1answer
111 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
1answer
29 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
247 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
43 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
44 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
118 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
133 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
33 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
20 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
46 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
3answers
69 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 ...
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
278 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
20 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
88 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
45 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
43 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
58 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
76 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
1answer
36 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
175 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
390 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 ...
1
vote
0answers
76 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", ...
1
vote
2answers
732 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 - ...
2
votes
2answers
104 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
88 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
3answers
224 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
37 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 ...
1
vote
1answer
383 views

Commerce Product listing View with category contextual filter, How to show items of (selected term and its child terms)

I have a the view 'Browse Products by Category' with the path: /taxonomy/term/% and a contextual filter: Product: Category (field_category) and let's say I have these categories: Sensors --- ...
0
votes
1answer
72 views

Parent term doesn't show child term entities

My website has two taxonomies school and city, are connected. Here's city term list Newyork(parent) -Yonkers(sub-term) -Albany(sub-term) -New Rochelle(sub-term) -Utica(sub-term) And school term has ...
0
votes
1answer
62 views

How can I show referenced terms on other term page with view

My web site has two vocabularies for event content type. Vocabularies: City and Dance School. School terms use city terms. I want to show school terms as a list on city term page ( Eg. Newyork Dance ...
1
vote
0answers
571 views

Hide a taxonomy term

How can I hide, disable or un-publish some term in a taxonomy? The term should not be displayed in published nodes. There is the module Taxonomy Term Status for Drupal 7. Maybe there is something ...
0
votes
0answers
33 views

Taxonomy page variables giving empty values

I have a taxonomy page set up using taxonomy views. I added the page--taxonomy.html.twig template, but the output of {{name}} and {{content}} is an empty string. I also tried using the page--taxonomy--...
0
votes
1answer
69 views

Taxonomy terms with numeric names and views filtering within range

I have a very large taxonomy vocabulary with numeric taxonomy term names like: 10123,10124,10125,... etc. My node have a min value field and max value field. Both fields are taxonomy referenced fields ...
0
votes
2answers
40 views

How do I create a list of Nodes within a list of taxonomy terms, within a node?

I want to make an awards event where users can log in and nominate their products in specific categories. I have a node: "Awards Event" where the details of the event are defined I have a taxonomy: "...
0
votes
2answers
122 views

Making landing pages with taxonomy

I'm trying to make about 100 landing pages using taxonomy. I'm trying to stick to Drupal 8 core features as much as possible. I created two taxonomy vocabularies, Places and Main keyword. Now, what ...
0
votes
2answers
38 views

How to create links from term to node

On the node display I would like to create a list of services but for some of the services, I would like the list element to be displayed as a link to a certain node, and some will not have links. I ...