Change the "Download file" by the file name

Discussion in 'Setting-up protection' started by graujm, Mar 1, 2010.

  1. graujm

    graujm New Member

    Joined:
    Feb 17, 2010
    Messages:
    29
    If I get two product to download this is what members see in member.php:

    - Download file
    - Download file

    How can I edit this to the file names?

    Thank you
    JMG
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    You can use:
    Additional URLs
    Enter additional URLs using this format:
    /some_url/|URL title to display
    These URLs will be displayed on the member.php page
    in addition to the Product URL field

    David
  3. graujm

    graujm New Member

    Joined:
    Feb 17, 2010
    Messages:
    29
    Thank you David,
    Unfortunately this is not what I was looking for,
    It does work but then onetime download count doesn't count anymore...

    One time download calls files "Download file" on the member.php how can I change this title to the files name? so d.php still do the count for download and users know what they click on to download?

    Thank you
    Jean-Michel
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    The same format is valid for onetime_downloads:
    Unix File Path / Title
    URLs using this format:
    /some_url|URL title to display on downloads page
    path to file, if starts with "/" then it is absolute path,
    else relative to configured root folder for downloads
  5. graujm

    graujm New Member

    Joined:
    Feb 17, 2010
    Messages:
    29
    Thank you Thank you, to both of you, It does work!
    Great...

    JM
  6. martysharpster7

    martysharpster7 New Member

    Joined:
    Mar 5, 2010
    Messages:
    1
    thanks for the info.

Share This Page