Tuesday 11 August 2009 8:48:27 am
Hi all, I have been trying to implement what I thought should be an easy fix. What I want, is to let administration interface users create links to directly to pdf files contained in a folder in the media section by pointing at the object. This would enable visitors on the website to click a link on for example the front page and be linked directly to a pdf file. The xml in the admin should look like:
<link href='ezobject://ID' target='_blank'>PDF</link>
and this generates the normal code html output:
<a href="/content/view/line/ID" target="_blank">PDF</a>
I would like to make it generate something like:
<a href="/content/download/.../.../file/..." target="_blank">PDF</a>
I have read these threads:
http://ez.no/developer/forum/general/link_to_pdf_file__1
http://ez.no/developer/forum/general/how_to_open_the_pdf_added_to_a_xml_bloc
http://ez.no/developer/forum/setup_design/files_with_spaces
http://ez.no/developer/forum/setup_design/link_directly_to_a_file
http://ez.no/developer/forum/setup_design/open_pdf_file_in_browser_window
http://ez.no/developer/forum/setup_design/open_pdf_directly_in_a_new_browser_window_from_link_in_oe/re_open_pdf_directly_in_a_new_browser_window_f__6
http://ez.no/developer/forum/setup_design/how_to_create_a_download_link_to_a_pdffile
http://ez.no/developer/forum/setup_design/directly_open_related_pdfdocuments_in_articles
http://ez.no/developer/forum/setup_design/create_a_direct_link_to_a_binary_file
http://ez.no/developer/forum/setup_design/datatype_binaryfile_display
http://ez.no/developer/forum/setup_design/creating_a_link_to_a_file_for_download http://ez.no/developer/forum/setup_design/pdf_open_directly but none of them describes a solution that I have been able to function. If one of these threads do describe such a solution, I might need to have a few more details to make it happen in my end. /Søren
|