Again, sorry but i cannot manage to output taxonomy (or category) $terms for my nodes..

pasting

print $terms

in my contemplate does not do the job...am i missing something? :o

Thank you

Comments

redmonk’s picture

There is a variable already provided in contemplate: $taxonomy (array). Look near the end of the list of terms that can be clicked to insert them into your template.

jrglasgow’s picture

You need to use variables that are available to contemplate, look on 'admin/content/templates/{node}' for each section you can create a template there is a section of variables, i.e. 'teaser variables', this has a list of available variables from a sample node. you should see an array $node->taxonomy. See my answer to #183106: insert taxonomy links as usual ... or #188355: Taxonomy Term varies depending on the node

jrglasgow’s picture

Status: Active » Postponed (maintainer needs more info)

Does this solve your problem?

marcoBauli’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

wow, i'm sorry i didn't follow up properly with this... something i was dealing long time ago, actually i guess working directly in PHPTemplate is a much better solution, with all respect to Contemplate that is a good fellow while learning it ;)

good to know for further reference BTW, many thanks guys for chipping in!