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
2answers
527 views

Drupal Views : Cumulative filtering from an exposed tag cloud

Sorry for this newbie question... I hope you can help. I need to set up a search result page, with a tag cloud as a filter. If user select one tag (termX), the matching rows are being displayed. ...
0
votes
2answers
108 views

Get term ID of a field vocabulary in for templating

I have a node template with various taxonomy fields and I'm trying to get the term ID of a specific vocabulary field to pass it through an url. I have tried many function but I can't seem to find the ...
-1
votes
4answers
67 views

Sort downloads from dropdown

i have alot of car drawings that i want to upload to my website and make downloadable .. the thing is that i want to have a dropdown menu, 1 with manufacture, 1 with model, and 1 with year .. from ...
-1
votes
3answers
60 views

Need to make something like this in views

It contains Title of taxonomy term, thumbnail image and a trimmed Description. I am new to using views and adding HTML to them, can anyone help me how can i achieve this? I know basic steps but don't ...
-1
votes
1answer
157 views

How to add prefix and suffix to certain vocabulary term names

I have vocabulary Height, with terms 50, 100, 150, etc. On the Taxonomy page, I want the title "Height 50 mm", "Height 100 mm", "Height 150 mm" etc. I know it must be something like this, but the code ...
-1
votes
4answers
6k views

Get a taxonomy id(tid) from a node id (nid)

if($node->type=='student') { $nid = $node->nid; print_r("The node id is: ".$nid.'<br/>'); $tid =db_query('SELECT tid FROM {taxonomy_index} WHERE nid = :nid', ...
-1
votes
1answer
120 views

Taxonomy Term Field of a Reference Field in a Product not available in Data Selector for CheckOut Rules

I installed Drupal Commerce Kickstart 2 with drupal version 7.54 and drupal commerce Version: 7.x-1.14. My problem is I want to send email to the store owner every time an order is completed. So in ...
-1
votes
1answer
28 views

Problem with taxonomy [closed]

I created a "Science" category, which shows up at the bottom of the add content page. But I also created a "History" category and that doesn't show up. Any ideas?
-1
votes
1answer
53 views

Creating a Slider paragraph type, how do I manage tabs “on the fly” within that?

I'm creating a paragraph type that represents a Slider. It has a couple of simple fields like "title" and "subtitle". It also has a variable number of tabs. The tabs are where the real content is. ...
-1
votes
2answers
2k views

How to programmatically get all nodes which are related to the specific term ID?

What I want to do? I want to display all categories in first drop down and in second all titles of related nodes with the selected category. To get that I have mentioned all the tasks I have done. ...
-1
votes
1answer
273 views

Taxonomy terms display

I want to display all taxonomy terms hiearchicaly exactly like it is displayed in the administration. Here is the sccrenshot of the administration of the taxonomy and i want to display + the titles ...
-1
votes
1answer
154 views

Parent term relations select list as Hierarchical select list

I would like to change the Taxonomy relation select list like as Hierarchical Select list, how can I change its nature? Please help]1
-1
votes
1answer
37 views

Can I restrict which user can use a given term of taxonomy?

I am using Taxonomy as Category. For example taxonomy "Categories" have "Internal Coms" as term. Then I have a view that shows all Internal Coms. But this term must be used only by some users (or ...
-1
votes
1answer
86 views

taxonomy image as background image on node

I have taxonomy images attached to node that I would to make me background image. Previously I used the images uploaded to the node as a background image. This is the code I used to print out the ...
-1
votes
1answer
47 views

How to tag to parent of the parent in taxonomy?

I have a parent term Regional and in Regional I have several languages say English etc. I have songs tagged with these languages. If I select Regional I want to select all songs under all languages ...
-1
votes
1answer
208 views

General architectural approach to Drupal for a new project [closed]

Thank you for taking your time to answer. Her is the edited version: I am developing a sport social networking website. I come from WordPress cms and for this particular project I've choosen Drupal ...
-1
votes
2answers
158 views

dynamic taging node with keywords(terms) is body

I have some vocabulary and I want to tag the content automatically with keywords types in body of content. Example my body is : "Drupal is lovely content management system that provide good api to ...
-1
votes
1answer
1k views

List nodes by term on one page like Drupal 6

I've searched through quite a lot of how to's now and completely stumped, In Drupal 6 with views the relative simple procedure of linking a taxonomy vocabulary to a content type then furthermore ...
-1
votes
1answer
62 views

How can I add a page from the Views module to a taxonomy menu?

How can I add a page from the Views module to a taxonomy menu? I have a taxonomy menu like the following. A A1 A2 B B1 B2 C In C, I want to display my view page output. How can I do it? I am ...
-1
votes
1answer
36 views

List files in a directory as a table

I created a folder inside of my Drupal directory where my client can directly FTP into and upload or remove PDFs. What I'm trying to do is create a page called "Documents" which then displays all ...
-1
votes
1answer
47 views

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

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 ...
-1
votes
1answer
26 views

How to restrict term view page for respective user roles programatically? is it possible?

I tried to using hook_menu_alter but it doesn't work. It doesn't call page callback function. function mymodule_menu_alter(&$items) { $items['taxonomy/term/%taxonomy_term']['page callback'] = ...
-1
votes
1answer
63 views

How to display custom text for entity reference field, depending on vocabulary term.

This must be simple, but I can't find how to do it .. Say I have a custom content type of 'staff' which, among other, has an entity reference field linked to a taxonomy vocabulary which has the ...
-1
votes
1answer
93 views

viewswith multiple taxonomy fields with the same vocabulary, filters should show just selected terms

I have a content type with two taxonomy fields using the same vocabulary, I need a view with two exposed filters that, when both set to the same term, show just the nodes with that term in both ...
-1
votes
1answer
186 views

How to Display Taxonomy image field on node page

I need to display Taxonomy term image field on the node display page instead of the term name. Other fields are being printed like below and the $content variable is not printed any where. Any ...
-1
votes
1answer
27 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
38 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
193 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
234 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
273 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
41 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
511 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
192 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
954 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
30 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
28 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
133 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
493 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
77 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
75 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
35 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
715 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:...