Hi All,
I have a question about how to create a content type that adds a cck field that allows this type of functionality:
-
The image always stays the same. It is a weekly specials pdf link that changes weekly by the user.
-
the image would stay the same always.
-
I want them to be able to change the pdf every week just by adding a new pdf, essentially just changing the link as needed
Currently I am using custom html to create image links and adding it to panels, they would have to add a file via ftp to accomplish the pdf change and I would rather the user use a upload button to change the pdf
I can provide links and images to help.
It is this page
http://www.cityseafoods.com/order
the weekly specials pdf
Let me know if I can provide more info
thanks for any help, it is much appreciated,
Nick

Comments
Two file fields - Using views?
Seems like you could do this on the theme layer, linking one field to another in the node tpl. You could create two file fields, one for the image (imagefield) and one for the file upload.
But, what about creating a view with both fields and rewriting the output of the image field to include a link to the file field using their replacement patterns tokens? If you limited the file field to one value, and required it, it seems like this might be fairly simple to accomplish. You'd need to play with the format widget for the file field to make sure it was outputting just the link to the file.
Since you're already using panels, you can easily include the view, and could even pass certain arguments to the view depending on how you intended it to be used.