I have a vocabulary with approximately 900 terms with 3 tiers. (regions/counties/cities and villages)When I create the selection field in User Administration/Profiles, and select the vocabulary, the dashes are noted in the greyed-out box about. However, when I view it as a new user (in another browser) to register, it is a flat list (in the same order as the tiered taxonomy), with no indent. So in admin user, I go back into this vocabulary field in Profile, it is flat, with no indents or dashes...What am I doing wrong?

Thanks for your time!
Dave
(www.OhioAvenues.com)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

OhioDave’s picture

Ive asked around through other channels...and still not having any luck. I have included screen shots to display what I am trying to describe....

lotek’s picture

Same problem here. If you never need flat list in profile taxonomy, you can try my quick 'n' dirty fix:
in profile_taxonomy.inc, from line 68 change

      if ($hierarchy) {
        $terms['values'][] = str_repeat('- ', $leaf->depth) . $leaf->name;
      }
      else {
        $terms['values'][] = $leaf->name;
      }

to

     // if ($hierarchy) {
        $terms['values'][] = str_repeat('- ', $leaf->depth) . $leaf->name;
     // }
     // else {
     //  $terms['values'][] = $leaf->name;
     //}
OhioDave’s picture

Should we repost this as a bug instead of support request?

gnindl’s picture

Status: Active » Closed (duplicate)