I've been on Drupal for quite a while, but I'm looking for some advice and general thoughts on how best to empower my users.
I have a fairly non-technical client, a non-profit, who need to update their fromt page once in a while with promotions.
I need them to be able to upload an image into a block, then link that image to an uploaded PDF so that the viewer can click on the first image and have the PDF downloaded (or displayed, depending on their browser settings of course). So the uploaded image gets an <a> tag whose href is the path to the PDF.
I can get a nice wysiwyg editor experience going in the Block editing page, using CK Editor, which allows them to upload an image from their desktop.
I can also allow them to set a link on the uploaded image.
The problem is linking the image to the PDF.
Of course they can FTP the PDF to their Files directory, then figure out its URL... somehow this seems like a lot can go wrong - forgetting how to FTP, not knowing how to figure out the URL, etc.
Do I need to make a separate Image content type, and ask them to upload the PDF first, then link to it from the Block editing page?
If this were a regular node that would be easier, but Blocks are kind of limited.
Anyway some suggestions would be much appreciated.
Comments
If it was me I would make a
If it was me I would make a content type with the necessary fields, it seems you need at least a title, image field and file field (for the PDF). Then use views to create the block (you can have it display the image linked to the block). You will need some custom formatting to link the the image to the PDF. I would use display suite and a custom field. There are other ways.
Keep it simple
I would keep end users away from things like FTP and even block editing.
Why not create a "Promotion" content type with a file field for the PDF and an image field for the image? You can use Views to show the latest promotion in a block. Views can easily show the image as a link to the PDF.
Views
OK, I think you all have solved it - you're right, block editing is not ideal, and a custom content type plus view exposing a lock seems like a great idea. I'll try this out on them - should be workable once I get it set up.
Thanks for the insights!
http://resonetrics.com
http://technologyformarketers.com
http://kittenassociates.org
http://www.linkedin.com/in/sammooreatresonetrics