Fine tuning views

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by jlane on May 20, 2009 at 3:57am

Okay so I have the views setup and everything looks perfect except the last row of images. It stacks them vertically. I would like it to stake the images horizontally within that row. I have it setup on the Fields Row Style and have inline checked for the image field. What seperator should be used to display these items one after another in this row? Any ideas would be great.

Examples of what Im talking about...

Currently:

Title:

Teaser:

Images:

Image 1
Image 2
Image 3

What I would like:

Title:

Teaser:

Images:

Image 1, Image 2, Image 3

Thanks,

I look forward to contributing to this community.

Comments

don't know if it's "the right" way..

Posted by lenadoppel on May 20, 2009 at 11:53am

what I did was
• I use only ONE image field that is set to accept multiple images

• then I added one line in the CSS of my theme:
.field-item {display: inline;}

You can see it here beneath the Date field: http://www.cat-x.at/projects/genusshotel-riegersburg.html

Hope that helps
Lena

Did I mention I was a newb

Posted by jlane on May 20, 2009 at 1:28pm

I forgot to mention I was a newb... but that worked great. I am just starting to get my feet wet with Drupal. I guess I need to learn a little more about CSS at this point. Thanks for your help! Do you have any recommendations on a good Drupal centric CSS education material?

Do not fear mistakes - There are none.

  • Miles Davis

I'm glad it worked out :)

Posted by lenadoppel on May 20, 2009 at 2:06pm

Sadly not,
I am still more or less "blindly fumbling" through Drupal CSS myself :))

But I can recommend some good CSS learning materials, at least for visual types: I don't learn very good from books and - mostly - I don't like to learn from websites :))
You will find some good Videos at lynda.com (the CSS and also the "Dreamweaver and CSS" ones are good even if you don't use Dreamweaver)
There are some CSS related Videos ("Starting with ZEN" f.e.) at the Drupal Videos podcast (actually a Video Cast, you will find it inside iTunes, I don't think it has a webpage, since it is a collection of different Drupal video cast sources)

Lena

Is Flex an option?

Posted by portablecow on June 17, 2009 at 4:36am

I'm a newb too, so take this with a grain of salt, but I've got a project right now that has Flex integrated with Drupal. It is so much easier to do layouts with Flex. You still use css but it is more styling centric. I use Flashdevelop and don't have any of the expensive tools for my flex development. AS3 is object-oriented and I found the language easy to learn since it shares many similarities with C++, C#, and Java. My website is mainly html but my node browser is flex. Openlaszlo is also a good option because you can compile to both DHTML or .swf if you have iphone aspirations. There are plenty of tutorials available for flex integration and I would be happy to show you my code (with the knowledge that it is early beta code so not very clean or organized)

I think you can do it by

Posted by majdi on July 22, 2009 at 9:42am

I think you can do it by playing with css and create custom views template.
This tutorial very useful
http://www.group42.ca/theming_views_2_the_basics

or
You can do 2 views in same page , one for all the information , and the other one for images blocks

Good luck

Drupal Colorado

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /