Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2015-08-17 08:54:19

rangercup84
Member
Registered: 2013-02-03
Posts: 8

Markdown for a TTG Publisher Gallery

Hello Everyone,

I would like to be able to edit the "page content" section of an uploaded gallery.

The gallery has been uploaded via TTG publisher and the text is displaying correctly. I want to edit the Markdown so that I can create a hyperlink in the text. I've been doing this without a problem for my main website pages, however, I can't figure out what file contains the text that I wish to edit.

www.website.com/galleries/galleryindex/galleryA

When I access galleryA via my FTP server, none of the files seem to have the text that is displaying on the page and I therefore can't insert a hyperlink via Markdown.

Any ideas?

While I'm this topic, does anybody know how to make text link to a file to download? I would like to have some PDF documents downloadable on my website by clicking on hyperlinked text.

Thank you all for your help.

Best,

Yonatan

Offline

#2 2015-08-17 09:09:09

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Markdown for a TTG Publisher Gallery

For Publisher created Albums you must edit the text in the Edit Album dialog in Publisher. All the text is stored in the database in ttg-be so changes must be made in Publisher.

For your pdf downloads, just put them on line and write in the link to them in Markdown. For example:

download [this PDF](http://yoursite.com/downloads/some-file.pdf)

Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2015-08-17 09:21:16

rangercup84
Member
Registered: 2013-02-03
Posts: 8

Re: Markdown for a TTG Publisher Gallery

Thank you Rob.

The PDF download is for something on my site created with TTG plugins, but not managed with TTG Publisher.

I have uploaded to my server as such:

public_html/files/randomdocument.pdf

I think my issue is that I don't know what URL to direct the link to. In Filezilla, when I copy the URL for the file it gives me the URL if accessing via FTP. Is my PDF uploaded to a place on my server that is not accessible via a hyperlink?

Thank you.

Kind Regards,

Yonatan

Offline

#4 2015-08-17 09:51:35

gaufde
Member
From: Ojai, CA
Registered: 2014-07-11
Posts: 72
Website

Re: Markdown for a TTG Publisher Gallery

The path to your files that you see via ftp access is very similar. The only difference is that public_html is replaces with your domain name. So, if you have a document at public_html/files/randomdocument.pdf, then the url to it will be http://www.yoursite.com/files/randomdocument.pdf.
Graceson

Last edited by gaufde (2015-08-17 09:53:05)


Graceson Aufderheide
gracesonaufderheide.com

Offline

#5 2015-08-17 10:00:18

rangercup84
Member
Registered: 2013-02-03
Posts: 8

Re: Markdown for a TTG Publisher Gallery

Thank you. I was including public_html in my link and that was the problem.

Is there an easy way to have the link open the file in a new window or is that an involved thing to do?

Kind Regards,

Yonatan

Offline

#6 2015-08-17 10:11:13

gaufde
Member
From: Ojai, CA
Registered: 2014-07-11
Posts: 72
Website

Re: Markdown for a TTG Publisher Gallery

I believe that you will have to use html instead of markdown for that, but is fairly simple. Here is the format:

<a href="http://www.yoursite.com/files/randomdoccument.pdf" target="_blank">Hyper Link Text</a>

The part that makes it open in a new window is the target="_blank". For more information on html links check out this site: http://www.w3schools.com/html/html_links.asp

Last edited by gaufde (2015-08-17 10:11:59)


Graceson Aufderheide
gracesonaufderheide.com

Offline

Board footer

Powered by FluxBB