Create a tpl.php to override the views grid with 960.gs settings manageable by the Omega theme & theme settings.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | views-grid-fields.png | 282.47 KB | himerus |
Create a tpl.php to override the views grid with 960.gs settings manageable by the Omega theme & theme settings.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | views-grid-fields.png | 282.47 KB | himerus |
Comments
Comment #1
himerus commentedChanging my mind on this one for now as it's pretty not important
Comment #2
amitaibuMaybe this tpl can be used -- #780708: Add a Views row style override template . I use it a lot in my themes.
Comment #3
himerus commentedThis looks great... will test it out, and include it.
This is where I really wish themes could act EXACTLY the same as modules to then be able to manipulate these items using the Views UI rather than just documenting where to copy & make edits to those trying to theme a site that had no grasp of a tpl file. :(
Thanks @Amitaibu
Comment #4
himerus commentedCommitted with http://drupal.org/cvs?commit=458898
I played with a test view, and this seemed to work fine on 7.x as well.
Will be attached to next package release.
I do like the ability to do this on the field level, however, what I'd REALLY like to see is the ability for this to also work when selecting a grid style in views, and work on the row level. So that each result is cycled, and the table style is removed, adding in grid classes for div wrappers. (in this method the grid style really wouldn't be needed, but would also work for unformatted if the template was named accordingly)
Comment #5
himerus commentedAdding screenshot of my test version