Questions tagged [taxonomy-terms]

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

3
votes
0answers
70 views

Views Grouping by Taxonomy Parent of a Parent

I'm working with Views to build a display that groups by "Categories" - see the example- in a vocabulary. I had that working just fine when the vocabulary only went one level deep. Now what I need to ...
3
votes
0answers
773 views

Show nodes of other content type that share a common term (with depth)

I have two content types: sector and product. Both share terms from the same vocabulary, called branch. A sector node should list all product nodes that share the same term(s) (from the branch ...
3
votes
0answers
103 views

View with list of all taxonomy terms except active node's term

I have an request to create a view based on taxonomy terms. Basically it's opposite of standard Taxonomy Terms list. I have an content type for videos. Each video has its category of course. On full ...
3
votes
0answers
68 views

Problem with feeds taxonomy import

Why is that I cant import taxonomy terms with feeds, it says it imported 23 terms, but they are nowhere to be found.... I used term name, url alias, term id in mapping then imported it via feeds, ...
3
votes
0answers
191 views

How to use Views contextual filters with a hierarchical taxonomy path in the URL

If I have a multi-level taxonomy, and the URL for each Term contains information about its parents in each URL component, how can I set up a View to show the content for each Term? Example of the ...
3
votes
0answers
295 views

Get Location module Block : how to show map markers for particular taxonomy term - exposed to user

I am using the Get Location module for building store locator functionality in my site. I have made a content type with field = address and field type = Geolocations Fields with widget = Geocoder. I ...
3
votes
0answers
81 views

Quick editing of taxonomy tags on a node

I am using Drupal 7 Advanced Forum. I have added a taxonomy field so that posts can be tagged with keywords (like in this forum). Currently if an editor responds to a customer post, the process for ...
3
votes
0answers
75 views

Display all terms in the same lineage when user can save only the deepest level

I'm using D7. I have a vocaburaly. User are enforced to save the deepest term in the vocaburaly with SHS(Simple Hierarchical Select). And, by the setting of SHS, user can save only a term on the ...
3
votes
0answers
381 views

Use text field as contextual filter in views? Or related content not based on taxonomy

I'm trying to figure out if it would be possible to use text field as contextual filter in views? Say I want to have EVA or block that takes certain Field-A from current node as filter. Then EVA or ...
3
votes
0answers
201 views

Rewrite exposed filter input from url

I have created a view to list nodes path articlesearch. Now i want to filter the content with a search string based on title, body and taxonomy term with OR condition One issue i am facing is i want ...
3
votes
0answers
1k views

Contextual filter based on translated term

I'm looking two days for the right answer but can't find it anywhere. Here is my issue: I'm using Drupal 7.21 with Entity Translation to build a multilangual site (English and Dutch). English is the ...
2
votes
0answers
138 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 ...
2
votes
0answers
483 views

Tell taxonomy links to use route in custom module

I have a module where I created a route /page/tag/{term} that uses a controller for modifications to how the term page is handled. The problem is that when any page displays these term links, they ...
2
votes
0answers
190 views

Migrate taxonomy with depth

I need to migrate a CSV file of 3000 Taxonomy terms with depth of 5 levels deep. This is a small sample of the CSV comma-separated values file. About Us About Us, Our Programs About Us, Our History, ...
2
votes
0answers
43 views

Taxonomy Terms No Longer Display on Terms Page after editing

I have encountered a strange issue on a site I am working on that has been active for a few years. (Drupal core 7.54) If I edit or add a new Taxonomy term, then the Taxonomy term will no longer show ...
2
votes
0answers
155 views

Prepopulate taxonomy field

I'm writing a module that use Taxonomy terms for different data (cast, directors, ... of a movie). Now I prefill some default fields to a create node page using the hook_form_alter. The only prefill ...
2
votes
0answers
35 views

Is there any way to use comments for taxonomy pages?

I want to add a block like message board/chatbox in my taxonomy pages. Best and simple way to do it is comments. Is there any way to use comments for taxonomy pages?
2
votes
0answers
121 views

How to get the original term name from the translation of a term without knowing the tid?

I have a vocabulary which has the option Localize. Terms are common for all languages, but their name and description may be localized. set for its multilingual settings. I have 2 languages on the ...
2
votes
0answers
2k views

What Twig variable can i use to view Page Title or Taxonomy Name for a Taxonomy Type page

In Drupal 8 I need a way to get the Current pages title or Taxonomy name/ID. In the template taxonomy-term.html.twig the variable works: {{ term.id }} I need the variable to work in page.html.twig ...
2
votes
0answers
61 views

Display multiple parent Terms of hierarchical Taxonomy

I'm running a Drupal7 installation and have a view where I want to list all parent terms for the chosen child terms of a node. I tried the solution described for this Question but can't make it work ...
2
votes
0answers
202 views

Dependent exposed filters and taxonomy level Drupal 7

I have an exposed filter in a View. There you must select Brand of car. The taxonomy vocabulary is Cars, and has all brands as parents and all models of car at the second level under its mother term. ...
2
votes
0answers
27 views

Taxonomy category not working

I'm creating a website which has 2 type of categories. One for the Catalog (product type) which works well and I created a Company taxonomy catalog too. If I create a product I can select the Product ...
2
votes
0answers
1k views

How to display the room resources in a week view of a Full Calendar

I need to show the room booking in the weekly list. I've created a node type called 'booking'. The node has three fields, start date - end date, title and room name. The room name is assigned as ...
2
votes
0answers
47 views

Related Content Block with Tags

I have an interesting problem. I try to build some kind of related content block. Sortly, I use tags as a channels/catagories. For example; there is a content like best Spanish football clubs and ...
2
votes
0answers
17 views

Drupal CCK taxonomy field value lost when doing feed importing

Drupal CCK taxonomy field value lost when doing feed importing In Drupal 6, CCK lost taxonomy when doing feeds import. Have a content type "Thesis". It has a field taxonomy "Category". For example, ...
2
votes
0answers
21 views

Views Attachment repeating on each category page

I know I'm just beginner about Views Attachments - I think I learned how to put a sticky article teaser on Category page Above all others; - but as there are many numbered Category pages i.e. ?page=1 ;...
2
votes
0answers
52 views

Taxonomy fields on Profile2 edit form

I'm hoping someone can help me. I've been stuck on this problem for a while and can't find help. I'm relatively new to theming in drupal, so forgive me if this is a basic question. I have a taxonomy ...
2
votes
0answers
20 views

How to override a 'group' of pages using Views

I have a hierarchical taxonomy-based website structure, and I want to use Views to override the taxonomy term pages across each level. For example, if the structure was such (using taxonomy terms): - ...
2
votes
0answers
29 views

A view with research limited to a category (taxonomy)

I've a taxonomy which forms categories and subcategories. For each node, one of these category terms (vocabulary: categories) should be choosen, as well as other terms like "intelligent", "stupid", "...
2
votes
0answers
197 views

How can I force Drupal to load all taxonomy terms?

On a site that heavily uses Drupal core's taxonomy, we are encountering serious problems when editing content: Already entered taxonomy terms are not properly loaded into the node editing form; fields ...
2
votes
0answers
61 views

Per node contact form, recipient from taxonomy

I'm attempting to build a conditional recipient contact form on D7 and I'm running into a few issues. Here are my requirements. I have a Content Type called "Dataset", which has a Term reference ...
2
votes
0answers
1k views

hierarchical select based in taxonomy for webform

I have used the Simple hierarchical select and hierarchical select module long time ago, but now I need that functionality for a webform, I have a list of taxonomy terms with all the states and cities ...
2
votes
0answers
182 views

Migrate: createStub() method not being invoked

I'm trying to use Migrate to import some stuff from a database into terms on a site. The terms might be hierarchal, so I'm trying to create stubs for the possible parents. However, my createStub() ...
2
votes
0answers
126 views

Create a views block which shows terms from a specific taxonomy vocabulary added to the node

If you have a taxonomy called "How to get there" and a restaurant node. When you edit that restaurant node you can select what travel methods you can arrive at that restaurant using. We want to ...
2
votes
0answers
91 views

Taxonomy Terms - Views Services

I have created a view of type service that fetches Taxonomy terms, response as following : { data: [ { taxonomy_term_data_name: "Child Term", tid: "6", parent_id: "37", ...
2
votes
0answers
186 views

How can I order the rendered output of a term reference field?

I have a simple term reference displaying on a node, the term items are weighted accordingly, but they are not rendering in order according to weight. I'm not sure where else I can check to discover ...
2
votes
0answers
80 views

Defining the relationship between multiple term names in contextual filter

Content managers are supplying a comma separated list of taxonomy terms (apple,orange,banana) for a contextual filter (using Insert View). We've got the patch from https://drupal.org/comment/7589873#...
2
votes
0answers
127 views

Panels page 'Taxonomy term template' localized term doesn't translate

When enabling the Taxonomy term template on a vocabulary that has been set to 'Localize', I translate the term, but then viewing the term only displays in the original language. Switching language has ...
2
votes
0answers
61 views

Tags on one line

Can somebody walk me through how to get my tags to appear on one line instead of like a list? I could use a step-by-step list on how to change this. Thanks!
2
votes
0answers
142 views

pass taxonomy term value to content type

on view page there would be a 2 level taxonomy term listed as menu. If i select any leaf taxonomy term for e.g (mobile -> mobile accessories) whereas mobile accessories is the leaf taxonomy term. ...
2
votes
0answers
490 views

Display Empty taxonomy terms using views

Hi I am displaying my taxonomy terms using views having a reverse node relationship added, I am able to display the taxonomy terms having nodes associated with it, but I am not able to display the ...
2
votes
0answers
58 views

Link taxonomy terms to view filtered on term?

I am trying to do something that is probably quite common but I'm not sure where to start. I have a view of content types with several taxonomy fields. There are exposed filters for users to filter ...
2
votes
0answers
796 views

Is there a way to include taxonomy terms and nodes in a search?

I'm trying to make the search for my site gather results based on nodes and taxonomy terms. To give an example of what I'm trying to do, say that I have content nodes set up for my products and have ...
2
votes
0answers
246 views

Views Table - Show Taxonomy Term with Specific Depth

I currently have a view that show as table with a list of stores and information about the store (address, phone number, etc.). Each store is a node that also has a field containing a taxonomy term ...
2
votes
0answers
236 views

how to add existing taxonomy in custom form

I have a dependent drop down created using taxonomy and hierarchical select in Drupal 6. I want to add this in a custom form. Is this possible? and please help me if we can add.. Thanks in advance
2
votes
0answers
150 views

Why is the header missing from a taxonomy view?

I have two views the first was created with no page or block and all defaults for "show" were kept. I have a header on that view and it shows fine. The other view was created with no page or block ...
2
votes
0answers
171 views

Mapping delimited text field to taxonomy field in Migrate

I have a migration from an external (non-Drupal) DB which is currently working correctly. I am trying to add a field from the external DB which contains a delimited list of terms. I have set up the ...
2
votes
0answers
1k views

Can someone clarify how “taxonomy term ID from URL” works?

I recently set up a View block that displays node titles that share the taxonomy terms (Tag vocabulary) of the node on which the block is displayed. I was unsure how to do this myself, so I found a ...
2
votes
0answers
126 views

hook_cron() doesn't get any value from taxonomy_get_tree()

I am using the following code, but it doesn't work. function mymodule_cron() { // ... _update_user_categories($uid); // ... } function _update_user_categories($uid) { $...
2
votes
0answers
54 views

node shows all taxonomy terms with images (the not matching are greyed)

I need the node to show all terms of the taxonomy 'months' (not only the matching ones) with only the matching ones in evidence, i.e. not greyed. I can imagine I can define a couple of image fields ...