I just gave this module a whirl by creating a custom content type that allowed an FLV filefield upload, and the resulting node displays fine. Very slick. However, when I try to do the same from a view - using either a page or field display - I get no display at all. When using a field display, I was careful to select the "as Flash video" formatter (as I had in the CCK display settings). However, nothing is output. The generated HTML:

+++


Video file:

+++

Am I missing a necessary config step here, or is there a view integration problem?

Comments

jerry’s picture

Oops, should have wrapped that HTML. Lemme try that again:

      <div class="view-content">
        <div class="views-row-1 views-row-odd views-row-first views-row-last">
      
  <div class="views-field-field-video-file-fid">
          <label class="views-label-field-video-file-fid">
        Video file:
      </label>
                <span class="field-content"></span>
  </div>
  </div>
    </div>
Crell’s picture

Make sure you're using the very latest version of filefield and cck. We ran into some nasty bugs there recently in the way cck/filefield handle single-value data in a multi-value formatter. It should be fixed in the most recent versions of all three modules, in theory.

jerry’s picture

I was, in fact, using the latest released (i.e. non-dev) versions of both modules. Should that be good enough, or do I need to use the dev versions?

Crell’s picture

Status: Active » Fixed

It looks like it's not in the stable CCK yet. Here's the issue: #413792: Multi-value formatters + single-value record + Views = Fail

The fix should be in the 2.3 release of CCK, but that's not released yet, so you'll need to use the dev for now. Sorry. :-(

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

jerry’s picture

Just wanted to add that using CCK 2.3, it does indeed work fine. This module is going to be very handy for me; thanks again.