makeRIC

Create Something New

Fix Upload module attachments that do not open in a new window

Fri, 2012-04-20 15:15 -- scimonx

Copy the upload module to your site specific modules library from the main modules directory.

  1. Open for edit the uploads.module file
  2. locate this line:
    $rows[] = array(l($text, $href), format_size($file->filesize));
     
  3. Change the line to the following:
     $rows[] = array(l($text, $href, array('attributes' => array('target' => '_blank'))), format_size($file->filesize));

Applies to D6

Topic Tags: