• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Is The Hyperlink Module Fully Functional????

NeuroPsyche

Regular Pleskian
I've been messing around with the Hyperlink module in Sitebuilder 4.5 and not really having any success in what
I need to do. I've been trying to upload a file to the site and use the hyperlink module file:\\ command to allow
a user to click on a link and have the file, actually a .pdf file, either display or download to the user.

I can't get either to work, it just says that it can't find the file.
I put a few files in the site's \httpdocs\miscfiles
...where <miscfiles> is the dir that I created and put a bunch of files into that I either want to display or give the
user the option to download.

I thought that the Hyperlink file:\\ would do this, but again I'm not having any luck. Maybe I just need to write the code myself??? If anyone has any simple file view code or download/upload code, do you want to share it?


Thanks!
 
Dave, as I remember we already discussed this situation in the following thread: http://forum.parallels.com/showthread.php?t=84175.
If you wish to link a file from your server which is located on one of the published domains you can use http:// protocol for it and make a link to http://domain.tld/miscfiles/file.pdf. You need just make sure that this file is accessible through the web. You can not use relative link for the file from the server, as hyperlink is used only for external links.
File protocol is used for accessing files stored in the network. For example, file://servername/sharename/filename.pdf
this is just different protocol but it is not necessary it should be local storage. If your server is shared one you can use this protocol for linking file. So this is external links.
If you need to place some file on the site you can use File Download module or share file somewhere in the net and link it.
Let me know if there is something unclear.
 
Hyperlink Module Fully Functional????

Thanks for writing back once again.
It seems to me that the hyperlink module just has some features missing such as Browse or Upload or just wasn't thought out fully.

I just have this problem with users seeing the actual server names and paths to these files if using the file:\\ function. I can understand that the path would have to be specified, but one would assume(and I know that its not good) that the default path would be the actual \httpdocs dir of that domain? I can understand that in come situations one web host would want to put a link on a site that points to another site totally, but for the File:\\ command... It seems rather odd that anyone would want the public to see the full path of a network node.

Thats why I basically though that the Hyperlink module was 'half' done, and half thought out and possibly just not completed all the way. If the Hyperlink module is complete, I really think some re-thinking is in order for how it works and what it can and can't do.

I do understand that the http function would be a perfect reason to use it, but to run it with the File:\\ command seems a bit scarry.

If it is working correctly, do you know of a way to hide the actual server name if the File:\\ command is used?

Thanks again for your quick reply! You truely are dedicated.






Dave, as I remember we already discussed this situation in the following thread: http://forum.parallels.com/showthread.php?t=84175.
If you wish to link a file from your server which is located on one of the published domains you can use http:// protocol for it and make a link to http://domain.tld/miscfiles/file.pdf. You need just make sure that this file is accessible through the web. You can not use relative link for the file from the server, as hyperlink is used only for external links.
File protocol is used for accessing files stored in the network. For example, file://servername/sharename/filename.pdf
this is just different protocol but it is not necessary it should be local storage. If your server is shared one you can use this protocol for linking file. So this is external links.
If you need to place some file on the site you can use File Download module or share file somewhere in the net and link it.
Let me know if there is something unclear.
 
I understand what you are talking about but actually it is not possible to hide server name somehow if you use file:// protocol. This part of the WYSIWYG is used for external linking only. As I said, for linking file on the site you can use File Download module.
The thing is that actually site itself which is created with Parallels Plesk Sitebuilder could be stored on different server and path and working directory can be different in this case too.
 
Back
Top