in views-view-grid.preprocess.inc must be

    if (!empty($variables['row_classes'][$delta])) {
      $variables['row_attributes_array'][$delta]['class'] = explode(' ', $variables['row_classes'][$delta]);
    }

like "column_classes", not "classes_array"

CommentFileSizeAuthor
#3 fail.png136.33 KBPunk_UnDeaD
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fubhy’s picture

Status: Active » Postponed (maintainer needs more info)

Hmm. Can you rephrase? I don't understand your post.

Punk_UnDeaD’s picture

-if (!empty($variables['classes_array'][$delta])) {
+if (!empty($variables['row_classes'][$delta])) {
-      $variables['row_attributes_array'][$delta]['class'] = explode(' ', $variables['classes_array'][$delta]);
+      $variables['row_attributes_array'][$delta]['class'] = explode(' ', $variables['row_classes'][$delta]);
    }

seems comment "/ / For some reason views puts row classes into the classes array." is no longer relevant

Punk_UnDeaD’s picture

FileSize
136.33 KB

screen whith fail

fail.png

msmithcti’s picture

Status: Postponed (maintainer needs more info) » Fixed

Fixed this in 8c5d400, thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.