Steps:

  1. Go to the "admin > content managment > taxonomy > list of terms"
  2. Change the order of the items in the terms list
  3. Click in "Save" button

Result: The values of classname for the terms will be lost.

Solution: In "taxonomy_classes.module" modify the function "taxonomy_classes_taxonomy".

function taxonomy_classes_taxonomy($op, $type, $data = NULL) {
  $id = $type == 'vocabulary' ? $data['vid'] : $data['tid'];
  if(isset($data['classnames'])) {
    _taxonomy_classes_save($id, $type, $data['classnames']);
  }
}

Best regards, Dimas.

Comments

nico heulsen’s picture

Status: Needs review » Closed (fixed)

Hi Dimas,

Thx for the feedback and the solution!
Commited the new code

Grtz
Nico