Closed (fixed)
Project:
FileField
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2008 at 18:41 UTC
Updated:
25 Sep 2008 at 22:57 UTC
I am using the file module cck to upload my pdf files to my node..
now when I use views to list my files I get the file name already linked to the proper location of the files.
Now can we output the file path separately in views,, instead of using the default standard set by views (which the file already link to the file description)
Comments
Comment #1
merlinofchaos commentedI'm not sure exactly which module you're using, but please change the Project to the appropriate module so that the right person can answer this question.
Comment #2
Oghnia commentedComment #3
yched commentedThis is for filefield.module - you need a formatter that outputs the raw url (you can also make your own formatter, from a custom module of yours)
Comment #4
Oghnia commentedhow do you do the formatter (sorry I am new to this) [can it be view specific]
Comment #5
yched commentedlook at the sample code for hook_field_formatter_info() and hook_field_formatter() in cck/field.php
Comment #6
dopry commentedwhich version of filefield are you working with? these formatters are in head, but that code is experimental.
Comment #7
dopry commentedno update.