[support] Access to pdf on a mapped drive.

Philip_Wetzel at nhd.uscourts.gov Philip_Wetzel at nhd.uscourts.gov
Thu Mar 20 12:15:46 UTC 2014


Hi all,
I've been trying to create an href link to pdf's that are located on a
mapped drive.
In windows the drive is always O: ie

O:\prob\policy PDF's/A01 FILE ACCESS.PDF

It can also be accessed with this format.

\\server\prob\policy PDF's/A01 FILE ACCESS.PDF

I can plug this into Firefox...
file://///server/prob/policy%20PDF%27s/A01%20FILE%20ACCESS.pdf
or
file:///\\server/prob/policy%20PDF%27s/A01%20FILE%20ACCESS.pdf


I installed the filter_protocols module and modified the function to add
'file'.....
function filter_protocols_settings_form() {
  $form['filter_allowed_protocols'] = array(
    '#type' => 'textfield',
    '#title' => t('Allowed protocols'),
    '#description' => t('A list of protocols that can be used.'),
    '#default_value' => implode(' ', variable_get
('filter_allowed_protocols', array('file','ftp', 'http', 'https', 'irc',
'mailto', 'news', 'nntp', 'rtsp', 'sftp', 'ssh', 'tel', 'telnet',
'webcal'))),
    '#size' => 80,
  );


But, still nothing happens when I click on it.    Is there something I'm
missing?
Thanks in advance,
Phil



More information about the support mailing list