I was messing around with Views 3.0 Alpha 3 and noticed the classes were all messed up when using the 'unformatted' type in views. Instead of getting the usual classes:
views-row views-row-1 views-row-odd views-test views-row-first
I was getting on row 1:
A
row 2:
r
row 3:
r
Problem seemed to be in the 'zen_process' function imploding the 'classes_array' into the 'classes' var, while views 3 templates seem to expect the 'classes' var to be a multidimensional array. I solved the above just by commenting out the function for now. I realize Views 3 is still in Alpha so this is more a note for others having problems.
Comment | File | Size | Author |
---|---|---|---|
#2 | views3-clobber.patch | 719 bytes | JohnAlbin |
Comments
Comment #1
Jon Nunan CreditAttribution: Jon Nunan commentedHmmm... killing zen_process fixed the row classes issue, but the div wrapper lost its classes. Currently trying out:
and it seems to be working OK.
Comment #2
JohnAlbinThis sounds like a duplicate of #564068: Views classes are missing from $classes variable, but I think this is indeed Views 3-specific.
How about this?
Comment #3
JohnAlbinLet me know if I didn't fix it. :-)