Menu

link to textfile

Help
2010-02-03
2013-05-30
  • Alex Hanssens

    Alex Hanssens - 2010-02-03

    would it be possible to link a textfile (pdf, word, Oo) to a person ?

     
  • Greg Roach

    Greg Roach - 2010-02-03

    A text/pdf file is just a media file, and is handled the same as .jpeg, .gif, .mp3 etc.

    From the person's media tab, add a new media object, select "new", and upload the file.

     
  • Alex Hanssens

    Alex Hanssens - 2010-02-07

    yes, that works, but visitors do not expect texts in the mediafolder, I'd say. So how do I make a proper link to the textfile? And does anyone know an other way ?

     
  • Thomas52

    Thomas52 - 2010-02-07

    I put the file in the media folder, and add a link in a note to the event or as a general note on the page,

    "Blah-blah-blah.  For more, see: http://www.abcgenealogy.com/media/whodat.txt"

     
  • Anonymous

    Anonymous - 2010-02-07

    THats only an issue if you add a media items unattached to any event. If you add the media item (text file of whatever) to an event (Birth, death, marriage, burial, etc) then the visitor has no need to worry about where the text file is stored.

    They see a thumbnail view of the file in an Individual's page, click on it, and the text file opens - simple. In fact, isn't that a "Link"?

    The only minor issue is that the thumbnail, by default, is likely to be something like a pdf symbol. But that answer to that iequally easy. Create a thumbnail sized image of the text document (its first page usually) , with exactly the same name as the text file, and upload it with the text file instrad of allowing PGV to automatically create one.

    Aside from that, I must strongly advise you against using MS Word, Oo, or similar formats. These are all editable, so anyone who opens them can change whatever you've entered. They also tend to be excessively large files, their formatting can be altered by other's computer settings, so they may not see exactly what you wanted them to see, and the user needs specific software on their machine to open them.  Convert them to PDFs for security, size, convenience, and to lock the design.

     
  • Alex Hanssens

    Alex Hanssens - 2010-02-09

    Kiwi, your help is much appreciated and useful. But the trick with the thumbnail does not work for me. I named the thumbnail text.png to accompany the pdf file text.pdf and placed them both in the mediafolder of PGV. Still  see the default pdf-thumbnail.  And you are right about pdf versus other formats, but as a can set the rigts of file to 444, or even 400, I'd say no one might be able to alter it. Right?

     
  • Stephen Arnold

    Stephen Arnold - 2010-02-09

    Alex
    How would PGV serve your uploaded thumb in place of the generic marker when the name is DIFFERENT? Is your text file "text.png" or "text.pdf". If the latter (as I suspect), your thumbnail would have to be "text.pdf" also as PGV uses the entire file name to locate the matching placeholder file in the THUMBS directory, w/o substitution.
    -Stephen

     
  • Alex Hanssens

    Alex Hanssens - 2010-02-09

    or should I change the standard pdf-icon in images/media/ ? But than all pdf's get that icon Not a good idea?

     
  • Anonymous

    Anonymous - 2010-02-09

    Alex - Stephen is right. Just rename the thumbnail to text .pdf. I know it might 'seem' odd, but it does work!

    Also - I assume you placed the thumbnail in the /media/thumbs/ folder, not the same one as the media item itself?

    Nigel

     
  • Alex Hanssens

    Alex Hanssens - 2010-02-09

    okbigkid, you are absolutily right, I was not thinking :-/
    It's working now, thanx

     
  • Alex Hanssens

    Alex Hanssens - 2010-02-09

    thanx all, problem solved, thread closed
    Alex

     

Log in to post a comment.