Manchester Meetup: Thursday, February 9th

Events happening in the community are now at Drupal community events on www.drupal.org.
miche's picture
Start: 
2012-02-09 05:30 - 08:00 America/New_York
Organizers: 
Event type: 
User group meeting

Next Meeting - NEW TIME

Thursday, February 9th, 5:30pm to 8:00pm @ ABI Innovation Hub
33 South Commercial Street ° Manchester, NH 03101
Directions: http://himer.us/abihub
Website: http://www.abihub.org/

Signup!

Please use the built in sign-up functionality so we know how many people to expect.

Topics/Presentations

We'd like to see everyone come prepared (even just mentally) to either pose a question/issue they've ran across in the past month, or something cool/amazing they've discovered in the past month. There are plenty of questions out there, so let's make sure we know what they are so we can get them all answered at this month's meetup!!

Dinner & Drinks

After each meetup, we depart from the "structured" environment, and continue our discussions over beers and/or food. We usually go to Pochito's Mexican Restaurant.

Other possible locations include: Murphy's Tap Room, Strange Brew, or Milly's Tavern.

We look forward to seeing you all there!!

Comments

Awesome! I'll be there with

perignon's picture

Awesome! I'll be there with bells on...

Timing couldn't be better for

rggoode's picture

Timing couldn't be better for me. I'm working on a re-do of my own website and I've been banging my head against the wall on developing a decent gallery view for the portfolio section.

All the D7 modules for galleries seem to be focused on presenting single nodes with multiple images, and I'm looking for a way to add images as nodes with specific content for detail views.

I gotta learn how to program... :-(

Roger

_________________

Art has gone to the dogs
GoodeGallery.com

Interesting I just published

perignon's picture

Interesting I just published a site that has a small gallery per node/content.... I also strapped it to lightbox2

See here:
http://www.dontrahanacademyofgolf.com/old-south-golf-links/don-trahan/241

I did this with Views and Panels...

The galley is actually a content pane by itself. The only specialized image module I used is the lightbox2 module. I did the rest with views and panels.

Some options

damienmckenna's picture

Views_Slideshow has lots of options for building slideshows/carousels and is the one we switched to using when we got tired of jCarousel.

If you want lightboxes you should try Media_Colorbox, but that's presuming you're using the Media module.

I second views_slideshow.

perignon's picture

I second views_slideshow. Cool and handy/dandy module for views. I used it on that site linked above to create "testimonials".

Views Slideshow

ppatterson-edc's picture

I have another need for Views Slideshow - I'm working on a baseball site and want to provide the team leaders in a few stat categories - HR, RBI, SB, etc. I was hoping to create a Views Slideshow that revealed the top players in each category. I enabled a module called Views Field View, and created a view that pulled the top entry in each category - then tried to create a 4th view that pulled in these stats as fields using the module.

It isn't working...but I was wondering if anyone knew of a different way to accomplish this?

Catch me on chat. I can show

perignon's picture

Catch me on chat. I can show you how to do that.

So you write the view to pull in the data about the players. You sort it descending and only allow one per query (this gives you the top person). Then you can just use Views_slideshow as the Format. You can then create a block if you like of the data and put it all over the place.

Recording from 1/12/2012

ppatterson-edc's picture

For anyone interested in Brady's presentation on GIT from the last meetup (@Perignon), here you go:

http://edc.adobeconnect.com/p4q6u38cech/

I'll have the room open for us again at 5:15pm - http://edc.adobeconnect.com/drupalnh

IDE recommendations?

rggoode's picture

If there's time and deemed appropriate, how about a brief discussion of IDE's (Integrated Development Environments)?

It's a brand new subject to me, and maybe beyond me as I'm not a programmer. But I want to learn, and an IDE may be a good tool to start using toward that end?

Roger

_________________

Art has gone to the dogs
GoodeGallery.com

Sure!

Hey, I heard that Pochito's

rggoode's picture

Hey, I heard that Pochito's closed... Is that right? Website is down for non-payment, too. :-(

Roger

_________________

Art has gone to the dogs
GoodeGallery.com

Say it isn't so.... I was

perignon's picture

Say it isn't so.... I was looking forward to that...

Well this person just updated

perignon's picture

Well this person just updated their blog saying it's closed.

http://cleanplatenh.wordpress.com/2011/03/18/pochitos-cp-takes-a-latin-l...

Please don't shoot the

rggoode's picture

Please don't shoot the messenger. :-(

Roger

_________________

Art has gone to the dogs
GoodeGallery.com

LIVE

D7 Gallery Options

rggoode's picture

I'm still at work trying to develop a customized gallery/portfolio for my site. This isn't so much a question, as it is a brief documentation of my journey trying to find the "sweet spot" for a professional D7 portfolio. It's still a work in progress. I'm mostly trying to build something that is flexible in the ways it can be styled and viewed, and is designed for growth, so I don't have to completely rebuild when I update it.

I'm still not even completely sure of the exact final spec I'm aiming for. It's kind of a "I'll know it when I see it." Given our recent discussion (Thank you Michelle), I thought by documenting my "research" here, I might help someone else trying to crack the same nut.

On my current sites, I took the quickest approach I could find in order to get something functional up with the modules that were available for D7 at the time (remember, I'm not a coder, so I'm taking the approach of an average Site Builder, working with existing modules and customizing them to my use).

On my Proper Pup Studio site, (currently) I'd used the Gallery Formatter module. Which does a nice job of presentation and showing off the work. But isn't really flexible enough for how I'd like to include click-throughs to individual nodes with info about each sample image. The module requires a single node with an image field with unlimited entries to put all the category images on one node.

On my Goode Gallery, I tried the Media Gallery module , which got a little closer to what I wanted--with descriptive views of each painting available. It uses the same model of single nodes per category with multiple images added to each node. But by using the Media field for the images, I was able to add descriptive fields to the Image Entity, and display the details that way.

The Media Gallery model is good, but still not as flexible in terms of what I want to do. And I discovered that the current release of Media Gallery isn't compatible with the newer Media 2.x build, so it's depending on a version that isn't going to see any feature updates, and still isn't flexible enough.

Ideally, I want to have something that starts out like the Photo Galleries with Views Attach demo by Jeff Eaton on the Lullabot website. That demo was the basis for the Views Gallery module. It's much like what we built at our recent meetup, with some nice feature built in by way to the Views Attach module and Node References. So the net result is a Gallery View of thumbnails that link to details Nodes (or a slideshow presentation with one of the Lightbox modules). But it also has a nice "Add image to gallery button that automatically creates a new image node and links it back into the selected gallery"

The only problem is that that module hasn't been updated to D7 yet. There's a port in progress, but it's not complete and the dev version is wonky. However, I did find a D7 Gallery Feature based on Jeff Eaton's model by Geoff Hankerson. It's a lot closer to what I'd used in D6, but still not quite perfect.

So now I'm playing with that Feature to deconstruct it and rebuild it myself as a learning experience. And then i'm going to try to customize it to make it my own and make it shine.

I'm also looking at the Views Galleriffic module as a possible alternative, or to use in a mashup with the results of my experimenting.

When I finally get it where I want, I'll post more information here, or share what I've learned at the next meetup.

Roger

_________________

Art has gone to the dogs
GoodeGallery.com

Node Gallery D7 is in the works (without a delivery time frame)

Bob Newby's picture

Roger,

I have had very good results using D6's Node Gallery module (http://drupal.org/project/node_gallery).

With its architecture, you get 2 new content types -- Gallery and Gallery Image -- with are associated via node referencing. By default, each (privileged) user can create her own Galleries (nodes). She can then add Gallery Images (nodes) to any Gallery. Each Gallery provides features to upload new Gallery Images; to sort and edit its Gallery Image nodes; and to view them as a slideshow.

One gets the benefits of the containers and what they contain all being nodes. One of the benefits is being able to create views (including views slideshows) comprised of Galleries and/or Gallery Images.

The issues thread regarding Node Gallery's D7 status is at http://drupal.org/node/1087730.

Bob

I'm getting close with my

rggoode's picture

I'm getting close with my efforts here and will post soon to try to describe what I've done. Node Gallery sounds very familiar to Views gallery, in that it also has the two content types -- Gallery and Gallery Image. With the use of Node reference and Entity Views attach (EVA module). I'm able to build multiple Galleries fairly easily and they are all related by the Gallery content type.

Roger

_________________

Art has gone to the dogs
GoodeGallery.com

OK… So I now have a gallery

rggoode's picture

OK… So I now have a gallery working (still locally) based on the D6 Views Gallery/Jeff Eaton example http://drupal.org/project/views_gallery. There are still a couple of things I’d like to work out, but the basic model is set. Here is a rough outline on how I did it:

The method requires two new content types:
- "Portfolio Gallery" which is basically a container with only two fields: title and description.

  • "Portfolio Image" which has a title, image, description, and—importantly—a node reference field set to "reference from URL" and referencing the Portfolio Gallery Content Type

These galleries are being used for a professional portfolio, so I also have some optional fields in the portfolio_image content type for things like "tools used" and a Link field to link to sites represented by the image. I've also added a boolean check box field to indicate if an image node is the key image for the poprtfolio_gallery.

I then have two Views setup to create my galleries. One is for the Portfolio list of all galleries, to show a teaser list of each of the galleries on the site. The second is the proper Gallery View, which knocks together the portfolio_image content with the poprtfolio_gallery containers and outputs them as pages of thumbnails.

The Portfolio Galleries View is set up like this:
(note…when it's done, the View won't appear to be showing anything because the Contextual Filter for the Entity Content View will be set to Hide View. Leave it set to display while you're building it or you'll freak out)

A PAGE View with these settings:

FORMAT
Format: Grid (use whatever you like)
Show: Fields

FIELDS
Content: image (this is the image field from the portfolio_image content type)
Content: Title

FILTER CRITERIA:
Content: Published (Yes)
Content: Type (= Portfolio Image)

RELATIONSHIPS
Content: Portfolio Gallery (Identifier: field_portfolio_gallery)

This is the important part...
An Entity Content View with these settings: (this is using the EVA module to attach views)

FORMAT
Format: Grid (use whatever you like)
Show: Fields

FIELDS
Content: image (this is the image field from the portfolio_image content type)
Content: Title

FILTER CRITERIA:
Content: Published (Yes)
Content: Type (= Portfolio Image)

ENTITY CONTENT SETTINGS
Entity type: Node
Bundles: Portfolio Gallery
Arguments: id (Use the ID of the entity the view is attached to )
Show title: No

CONTEXTUAL FILTERS
Content: Portfolio Gallery (Identifier: field_portfolio_gallery)
- Hide view
- check "specify validation criteria", Validator: Content, select Portfolio Gallery, Filter value format : Node ID

RELATIONSHIPS
Content: Portfolio Gallery (Identifier: field_portfolio_gallery), check require this relationship

The Portfolio(s) LIST View is set up like this:
Just a PAGE View with these settings:
(I'm setting up this page as a single column with a key image, a gallery title, and description. Some of these settings would be changed if you're presenting it differently)

FORMAT
Format: Unformatted List (use whatever you like)
Show: Fields

FIELDS
Content: Portfolio Gallery (Exclude from view, but place FIRST so it's token can be used to link to the GALLERY node rather than the IMAGE node)
Content: image (REWRITE RESULTS: Output this field as a link, Link path: portfolio/[field_portfolio_gallery] )
Content: Portfolio Gallery (optional, for a title link to the gallery)
Content: Description (also optional… Set Relationship to field_portfolio_gallery, Operator Is one of: Portfolio Gallery)

FILTER CRITERIA:
Content: Published (Yes)
Content: (field) Portfolio Key Image (= Yes)
Content: Type (= Portfolio Gallery) > Set Relationship to field_portfolio_gallery, Operator Is one of: Portfolio Gallery)

PAGE SETTINGS
Path: /portfolio
Menu: Normal: Portfolio

RELATIONSHIPS
Content: Portfolio Gallery (Identifier: field_portfolio_gallery), check require this relationship

That's about it. It seems to work. But as a disclaimer, I should note that a lot of this was trial and error, trying to deconstruct other examples that weren't quite working. So there may be some settings that are redundant or unnecessary. I'm not expert enough with Arguments and Relationships to know exactly what to set.

What remains for me is un-related to any of the examples I followed, but something I'd like to incorporate… I'm hoping to find a way to provide a "Previous" and "Next" Link on each PORTFOLIO IMAGE node so that when someone clicks "View details…" for an image from the gallery page, they can easily navigate to the next image IN THAT CATEGORY, rather than going back to the gallery page.

Any suggestions on how I might do that would be much appreciated.

I'm still working on additional revisions to my site, so the results of my gallery work can't be shown yet. I'll post here as soon as I have it up so you can see what I've done.

Roger

_________________

Art has gone to the dogs
GoodeGallery.com

One very important omission...

rggoode's picture

I forgot to note one important element that makes this work so nicely--at least in terms of building a gallery.

In the Portfolio Image Content Type, go to the settings for the Node reference field and change the settings as follows:

Under REFERENCEABLE NODE LINKS, check "Create link on the full view", and for the Link Title put in something like "Add portfolio sample". Then for Return path select "the referenced node".

Then on your gallery page, you can just click the link to create a new Portfolio Image node that will automatically become part of the selected gallery, and when you're done, you'll bounce back to the gallery to add another.

Roger

_________________

Art has gone to the dogs
GoodeGallery.com

Roger, noting that you are on

Bob Newby's picture

Roger, noting that you are on D6, have you actually taken Node Gallery for a spin? I believe it delivers what you have implemented by trial-and-error, plus more.

Bob

New Hampshire

Group categories

Regional Audience

Group notifications

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