Results 1 to 10 of 10

Thread: PDF file link

  1. #1
    Member
    Join Date
    Jun 2012
    Location
    Ariège, Southwestern France
    Posts
    31

    Default PDF file link

    Hello,
    I can't understand why my pdf files links don't work...
    I chose File links, save the PDF files into the assets, but, when I click on a link towards a pdf file, nothing happens except a blank window...

    If i copy the links from my site, this is what I get, for example :
    javascriptpenpopup_3954('../Guide_des_aides_avril_2012.pdf')

    doest it help you understand what I'm doing wrong ?

    It comes from this page of my site :
    http://www.rouchenergies.fr/html/aides_de_l_anah.html

    and the link is at the bottom of the page, written like this :
    Le guide des aides ANAH (Avril 2012)

    I feel like I did what the help guide of NOF say to do, but, obviously, I'm missing something...

    Thank you very much for your help
    Now I'm going to sleep a while, it's almost 2 AM here in France...

  2. #2
    Member Franklyn Halamka's Avatar
    Join Date
    Feb 2010
    Location
    Texas
    Posts
    97

    Default

    javascriptpenpopup_3954('../Guide_des_aides_avril_2012.pdf')

    Your path for the PDF file take you to the root of the domain. www.xxx.com/Guid...
    I believe the script is looking for the file to be at the root of the html dir. ie www.xxx.com/html/Guid...

    drop the .. in the script above and see if this fixes your problem.

  3. #3
    Member
    Join Date
    Jun 2012
    Location
    Ariège, Southwestern France
    Posts
    31

    Default

    Hello,
    Sorry for the delay of my response (I have a "real" job, and maintaining my website is only done during weekends...).
    I'm sorry but I don't understand your response (I have to tell I'm French, and sometimes my english is not good enough).
    The PDF file is in fact at the root of my domain (I checked with Filezilla, and yes, it's at the root).
    How should I write this link ?
    Should it be : www.mysite.com/Guide_des_aides_avril_2012.pdf ???
    If so, where do I have to make the modification ?
    Thnaks a lot, and sorry again to be so... dumb.

  4. #4
    Twayne
    Guest

    Default Re: PDF file link

    In news:FlodAriege.5mye9u@no-mx.forums.netobjects.com,
    FlodAriege <FlodAriege.5mye9u@no-mx.forums.netobjects.com> typed:
    > Hello,
    > Sorry for the delay of my response (I have a "real" job,
    > and maintaining my website is only done during
    > weekends...).
    > I'm sorry but I don't understand your response (I have to
    > tell I'm French, and sometimes my english is not good
    > enough).
    > The PDF file is in fact at the root of my domain (I
    > checked with Filezilla, and yes, it's at the root).
    > How should I write this link ?
    > Should it be :
    > www.mysite.com/Guide_des_aides_avril_2012.pdf ??? If so,
    > where do I have to make the modification ?
    > Thnaks a lot, and sorry again to be so... dumb.


    Are you using "File Link" iinstead of internal?


    HTH,

    Twayne`



  5. #5
    Member
    Join Date
    Jun 2012
    Location
    Ariège, Southwestern France
    Posts
    31

    Default

    Yes, I do use "File link" : shouldn't I ?

  6. #6
    Twayne
    Guest

    Default Re: PDF file link

    In news:FlodAriege.5n1pbb@no-mx.forums.netobjects.com,
    FlodAriege <FlodAriege.5n1pbb@no-mx.forums.netobjects.com> typed:
    > Yes, I do use "File link" : shouldn't I ?


    Assuming you're puttinig PDF flles out the for people to just read or save
    to their own machines, YES, you should be usiing File Link.

    There's an example at twaynesdoman.com, My Book, TOC link. Those are all
    File Links.

    HTH,

    Twayne`



  7. #7
    Member
    Join Date
    Jun 2012
    Location
    Ariège, Southwestern France
    Posts
    31

    Default

    Quote Originally Posted by Franklyn Halamka View Post
    javascriptpenpopup_3954('../Guide_des_aides_avril_2012.pdf')

    Your path for the PDF file take you to the root of the domain. www.xxx.com/Guid...
    I believe the script is looking for the file to be at the root of the html dir. ie www.xxx.com/html/Guid...

    drop the .. in the script above and see if this fixes your problem.
    So, if I did understand you :
    I use file link, and it's ok.
    I should modify the "script" as you call it (sorry, I'm a french speaking newbie ...), in order to delete the "..".
    -> So should it be, finally :
    javascriptpenpopup_3954('/Guide_des_aides_avril_2012.pdf'
    Is this what you mean ?


    I just had a look to the html on this link (inside NOF).
    This is what it says :
    <a target="_self" href="javascriptpenpopup_3954('file:///C:/Users/Utilisateur/Documents/NetObjects Fusion 1&1 Edition/User Sites/rouchenergies_wave-blue_REFONTE/rouchenergies_REFONTE/Assets/Guide_des_aides_avril_2012.pdf')"

    So... sorry, but I really don't understand how I should modify this link in order to make it work...
    Could someone please help me ?
    Last edited by FlodAriege; 12-10-2012 at 12:34 AM. Reason: new information

  8. #8
    Member
    Join Date
    Jun 2012
    Location
    Ariège, Southwestern France
    Posts
    31

    Default

    Quote Originally Posted by FlodAriege View Post
    So, if I did understand you :
    I use file link, and it's ok.
    I should modify the "script" as you call it (sorry, I'm a french speaking newbie ...), in order to delete the "..".
    -> So should it be, finally :
    javascriptpenpopup_3954('/Guide_des_aides_avril_2012.pdf'
    Is this what you mean ?


    I just had a look to the html on this link (inside NOF).
    This is what it says :
    <a target="_self" href="javascriptpenpopup_3954('file:///C:/Users/Utilisateur/Documents/NetObjects Fusion 1&1 Edition/User Sites/rouchenergies_wave-blue_REFONTE/rouchenergies_REFONTE/Assets/Guide_des_aides_avril_2012.pdf')"

    So... sorry, but I really don't understand how I should modify this link in order to make it work...
    Could someone please help me ?

    I still don't understand how to make those file links working...
    Could anyone please help me with this, I'm turning crazy !
    Please ?

  9. #9
    Twayne
    Guest

    Default Re: PDF file link

    In news:FlodAriege.5nxf60@no-mx.forums.netobjects.com,
    FlodAriege <FlodAriege.5nxf60@no-mx.forums.netobjects.com> typed:
    > FlodAriege wrote:
    >> So, if I did understand you :
    >> I use file link, and it's ok.
    >> I should modify the "script" as you call it (sorry, I'm
    >> a french speaking newbie ...), in order to delete the
    >> "..". -> So should it be, finally :
    >> javascriptpenpopup_3954('/Guide_des_aides_avril_2012.pdf'
    >> Is this what you mean ?
    >>
    >>
    >> I just had a look to the html on this link (inside NOF).
    >> This is what it says :
    >> <a target="_self"
    >> href="javascriptpenpopup_3954('file:///C:/Users/Utilisateur/Documents/NetObjects
    >> Fusion 1&1 Edition/User
    >> Sites/rouchenergies_wave-blue_REFONTE/rouchenergies_REFONTE/Assets/Guide_des_aides_avril_2012.pdf')"
    >>
    >>
    >> So... sorry, but I really don't understand how I should
    >> modify this link in order to make it work...
    >> Could someone please help me ?

    >


    If I understand you correctly, you have two choices iin NOF:

    Link to the .pdf file in one of two ways and then test:

    1. Use "File link" and link to the relevant .pdf file. It's in the link
    menu.
    OR
    2. Use "external link" and enter your site's URL and full path to the .pdf
    file. If you do it this way, to save some guessing, use your browser to find
    the file and copy the path from the destination window.

    You don't need to use target=self. That just means to reuse the current
    page.
    If desired, you could use "target=blank which would open the .pdf in a new
    window.

    Those are all choices in the Liink menu. Be sure to test whichever method
    you use.


    HTH,

    Twayne`
    --
    Life is the only real counselor; wisdom unfiltered
    through personal experience does not become a
    part of the moral tissue.






    > I still don't understand how to make those file links
    > working... Could anyone please help me with this, I'm
    > turning crazy ! Please ?





  10. #10
    Member
    Join Date
    Jun 2012
    Location
    Ariège, Southwestern France
    Posts
    31

    Default

    Quote Originally Posted by Twayne View Post
    In news:FlodAriege.5nxf60@no-mx.forums.netobjects.com,
    FlodAriege <FlodAriege.5nxf60@no-mx.forums.netobjects.com> typed:
    > FlodAriege wrote:
    >> So, if I did understand you :
    >> I use file link, and it's ok.
    >> I should modify the "script" as you call it (sorry, I'm
    >> a french speaking newbie ...), in order to delete the
    >> "..". -> So should it be, finally :
    >> javascriptpenpopup_3954('/Guide_des_aides_avril_2012.pdf'
    >> Is this what you mean ?
    >>
    >>
    >> I just had a look to the html on this link (inside NOF).
    >> This is what it says :
    >> <a target="_self"
    >> href="javascriptpenpopup_3954('file:///C:/Users/Utilisateur/Documents/NetObjects
    >> Fusion 1&1 Edition/User
    >> Sites/rouchenergies_wave-blue_REFONTE/rouchenergies_REFONTE/Assets/Guide_des_aides_avril_2012.pdf')"
    >>
    >>
    >> So... sorry, but I really don't understand how I should
    >> modify this link in order to make it work...
    >> Could someone please help me ?

    >


    If I understand you correctly, you have two choices iin NOF:

    Link to the .pdf file in one of two ways and then test:

    1. Use "File link" and link to the relevant .pdf file. It's in the link
    menu.
    OR
    2. Use "external link" and enter your site's URL and full path to the .pdf
    file. If you do it this way, to save some guessing, use your browser to find
    the file and copy the path from the destination window.

    You don't need to use target=self. That just means to reuse the current
    page.
    If desired, you could use "target=blank which would open the .pdf in a new
    window.

    Those are all choices in the Liink menu. Be sure to test whichever method
    you use.


    HTH,

    Twayne`
    --
    Life is the only real counselor; wisdom unfiltered
    through personal experience does not become a
    part of the moral tissue.






    > I still don't understand how to make those file links
    > working... Could anyone please help me with this, I'm
    > turning crazy ! Please ?
    1. The "file link method" is this was the way I did it the first time, and it did not work...
    2. The "external link" method :
    It is the way I did it this time.
    Well .. once my site is published, ... I was going to turn completely crazy because it was still not working !
    BUT...
    ... ô miracle ! the link is finally working !
    I guess IE was giving me the previous version of my site (which happen each time I re-publish, until I "F5" my page, I guess IE remember a page and don't re-load it if it don't feel it has too).

    SO: first of all, thank you very much for your help.
    Then,if anyone has the same problem than me, he can now know how to solve it.
    PS : I noticed that the "plug-ins" system is also a very good way to get the pdf working. But you need a little space to allow the picture of the file to show.

Posting Permissions

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