jondiego

Home \

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Module vs Plugin and target _blank #1006
    jondiego
    Participant

    Yes you can make the files open in a new window. Look in the file “helper.php” around line 246 and line 193.

    Change

    $html .= '<a href="'.JURI::base().$folder.'/'.$rows[$i]['name'].'.'.$rows[$i]['ext'].'">';

    to

    $html .= '<a target="_blank" href="'.JURI::base().$folder.'/'.$rows[$i]['name'].'.'.$rows[$i]['ext'].'">';

    Look for anything with “href” in the text. This tells you it’s a link. Then just add the “target=”_blank”

    Hope this helps!

Viewing 1 post (of 1 total)