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
69 views

Taxonomy term deleted but still visible (again)

I have seen this question, but it seems that the behaviour in my case is even worse. I have a text field with custom autocomplete which connects to an external service to get terms, and then it ...
1
vote
1answer
115 views

D6 -> D8 : Migrate only taxonomy terms from a specific vocabulary

When doing a D6->8 migration, my taxonomy term migration template imports all the taxonomy terms found in the source D6 site into my specified D8 taxonomy. How do I filter only the terms that belong ...
1
vote
1answer
267 views

Weird redirect on taxonomy term edit page

When I try to edit taxonomy terms, or delete them, and I click on edit/delete, it redirects me to that term page instead. I also have Devel module installed, and when I choose that option in the ...
1
vote
0answers
101 views

Views display taxonomy terms with vocabulary title as separator

As the title suggests I would like to show all taxonomy terms from different vocabularies separated by their vocabulary name's in one view. But unfortunately the field vocabulary title does not exist ...
2
votes
1answer
33 views

How to stop users from flagging other users if they have a custom taxonomy term?

I'm working on a project where users vote other users using the Flag module. Each user has a department term reference field. I would like to stop a user from flagging another user if they have the ...
0
votes
2answers
44 views

View of nodes and all their taxonomy terms

There is a vocabulary which has an additional field 'field_icon' I have a view that displays nodes of a certain content type. I am looking to display all the term's field_icon associated with each ...
0
votes
2answers
268 views

How to set a specific vocabulary in a taxonomy reference field during migration?

I am doing a D7 > D8 migration (where the D7 site in question itself was migrated from D6 some years back) and most stuff just works fine. But I am stuck on the field (instance) settings for taxonomy ...
0
votes
0answers
37 views

Display taxonomy terms in node_content-type.tpl and node_content-type--teaser.tpl

i'm on drupal 7.x, i have simple terms without subterms to display on my custom content type (node and teaser templates). It should be easy to do, but i don't understand how to display them, i tried ...
0
votes
1answer
30 views

EFQ SQL error when using filedCondition on two different taxonomy terms

I'm using the below code to select a 'store' content type which has two taxonomy fields: category and brand. $queryStore = new EntityFieldQuery(); $queryStore->entityCondition('entity_type', 'node'...
1
vote
1answer
35 views

How do I show related nodes as attachment in the term view block? [duplicate]

I have created a term view and content view for list the terms nodes. How can I show related nodes as insert view in term view block in Drupal 7?
0
votes
0answers
133 views

How can I load a taxonomy term into a views preprocessing hook?

I have a strange situation where I need to insert a non-product entity into a view result of products. The view appears on a taxonomy term page, and I want to add some field content from the term into ...
0
votes
1answer
715 views

Create view with path relative to taxonomy term

I have multiple content types and would like to create a couple of views to show various content types as sub directory to the term page. The challenge is that I need to the path to be taxonomy/term/%...
0
votes
0answers
134 views

D8 override core class

I am using SHS module. What I want to do is, override the SHS widget such that the I can alter the query used to fetch the data in the widget. Till now, I have overriden the route controller and have ...
0
votes
1answer
75 views

Taxonomy term doesn't show up in admin/structure/taxonomy/manage/tags/overview

I migrated a Drupal 6 site to Drupal 8. Current running version is: 8.5.3 I created 4 terms in the Tag taxonomy and referenced in the content type Article. The terms, however, do not show up in the ...
0
votes
2answers
38 views

View Path TaxonomyTerm/sub-page

I am looking to create a QUESTIONS view for all terms in a taxonomy vocabulary. Let's say I have a taxonomy that has terms apple, orange, banana. We use pathauto to go to domain.com/apple which shows ...
1
vote
3answers
170 views

Can not unset rows of a view programmatically

I created a view of terms using views_tree module. I need to remove some of the terms under some conditions. This is my code function THEME_views_pre_render(&$views) { for($i = 0 ; $i < ...
0
votes
1answer
25 views

How to display all terms for specific taxonomy in views incl. ones without content?

How to set up a view that displays all terms for a specific taxonomy including the ones that have no content assigned? I just can't figure it out to do it with a view:CONTENT and mainly found posts ...
0
votes
1answer
12 views

Add a DB record for taxonomy with Rules

I actually import terms from Feeds Xpath and copy them to a Content taxonomy field. But this term isn't recorded in the term_node table as expected by checking the checkbox. So can I use Rules to "...
0
votes
1answer
65 views

view content filtered by taxonomy children

I`m having a view block displayed on node page. In this block i want to show only other nodes that have the same child taxonomy selected. I tried with contextual Content: Has taxonomy term ID (with ...
0
votes
0answers
92 views

How to list comma seperated nodes titles on each row of a views table of terms listed with a column of nodes used by this term

I try to achieve the up-side-down scenario of that what many Drupal users know as one of the standart Views views, where a list of nodes has a field (column) listing all terms used with commas like ...
0
votes
0answers
23 views

How to display common taxonomy terms from 2 diffrent vacabulary in views

I have 2 vocabulary and this vocabulary used in content type. I want to display common terms from different vocabulary. 1) Basechart taxonomy: - Alphabets - ASER - Story - ASER(D) 2) ...
0
votes
1answer
145 views

how to pull parent term from nested array?

I'm building a custom field and formatter in Drupal 8(and teaching myself how to use Drupal & PHP, so bear with me) I'm not sure how to pull a parent term 'name' value from a nested array. ...
0
votes
1answer
220 views

Can't programmatically fill address field on taxonomy term creation

I'm creating some taxonomy terms inside of an update hook and they have a coordinates field and an address field containing only zipcode and locality. The Vocabulary is called cities, the address ...
0
votes
2answers
87 views

How do I get the vocabulary of a term inside an “article” type content type?

I have a content type tagged with various vocabularies. Each vocabulary has terms which I want to style with particular colours based on the vocabulary. For example, say I have a "Fruits" vocab which ...
1
vote
0answers
320 views

migrate taxonomy term csv

I want to migrate on my Drupal 8 website a file CSV which contains taxonomies terms. Its a simple file with id,name. I create a module: name: 'Taxo Migration' type: module description: 'Migration ...
0
votes
1answer
81 views

Repeated elements in translations of a block view

I have a small problem when translating taxonomy terms inside of a block view. View configuration: Output: The translation is correct but the element quantity is incorrect. The idea is to have one ...
1
vote
1answer
27 views

Rule fetches only single taxonomy term from multiselect values

I have created a Rule which is supposed to fetch all the selected term from a taxonomy term field (a field that holds a list of taxonomy terms). But when the rule is executed, it fetches only one ...
0
votes
1answer
204 views

How to add content of nested terms to Taxonomy term View

By default Drupal 8 taxonomy view doesn't show the nodes of child taxonomy terms. I need to include them but don't know to to modify the view Taxonomy term (Content). I have the following vocabulary: ...
0
votes
0answers
28 views

How can I allow users to specify one main taxonomy term from a set of terms?

In my node edit form, I have a field that allows users to select multiple terms from a fixed list to designate "categories" that the node is part of. I would like the user to be able to specify that a ...
0
votes
0answers
179 views

D8 - how to group view by paragraph term reference parent

I can't group view results by a taxonomy term's parent... I have a content type of plant, with "field_plant_locations", referencing the paragraph type, "plant_locations". In this paragraph, I have a ...
0
votes
1answer
176 views

Vocabulary Term Translation Edit/Delete Page Get Access Denied/ Doesn't Function Correctly

I currently have a taxonomy term with multiple translations. When I visit the translate tab for the term it does list all of the languages properly. However no matter what translation I'm attempting ...
3
votes
2answers
80 views

How to create a list of vocabulary names for a widget?

I would like to create a customizable filter widget that can be used to filter a view on a page. One type of filter uses taxonomy terms. While I can easily create a list of terms, I find I cannot ...
0
votes
1answer
80 views

what is the equivalent for category in wordpress in drupal websites?

to boost the ranking for a specific keyword we should create categories in wordpress. how should I make a category in drupal? There are only tags. Are tags in drupal the same as categories in ...
1
vote
1answer
125 views

How to change the system path of a taxonomy vocabulary to correspond a view

I'm using Drupal 8 and i want different vocabularies to be displayed by different views. Each view should have a different path with a contextual filter but when i define my path on pathauto the ...
-1
votes
1answer
42 views

how to create a view with recent item also display catagary name [on hold]

I want a block on my home page called (recent files addit) but I want to display catagary name also like file name (how to create a folder) catagary: (basic computer learning) you can find same ...
0
votes
1answer
17 views

Echo taxonomy description based on specific value of a field in a custom template

I'm trying to check the value of a field on my content type that is a list of taxonomy terms to see if it matches a specific taxonomy term, then if it does match, echo the description field of the ...
0
votes
1answer
45 views

Setting multiple checkbox values with form_set_value

I have a field that is a taxonomy term reference with a checkbox widget that allows multiple values. I am looping through a json structure, finding the associated code value and then setting the ...
0
votes
1answer
38 views

Taxonomy with adjacent cities

I have a content type 'company' with a related tax-term: 'city'. With a view I can search for companies based on 'city' with autocomplete. Is there a way I can relate adjacent cities into the same ...
0
votes
1answer
314 views

Taxonomy term not displayed in the current language

My setup is simple: A content type "film" with a taxonomy field "Type of film". The content type "film" is translatable, but not the field "type of film" (same type for all languages): only the ...
0
votes
1answer
31 views

How to add some custom text after a taxonomy field in panels?

I have a taxonomy field called cvtype. This cvtype is containing several names like - Standard - Complete I can add this to a Panel by adding content > node. I would like to add the letters CV ...
0
votes
1answer
21 views

Multiple Book Versions

I imagine this has been asked before, I'm just struggling to find the right answer. Using Books to create documentation for an open source project. We're covering 3 domains, Users, Developers, and ...
0
votes
1answer
240 views

content types vs. paragraphes types + taxonomy

I have quite a complex content structure and found the paragraphs module (in combination with taxonomies) can be very powerful for creating complex compound fields and dynamically reusing existing ...
0
votes
1answer
18 views

Vocabularies with terms on a view

I need to create a page with listed vocabularies and terms related to it in 3 columns. Vocabulary 1 Vocabulary 2 Vocabulary 3 Term 1 Term 4 Term 7 Term 2 ...
0
votes
0answers
96 views

How do I show only language specific and translated taxonomy terms in a field which references a taxonomy?

How do I show only language specific and translated taxonomy terms in a field which references a taxonomy? In my xyz content type I have taxonomy reference fields. While translating the content ...
0
votes
2answers
39 views

ABT term reference field hidden in Node View

I am using "Access by Term" configuration to control VIEW and UPDATE access for a content type with a Term Reference field in the content type. See screenshot. But setting this configuration hides ...
0
votes
1answer
182 views

I cannot modify entity values

I have installed the Views Bulk Operations module and am looking to use it to mass edit my content. However, when I select a few nodes to edit and select Modify Entity Values and click Execute, I get ...
0
votes
1answer
52 views

Search API cannot search taxonomy terms

I have built a search page using Search API, specifically the database version. This search page is a simple view and works exactly how I'd expect it to. However, now I need to update the index so ...
1
vote
1answer
1k views

How do I get all children's taxonomy term IDs? [closed]

How do I get all children's taxonomy term IDs in Drupal 8? $tree = \Drupal::entityTypeManager()->getStorage('taxonomy_term')->loadTree($vid); uses the taxonomy term name, not the taxonomy term ...
1
vote
1answer
1k views

How to access taxonomy term field?

I added two fields to my vocabulary terms field management. How do I get these values? There is no fields like color or Image in my Taxonomy Term vocabulary dump. How does Drupal 8 store these ...
0
votes
1answer
58 views

Restrict core to generate taxonomy terms' URLs

I'm working on very large existing Drupal site that has thousands of nodes, user in it and bunch of Taxonomies as well. I understand very well that Drupal core generates default URLs (taxonomy/term/...