Results 1 to 3 of 3

Thread: Modify URL for file links

  1. #1
    tonythemediaguy is offline Senior Member
    Join Date
    May 2007
    Posts
    54
    Rep Power
    8

    Default Modify URL for file links

    Hi,

    Our file server is mapped as "H:\" and I would like for the URL zimlet to automatically convert any strings that begin with "H:/" to a link and add "file://" to the beginning.

    So I edited url.js to add the following:

    if (escapedUrl.substr(0, 3) == 'H:\') {
    escapedUrl = "file://" + escapedUrl;
    }

    but it's not working. Does anybody have any insight on this?

    Thanks,

    Tony

  2. #2
    tonythemediaguy is offline Senior Member
    Join Date
    May 2007
    Posts
    54
    Rep Power
    8

    Default

    sorry, all should be H:\

  3. #3
    JoshuaPrismon is offline Zimlet Guru & Moderator
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    9

    Default

    Quote Originally Posted by tonythemediaguy View Post
    sorry, all should be H:\
    Tony,

    Try substituting it to file://H| (note | instead of :\).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Message store hard links
    By bdbell in forum Migration
    Replies: 0
    Last Post: 05-22-2007, 06:14 AM
  2. rest url and accents
    By lfasci in forum Developers
    Replies: 1
    Last Post: 03-02-2007, 10:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •