Expose field data

lennart - November 9, 2009 - 10:36
Project:FileField
Version:6.x-3.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

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.

#1

merlinofchaos - November 9, 2009 - 22:43
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.

#2

markus_petrux - November 10, 2009 - 00:04
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.

#3

quicksketch - November 10, 2009 - 00:32

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.

 
 

Drupal is a registered trademark of Dries Buytaert.