Questions tagged [taxonomy-terms]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
1k views

How to display tags inline?

How can I display tags below an article inline? I have tried using firebug to no avail. I am using Drupal 7 and the zen sub theme.
0
votes
1answer
310 views

How to modify block menu path

My goal is to have a menu block on my blog pages with a list of the terms used in the blog posts. So far I have set up a node view for the blog postings. And a term view called topics to display the ...
2
votes
1answer
261 views

Wrong order of entities, how to change that?

I've created my first module which shows a list with nodes containing a certain term (like a taxonomy list, like usual), but the entities gets listed in an unknown way - I'm new to this and don't know ...
1
vote
1answer
411 views

How to hide the title field in create content (Drupal 6)?

I have a type of content that I won't use the page title, I will have to use a taxonomy field (the titles will repeat), because it's a restaurant list with auto-complete. Can I do it with hooks or ...
0
votes
2answers
228 views

How do I set a tag via cookie and filter content on the whole site based on that tag?

I have a site which has different tags for different cities. Most of the content on the site is either for all cities or a set of specific cities. I am planning to have all the content pieces taggable ...
0
votes
1answer
245 views

Deleting all terms from a vocabulary after timeout

When I tried to delete a vocabulary, Drupal timed out and I don't think any or all of the terms in the vocabulary were deleted. How can I delete them manually in the database?
1
vote
1answer
775 views

Custom taxonomy page that lists content

In Drupal 7, I'm trying to create a page that shows all terms in a specific taxonomy, along with node content that uses the taxonomoy. What I'm hoping to do is create what's essentially a grid of ...
4
votes
2answers
389 views

Any suggestions for Taxonomy scaling and performance with 1073 terms?

I manage a website where the owner categorizes everything via taxonomy. However, he's extremely detailed when it comes to categorizing things. He has 1073 taxonomy terms, about 1000 of which are in ...
1
vote
2answers
658 views

Wizard for generating a dynamic legal document

I have been tasked with investigating options for developing a Drupal module that would serve as a Wizard for helping users create a customized legal-agreement template based on a series of interview ...
1
vote
0answers
196 views

Can I load a Node and its Term details using one function?

I'm trying to load a set of nodes in my module but the dump of the node array only shows the Term's as Id numbers. It appears I then have to use Term_load to get the titles and fields from these terms....
3
votes
2answers
1k views

How can I list all the terms of a given vocabulary using Views?

I just need to list all the terms of the "Colors" vocabulary using the Drupal 7 version of Views. I thought it was simple to do it, but I can't find a way to get it. I can't use contextual filters.
0
votes
1answer
651 views

Dynamic view listing nodes in proximity dependent on taxonomy term in url - which is not attached to the node itself

I think what I want is quite complex, but maybe someone can help me with some basics of it. In d7 I have a content type and each node uses address field and via geocoder creates the geo data for that ...
1
vote
0answers
252 views

List Taxonomy terms in search result

By default search results show title, snippet, author details, date and content type in the listing so the next logical step would be what tags / categories... However I have been totally unable to ...
1
vote
0answers
152 views

Get views pager to page by taxonomy term and not content type?

I have a content type with a taxonomy term with a field. I have a view filtering by the taxonomy term and pager. The view style is set to table with the grouping field set to the taxonomy term. My ...
0
votes
1answer
168 views

Is there a Drupal 6 equivalent to template_preprocess_taxonomy_term()?

Is there a Drupal 6 equivalent to the method template_preprocess_taxonomy_term()? I'm looking to add some code that will provide some additional links on my taxonomy term pages and want to keep the ...
0
votes
1answer
134 views

Link pages from a child term to it's parent

I have really two questions in one. I have pathauto make a page for all my terms. I have something like this: USA -NY -NJ -LA UK -London -Hogwarts -Manchester France -Paris ... Anyway pathauto made ...
2
votes
0answers
240 views

How can I display parent and child terms from a CCK Taxonomy field in Pathauto?

How can I have two (or more) different taxonomy vocabularies appear in my Pathauto settings at the same time? For example, if I want to use the 'location' vocabulary and the 'accommodation type' ...
1
vote
3answers
143 views

Force new articles to have tags (term + subterm) associated with it

previous question I have a site where articles need to be classified as, apple, banana, cranberry, etc.... Each category has sub-cats like apple - 1, apple - 2, ... banana - 1, banana - 2 ... Now ...
5
votes
2answers
2k views

Autocomplete term widget (tagging)

I was using the "autocomplete term widget (tagging)" as widget type for a term reference field. I found out that the when I set the maximum number of allowed values to more than one (i.e multiple ...
2
votes
0answers
356 views

How do I set up the active primary menu based on taxonomy?

I have set up a blog using a custom Article content type and a page View with a row style of fields. I have set up taxonomy terms to label my Article content types as I make them. In my View I have ...
1
vote
1answer
1k views

Does Page Manager redirect work on alias paths?

I am attempting to do a simple custom page redirect using page manager following the example from NodeOne.se videos on Page Manager. While the video works, my attempt does not and I can't see the ...
1
vote
1answer
981 views

Permissions / Roles / Taxonomy / Workbench — combination?

Hello dear Drupal enthusiasts, I'd like to hear your opinion - how to organize mentioned modules/functionality to achieve nice permission granularity. After user is logged in we have a list of his e-...
2
votes
1answer
659 views

How do I direct link a view to a taxonomy menu?

I have created a vocabulary with over a hundred terms on three levels (parent/child/child) and used Taxonomy Menu to create a custom menu. Selecting a menu item brings up a default menu page with ...
2
votes
3answers
3k views

Get related node by taxonomy term?

Let's say I have two content types: Page and News. Both of them have a field called Tags which is taxonomy term. Let's say I tag a page and a news item with the term 'celebration'. When a user ...
0
votes
1answer
2k views

How to set a rule that sets a term reference field value and text area value in a commerce order entity

This relates to a post I made here How do I copy a "purchase limit" field from a product to a product line item Situation: We are building a commerce website using Drupal 7 and Drupal ...
1
vote
1answer
192 views

How can I place a new textfield in the tab vocabularies in a content type?

I want to place a new text field in the "Vocabularies" field set of a node; the text field is not tag. I am using the Vertical Tabs module, and my fields in the content type are in group. The ...
1
vote
3answers
619 views

Hierarchical menu of all Terms of a Vocabulary & Contents of the Terms

I have Category vocabulary under which there are several terms, i.e Tabs, Smartphones, Cellphones, Umbrellas. There may me one or more contents of custom type under each of these terms (A content ...
1
vote
1answer
969 views

Permission creating taxonomy terms per vocabulary

Is there a module that will allow me to allow a specific role to create/edit/delete terms in a specific vocabulary without allowing them to edit the taxonomy itself or terms on another vocabulary? ...
1
vote
1answer
2k views

Set default value for taxonomy list using form_alter

how do I Set default value for taxonomy list? I have tried altering form with the following line included, but it didn't work: $form['taxonomy'][3]['#default_value'] = 6; 3 is my VOC ID and 6 TID ...
1
vote
1answer
2k views

Mass update of taxonomy term references

I need to update the taxonomy field on nodes with the term from a new vocabulary. I could accomplish this easily in Drupal 6, and haven't been able to find a method in Drupal 7. I am looking for a UI ...
0
votes
3answers
3k views

hide if on front page and on taxonomy pages

i wondering how i can hide $title if its on the front page and on taxonomy pages, I only want it to show on nodes. here my code, I dont know if im close or not =) function bartik_process_html($...
1
vote
2answers
3k views

Querying taxonomy terms with the level hierarchy

I am currently struggling against a problem I can't fix, probably because of my scarce knowledge of the Drupal API. I have a taxonomy tree that looks like the following one: SHOE BRANDS 143 ...
1
vote
1answer
334 views

Taxonomy Menu Associated with a single content type

I have a single Taxonomy used for all Content Types in the site. I have one Content Type called "Books" for which I'd like to build a Taxonomy Menu for just this content type. As I looked through ...
0
votes
1answer
82 views

taxonomy terms that get URL aliases and then end up being ugly google sitelinks

Including tags of course. I used some tags like that I thought would be running in the background to use them as view filters, but then end up being google sitelinks such as 'subject-teaser-list'. ...
2
votes
3answers
1k views

How do I override the default sorting when filtering a view by Taxonomy terms?

My current settings … In Drupal 6, I currently have a view that filters and sorts nodes by the following criteria: The taxonomy term is very general, and nodes can either be assigned to "Referenzen" ...
2
votes
0answers
305 views

How to avoid taxonomy terms other than current language terms in taxonomy menu?

Vocabulary settings: Per language terms. Different terms will be allowed for each language and they can be translated. I translate one term to other language (different than default), but this term ...
0
votes
1answer
243 views

Drupal Taxonomy in D6 vs D7

I'm building two very big sites using Drupal. Both will have plenty of vocabularies with up to 6-7 levels deep like this: State->District->City->Area->office name->department The taxonomy will have ...
2
votes
0answers
884 views

Multilanguage Taxonomy

I am getting lost with the multilanguage Taxonomy management in drupal 7. The english version of the site is build so that a product is taged with a unique term, that may belong to a parent term. So ...
0
votes
1answer
109 views

Drupal taxonomy problem

I had setup my new articles directory site in Drupal 6.2 2-3 months back. You can see the article directory taxonomy in the menu block in the left side bar. There are 26 categories in total like "...
0
votes
1answer
258 views

Hierarchy and taxonomies (like in the animal taxonomies)

Trying to figure out how to implement hierarchical taxonomies. For example, take animals. Animals belong to a family, a genus and a species. family being the least specific, and species being the most ...
0
votes
1answer
142 views

How do I set up user's “Favorite Tags” and “Ignored Tags” tag subscriptions?

This website shows user-specific "Favorite Tags" and "Ignored Tags" listing tags the user subscribed to. Based on these subscription lists, content is being sorted in "views". How do I let the users ...
-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 ...
1
vote
1answer
199 views

View of nodes with no taxonomy term

How can I create a view of nodes that are not tagged with any taxonomy term? Note, terms will be added in time and I wont be able to update the view each time. Thanks
0
votes
1answer
92 views

Add a term under a vocabulary when a content of particulr type is added

I have a vocab like 'category'. I want to add terms under this dynamically i.e when a content of type 'category_list' is added a term with this content title should be added under the 'category' vocab....
3
votes
1answer
1k views

Taxonomy term as node css class

Kind of similar to my previous question, but apparently doesn't work the same way: is there an easy way to use a taxonomy term or a token as node css class to theme different pages?
0
votes
1answer
84 views

How can I customize the way my taxonomy terms are displaying?

I have been searching all over the place for some help on this. I currently have my tags displaying for each node like such: tag,tag,tag Now I would like them to display a little cleaner and more ...
0
votes
2answers
143 views

Multi-language site

I'd like to build a multilingual site and I am quite new to drupal, I was wondering if I could proceed in the following way: I could tag my entries with the world "english" and "italian", then I ...
0
votes
1answer
254 views

Taxonomy and Views - Creating a view based off of user selection

Been working with Drupal for a few weeks, and I have a question: I have a large amount of content for content type X. I have built a view that returns certain fields from X nodes. Is there a way to ...
0
votes
1answer
515 views

How to loop through a taxonomy vocabulary to find the top category in a nested tree?

What I have so far is this $term=therm_id_that_I_already_have; $parent = db_result(db_query("SELECT h.parent FROM {term_data} d INNER JOIN {term_hierarchy} h ON d.tid = h.tid WHERE d.tid = $term")); ...
2
votes
0answers
767 views

Programmatically delete term from taxonomy term from all referring term reference fields

I would like to be able to programmatically delete a taxonomy term from all instances of term reference field that targets that terms vocabulary. My reason for this is that I believe I've encountered ...