This forum is for less technical discussions about the Drupal project, not for support questions.

Taxonomy: Show node's parent vocab name

I did a search for this subject but didn't seem to find anything that related to particular need...

I want to be able to pull back a node's parent vocab name for use in an xtemplate theme.

example:

if a node was assigned to:
recipes -> breakfast -> waffles and pancakes

I'd like to be able to pull back the text "recipes". Any ideas? I poked around the taxonomy.module and I clearly see how it is pulling back the taxonomy terms, but it less clear which function i should use to grab the vocab.

How to build hierarchy?

Good day, Drupal community!
I'm interested in implementing travel guide with drupal but for now dont know how it can be done right way.
For example i need to publish information about COUNTRIES, CITIES, RIVERS, HOTELS, THEATER e.t.c
Each HOTEL located in CITY. CITY located in COUNTRY.

I want to have next hierarchy

America
..|
..|--countries
..|.....|
..|.....|--country-USA.-.(page.about.USA.there)
..|.....|.....|
..|.....|.....|--cities
..|.....|.....|.....|
..|.....|.....|.....|--city-NY.-.(page.about.NY.there)
..|.....|.....|.....|.....|
..|.....|.....|.....|.....|--hotels
..|.....|.....|.....|.....|.....|
..|.....|.....|.....|.....|.....|--NY_hotel1.-.(page.about.hotel.there)
..|.....|.....|.....|.....|.....|--NY_hotel2.-.(page.about.hotel.there)
..|.....|.....|.....|.....|
..|.....|.....|.....|.....|--theaters
..|.....|.....|.....|...........|
..|.....|.....|.....|...........|--NY_theater1.-.(page.about.theater.there)
..|.....|.....|.....|...........|--NY_theater2.-.(page.about.theater.there)
..|.....|.....|.....|
..|.....|.....|.....|--city-SF.-.(page.about.SF.there)
..|.....|.....|...........|
..|.....|.....|...........|--hotels
..|.....|.....|.................|
..|.....|.....|.................|--SF_hotel1.-.(page.about.hotel.there)
..|.....|.....|.................|--SF_hotel2.-.(page.about.hotel.there)
..|.....|.....|
..|.....|.....|--rivers

gallery module for 4.3.0 ?

I'm looking to add a photo album module to my 4.3.2 install.
Did anyone make a coppermine version? or gallery for 4.3.0 or what's the best out there?

Thanks.

node_image + 4.4 + n00b = failure

Well it looks like I have it almost working, but when I upload an image, it only shows in that page after submission. When looking at the node, it's no where to be found.

So I grab a copy of gworks and poke through it figuring it must be a template thing (for some reason I thought this just allowed you to upload an image and added the img html tag automaticly.) And I do see references to image and gworks in the node parts of the them, but I am not a smart man, and I dont understand much.

newbie taxonomy question?

I have activated the taxonomy module, created a vocab with terms. But even when signed on as admin, I can find no way to assign associate a new or existing content node with a taxonomy element.

Can someone tell me how to do this?

Thx,

gr

How to change pages?

I wrote stories at book, but I don't how to change pages.
Can I use the instruction like as

or

?

Thanks.

Pages

Subscribe with RSS Subscribe to RSS - General discussion