Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Anyone a idea how i can use Clearing Feature of Foundation 3 with Views? I want to build a simple image gallery with Clearing.
http://foundation.zurb.com/docs/clearing.php
Comments
Comment #1
ishmael-sanchez CreditAttribution: ishmael-sanchez commentedHi neofelis1985,
You are gonna have to learn about using and implementing views templates. See http://api.drupal.org/api/views/theme!theme.inc/group/views_templates/7 and http://drupal.org/node/352970 (good background but for Views 2) but as stated in that post you will need to see
Comment #2
ishmael-sanchez CreditAttribution: ishmael-sanchez commented@neofelis1985 I don't know how far along you got with this but I wanted to get this working just as a proof of concept. I was able to get clearing working with 1 view and 1 template file.
View you can export as an example:
Some notes about the view it uses rewriting (see File: Path) and it uses the thumbnail image style and the source file as the larger image. It has a relationship to gain access to the files path and name
Template file:
Some notes about the template file, you can find out what the template name should be by going to the views UI under advanced, Theming click the information link check the style output names change the classes based on your use case.
Comment #3
alexander.sibert CreditAttribution: alexander.sibert commentedThank you. You use the file field? I use the image field.
Comment #4
chrisjlee CreditAttribution: chrisjlee commentedprobably would be easier to use semantic views module