When building a view with a CCK file field there is an additional "data" field available with the name and description of the file (and also an alt-text for images) in addition to the file itself.

Is it possible to get this in Panels also?
(As far as I know, only the file is available currently)

It would be very useful when building the node view to have the data available to put under the image as an image description, for example.

Comments

merlinofchaos’s picture

Project: Panels » Content Construction Kit (CCK)
Version: 6.x-3.x-dev » 6.x-2.x-dev
Component: Code » Panels Integration

Currently CCK handles giving that information to Panels.

markus_petrux’s picture

Project: Content Construction Kit (CCK) » FileField
Version: 6.x-2.x-dev » 6.x-3.x-dev
Component: Panels Integration » Code

CCK exposes the field to Panels, and allows you to choose a format. However, the data rendered depends on the field implementation and its own features.

quicksketch’s picture

FileField hands off its field data to... hah. Just kidding ;-)

I don't regularly use Panels so I'm not familiar with where this information is exposed to CCK. I'd be happy to review patches, though I don't anticipate writing this functionality myself.

quicksketch’s picture

Title: Expose field data » Expose field data to Panels
Status: Active » Postponed

Still no plans of implementing this. Anyone that can offer a patch, please move from postponed and I'd be happy to review.

quicksketch’s picture

Status: Postponed » Closed (fixed)

Please reopen if interested in adding this functionality through a provided patch.