I just downloaded it, when i tried to enable it, i got this error:
Parse error: syntax error, unexpected '}' in /.../content_taxonomy/content_taxonomy.module on line 119

Comments

jvalletto’s picture

Status: Active » Reviewed & tested by the community

Simple enough to fix.

On line 118 find ( minus <? php ?> tags of course):
$additions[$field['field_name']][$field['tid']] = content_taxonomy_terms_by_field($node, $field['vid'], $field['tid'], $field['depth'])

And add a ; after $field['depth']) .

Or you can copy that entire line and replace it with ( minus <? php ?> tags of course):
$additions[$field['field_name']][$field['tid']] = content_taxonomy_terms_by_field($node, $field['vid'], $field['tid'], $field['depth']);

Should work just fine.

mh86’s picture

Status: Reviewed & tested by the community » Fixed

sorry for this syntax error!
I fixed and committed it!
Thanks for your help

hectorplus’s picture

Thank you. I got it working now. I just had to ad ";" as instructed above.

Anonymous’s picture

Status: Fixed » Closed (fixed)