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 2020-05-07 23:48:59

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

url]Link to pdf file

I am new to Backlight 3 and I was wondering how I could place a button on the "About" page that would lead to a pdf file.
The file is already on the server at ftp://pideja.ca/marco/fr/pdf. The page is here: https://pideja.ca/marco/Fr/about/.
I've done this before, but on a CE3 site! http://marccharlebois.com/marc_fr/contact.php

This is a rest site, on a sub-domain. I will eventually transfer it to its proper server when I'm done with the building.

Offline

#2 2020-05-08 00:31:56

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

Re: url]Link to pdf file

If you want it to look like a button, how about just a regular text link styled like a button?
In fact, there's a .button class in Backlight css that will style the link to look exactly like your other buttons.

you should put the pdf file in a folder on your site, not in the ftp server. The file on your old CE3 site is not in the ftp server


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 2020-05-08 00:47:04

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: url]Link to pdf file

Thanks, Rod. I found some of your indications on https://ttg-tips-and-tricks.barbeephoto … opy-areas/

Works great. Now, I just have to find a way to add a title or text below the button to indicate it's use.

Offline

#4 2020-05-08 01:01:19

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

Re: url]Link to pdf file

if you want it directly below the pdf image, you can try using figure and figcaption
https://www.w3schools.com/tags/tag_figure.asp


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

Offline

#5 2020-05-08 01:33:41

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: url]Link to pdf file

Thanks, Rod

Offline

Board footer

Powered by FluxBB