We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [taxonomy-terms]

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

Filter by
Sorted by
Tagged with
-1
votes
1answer
23 views

get menulink id from enitity id?

Id like to be able to get a link content ID from an entity id. Not sure how to best do this? I'm trying to render a menu tree and use a specific taxonomy term as the menu tree root. I have access to ...
-1
votes
1answer
36 views

Views PHP Filter buggy for Taxonomy name

I'm trying to show specific contents for specific users based on the taxonomy term. Variables explanation: webauth variable I am using these variables to setup my PHP filter. $_SESSION['company']; ...
-1
votes
1answer
19 views

Loop Custom Content based on the taxonomy term they are in

I created a taxonmy vocabulary, added 3 terms in it Term1, Term2, Term3 Then I created a custom content type, and I associated it with that vocabulary term, so now everytime I create a page I check ...
-1
votes
1answer
25 views

Create View and show tax terms that use the same term as the content

everyone, I am currently trying to create a view, but unfortunately I can't get a result. Initial situation: ContentType A uses a term from Tax B Tax C uses a term from Tax B Now I would like to ...
-1
votes
1answer
168 views

How to fetch taxonomy details from uuid or from taxonomy alias

How canI fetch the taxonomy details from the uuid or from taxonomy alias. My url looks like http://test.com/jobs/finance-accounting?job_category=a4c24884-d2g7-41c6-99f5-eb9783d6b992 which is a ...
-1
votes
1answer
24 views

Adding a class to a node for a certain term

I am working on a node content type that has the vocabulary fruits (I love fruits). Per node there are more type of fruits possible. By selecting field tags (terms of the vocabulary) the classes are ...
-1
votes
2answers
207 views

Make taxonomy lists collapsible in a views BEF

Similar to the module Term Reference Tree is there a way to make long taxonomy list filters collapsible? My use case would be for pages similar to kobejet.com/speakraku - where the list is so long it ...
-1
votes
1answer
17 views

Show Taxonomy Terms that have been tagged on any piece of content

I have a content type and it allows for one taxonomy term to be tagged to it. I want to show that term on each nodes page. How can I do this with views Please?
-1
votes
1answer
246 views

how give user based permissions for menu items?

i have 4 parent menu items for this i'm using superfish menu, how to give user based permissions to add a new page for particular parent menu only, example: menu item1(userrole1) --> for this ...
-1
votes
1answer
38 views

Taxonomy term name issue

$tree = \Drupal::entityTypeManager()->getStorage('taxonomy_term')->loadTree('category'); var_dump(tree); the above snippet gives the following output: array (size=4) 0 => object(...
-1
votes
2answers
444 views

Count node by taxonomy term

I want to build a statistical of ours projects inside my structure. I have a taxonomy term status with the terms ongoing, achieved, not rated and pending. An my content type have a relationship to ...
-1
votes
1answer
50 views

adding new vocabulary after saving node

I try to add new vocabulary After adding node for certain type..'account' if ($node->type == 'account') { $nid = $node->nid; $title = $node->title; $voc_title = 'branches_' .$nid; ...
-1
votes
1answer
30 views

Show accounts with the taxonomy term used from a node [closed]

A default user can create a project (a content type with custom fields) with skills he is searching for his project (taxonomy). There are users (with the Crew role) who have the asked skills (taxonomy ...
-1
votes
1answer
178 views

How to view multiple taxonomy terms content on same page?

In Drupal 6, it was possible to view links like: taxonomy/term/1,2, taxonomy/term/1+2, taxonomy/term/2/2 or taxonomy/term/2/all which would list multiple taxonomy terms on single page (showing ...
-1
votes
1answer
887 views

Add a field programmatically to taxonomy

We have a field.storage.taxonomy_term.field_name.yml file that adds the storage configuration for our custom field. The field is available to be added from the GUI to each vocabulary. The issue we ...
-1
votes
1answer
18 views

How to add a Product Catalogue Field

I have a drupal commerce website, where i have items separateed by category: see here I'd like to add as well, another field called BRAND, so that an item can be associated to both a category ie: ...
-1
votes
1answer
29 views

Cant get views_exposed_form to submit correctly

I needed to have all taxonomy vocabularies available to filter on, without adding all of the taxonomies one at a time. I did this using the Content: Has taxonomy terms (Multiple) Filter - which ...
-1
votes
1answer
27 views

Node data retrieval for different language

I have two languages (English [en] and Arabic [ar]) setup in Drupal 8.3 CMS. I am trying to retrieve data with Node using API, based on the user input language parameter. When I print the node data by ...
-1
votes
1answer
126 views

Loading taxonomy term missing the custom field data

foreach ($tids as $tid) { 200 try{ 201 $term = taxonomy_term_load($tid); 202 if(!empty($term) && !empty($teams_records[$term->name])) { 203 //term objects before ...
-1
votes
3answers
467 views

How to configure the popular TAGS block [closed]

I need this effect, but I don't know how to do that:
-1
votes
3answers
76 views

How to fetch taxonomy fields

I am using drupal 7.36. My question is I have created one taxonomy term "skin type".In this skin type I have created many fields.So I want to fetch all taxonomy terms. How can I fetch this using ...
-1
votes
1answer
74 views

Smart filter (like webshop) for selection of content possibly using taxonomy [closed]

I'm currently working on a website which needs to display paintings. The paintings have certain attributes: the year-of-painting/painter/background color/material. To get the best user experience i ...
-1
votes
1answer
34 views

How do you setup shipping services that relate to a specific taxonomy term?

I have taxonomy reference field for each product. I have DVD,CD and e-Download. If user purchase the e-download related products shipping charge should be free. How to add the conditions using rules ...
-1
votes
2answers
710 views

creating a view of a gallery of images

I need to create a view of galleries of images. The requirement is for a user to click on the menu item "albums". This then renders a view of a selected image from each of the galleries. Each gallery ...
-1
votes
1answer
1k views

Better Exposed Filter Module(bef) doesn't work with hierarchical taxonomy

I'm using better exposed filter module, and trying to build a filter based on a hierarchical taxonomy. But I can't work it out. Whatever how many terms in the taxonomy, the filter only show two radios:...
-1
votes
1answer
76 views

Global Variable

I have the following problem: I want to create a product catalogue. In the catalogue there are different types (Content Types) of products: eg chairs, tables, couches (i approached that with content ...
-1
votes
1answer
97 views

How to link to particular content type nodes via custom code

I have a content type called 'xyz'. Under that taxonomy select list that contain a,b,c. I am displaying taxonomy terms and I am able to display terms. I need to give link to content type nodes.here is ...
-1
votes
1answer
592 views

How to add an attribute to a node-taxonomy relationship?

I'll try to explain my problem through an example ... I have to do a recipe site with Drupal. I have an ingredient taxonomy and for each recipe I have to assign taxonomy and a value. Example: 4 Eggs,...
-2
votes
1answer
705 views

Edit meta tag for taxonomy terms

I have around 15 categories in my site. I need different meta tags for each category page. How is that possible? I have tried using meta tag context.But it didn't worked. I have these modules enabled: ...
-2
votes
1answer
153 views

What are the main differences between Drupal 7-8 taxonomy mechanisms? [closed]

What are the main differences (if there are any) between Drupal 7/8 taxonomy mechanisms? For example, when you create a term-page in Drupal 7, it includes full versions of all the nodes attached to ...
-2
votes
1answer
110 views

How can I display content of the same type in different ways [closed]

I have some content of the same type already on the site, but there are distinctions within the content, maybe categorized with taxonomy, that sub-type the items. What is a good approach to displaying ...
-2
votes
1answer
52 views

Taxonomy / Category [closed]

I have created Taxonomy with the reference http://www.anilsagar.com/content/drupal-7-tutorial-part-13-drupal-7-taxonomy-vocabulary-terms-tags-categories-concepts . How to call this in the template ...
-2
votes
1answer
533 views

Build gallery in drupal 7 in the way required

I have this requirement. I want some ideas before i start building this. I need to have various categories of galleries i.e cricket, football, rugby. There are the main categories. In the gallery ...
-2
votes
1answer
22 views

How can I display tags on one line [on hold]

How to change the below output of a drupal article Tags display with bootstrap theme To something like this which is displayed in stackoverflow below any questions Is there a ready made module ...
-2
votes
1answer
56 views

How can I change the taxonomy term title?

Simple as that. I want to change the H1 tag from taxonomy views to something like "Articles from %term" to make it more user friendly and not redundant (breadcrumbs shows the term alone). I couldn't ...
-2
votes
1answer
100 views

How to add country terms and languge field selected language in url?

I need a functionality in which I can select multiple language for a country. I have added the countries as taxonomy terms and in which I added language as a field, in which SUPPORTED LANGUAGES as ...
-2
votes
1answer
27 views

Create a content for taxonomy vocabulary

I have one task to do but i'm not sure where to start. I have to create a content for storing current and historical data for each term in "extaxvoc", the current data will be shown on Search pages ...
-2
votes
1answer
51 views

How do I redirect a controller to a particular vocabulary overview?

I want to redirect my controller to a specific vocabulary page. I redirect my controller using this code. use Drupal\Core\Url; public function importTypes() { $liste_types = $this->getListTypes(...
-2
votes
1answer
47 views

Automatically add taxonomy term based on state

Suppose I have a shopping website for a number of shops selling toys. Not each shop sells each toy. Our solution is that there is a taxonomy 'shops' and toys have a field to assign toys to a ...
-3
votes
1answer
61 views

Filling the field with certain criteria before save [closed]

I had a case like this. A Document content type with Taxonomy Term like this Title Category : CAT A CAT B CAT C Doc Number When user selects CAT A, then do some query to find last number of ...
-3
votes
1answer
84 views

how to highlighted clicked taxonomy term

I am using below code : echo "<h1>".Volume."</h1>"; $tid=db_query("SELECT th.tid FROM taxonomy_term_hierarchy th INNER JOIN taxonomy_term_data td ON th.tid=td.tid INNER JOIN ...
-3
votes
1answer
88 views

How to get this hierarchial view [duplicate]

Possible Duplicate: Clean way of building simple taxonomy browser of arbitrary depth Here Bachelor of programme -- Parent hierarchial term Year 1 -- Child term of Bachelor of programme Term 1 --...
-4
votes
1answer
427 views

Multiple dependent select [closed]

I have installed Simple hierarchical select module ,and added category field in one content type and also gave multiple hierarchical taxonomy. but this module is not responding properly when i click ...
-5
votes
2answers
233 views

drupal 7 link taxonomy term with users

How can i add all my users to a taxonomy term author so that when you start typing an author name it will suggest you names of all users with those letters?