By Roborobotus on
Hello,
is it possible to modify the layout of a view using contemplate? I'm using "Bonus: Grid View" View to display a 4x4 image gallery. I'd like to display the title of the node. By default the title shows up below the image and I'd like it to show up beside the image. How can I do it?
Thanks!
Comments
Hmmm maybe I didn't make
Hmmm maybe I didn't make mysefl clear. Here's an example. No 1 is what I have now. No 2 is what I'd like to accomplish:
http://www.picoodle.com/view.php?img=/4/2/8/f_examplem_69a4514.png&srv=i...
Anybody?
You can probably get away
You can probably get away with doing this with CSS, such as floating the image left e.g. .imgclass img {float:left;}
You can over ride the bonus grid view just like any other view, and mod the output any way you like.
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
Thank you for your reply.
Thank you for your reply. How can I override a view using contemplate? Whe I go to: 'Home › Administer › Content templates' I see a list of content types I can modify. The problem is there are no views on the list, only content types :(
This will clarify what I
This will clarify what I actually meant:
http://drupal.org/node/144725
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
Ok, so I just have to change
Ok, so I just have to change the way my bonus grid is rendered by playing around with theme_views_bonus_view_grid($view, $nodes, $type) function and template.php? I'll try it tomorrow then :) Thanks!