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 2017-07-08 06:20:48

michilge
Member
From: Sprockhövel, Germany
Registered: 2013-04-15
Posts: 206
Website

Template Presets -- cnnot find import button

Hi,

all I see on http://theturninggate.net/template-presets/ is a download button above the large screenshot that results in downloading a .txt to my local disc.
What do I miss?

Nice weekend
Michael

Offline

#2 2017-07-08 06:39:19

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

Re: Template Presets -- cnnot find import button

The Download Presets button is on your Backlight > Designer > Templates page, right at the top.


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 2017-07-08 06:55:26

michilge
Member
From: Sprockhövel, Germany
Registered: 2013-04-15
Posts: 206
Website

Re: Template Presets -- cnnot find import button

Yes, and it takes me to the presets page, where I find four presets. When I click one of them there is a blue download button but I miss the button to import to BL.

Offline

#4 2017-07-08 07:00:56

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

Re: Template Presets -- cnnot find import button

import-template.jpg


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 2017-07-08 07:07:24

michilge
Member
From: Sprockhövel, Germany
Registered: 2013-04-15
Posts: 206
Website

Re: Template Presets -- cnnot find import button

Hmmm, in the blog it says "In the preview, click the “Import Preset as New Template” button."

When I try to import the downloaded file backlight-preset-preset-redheaded-page.txt, Backlight gives me a syntax error.
So I thought the preset has a different syntax an needs to be imported directly from the presets page on theturninggate.net.

edit: The same with backlight-preset-preset-soonchunhyang-page.txt

Last edited by michilge (2017-07-08 07:10:06)

Offline

#6 2017-07-08 07:14:01

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

Re: Template Presets -- cnnot find import button

I got the same error when I just tried downloading a template (Redhead), saving it, and importing the text file.
I then clicked on the Download Templates button again and tried another template. This time, instead of a download button at the upper right there was an "Import Preset as New Template" button.  That worked. It was a one-click operation.


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

Offline

#7 2017-07-08 07:24:25

michilge
Member
From: Sprockhövel, Germany
Registered: 2013-04-15
Posts: 206
Website

Re: Template Presets -- cnnot find import button

I tried it both in Firefox and in Chrome. Allowed all cookies, scripts, disabled adblocker.

Offline

#8 2017-07-08 07:34:35

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

Re: Template Presets -- cnnot find import button

I also tried it in Chrome and got the same results.
In Backlight I clicked on the Download Template Presets button. That took me to the Template Presets page.
I clicked on one of the images.
the preview opened with "Download Preset" button in the upper right. I clicked that and the text file downloaded. I did that for all the presets.
When I tried to actually import it through the Backlight preset importer, I got the syntax error message.

So I again clicked on the "Download Template Presets" button in Backlight and went back to the Template Presets page.
But this time, when I clicked on one of the templates, when the preview page opened the button was now a "Import Preset as New Template" button rather than a "Download Preset" button.
Clicking on the Import Preset button imports the preset directly into Backlight.

I have no clue why it initially started as a Download Preset button.

(exact same thing happened using Opera)


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

Offline

#9 2017-07-08 08:35:06

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Template Presets -- cnnot find import button

I've found that there was an issue with downloads, which added a PHP error that rendered the template invalid.  This is now fixed.

The import button relies on picking up the Referer (sic) value when clicking from the List Templates page.  I would think this should either work for all occasions you come in from the List Templates page, or not at all (for example, if your browser is configured to not provide the Referer).  I'm not sure why you would initially see a download button instead.  This could be tricky to debug.

Offline

#10 2017-07-08 17:30:17

michilge
Member
From: Sprockhövel, Germany
Registered: 2013-04-15
Posts: 206
Website

Re: Template Presets -- cnnot find import button

I also tried Internet Explorer, which I never configured in any way.
I entered my template listing, clicked the "Download Template Presets" button, clicked a miniature. Same thing.
Did this some minutes before this post. In case it might help, my current IP is 83.135.6.33

Offline

#11 2017-07-08 18:12:02

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Template Presets -- cnnot find import button

What do you mean by 'same thing'? What happened?

Offline

#12 2017-07-09 06:33:36

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Template Presets -- cnnot find import button

Can you visit your List Templates page then copy and paste the full URL shown in your address bar?

Offline

#13 2017-07-10 03:25:15

michilge
Member
From: Sprockhövel, Germany
Registered: 2013-04-15
Posts: 206
Website

Re: Template Presets -- cnnot find import button

I only got to see the DL button after entering via the button on my template list. No matter which browser I use.

http://theturninggate.net/template-presets/

The first GET:

GET in Firefox
http://theturninggate.net/template-presets/ [HTTP/1.1 200 OK 1101ms]


Connection    keep-alive
Content-Type    text/html; charset=UTF-8
Date    Sun, 09 Jul 2017 18:44:28 GMT
Link     <http://theturninggate.net/wp-json/>; rel="https://api.w.org/", <http://theturninggate.net/?p=1207>; rel=shortlink
Server     nginx
Set-Cookie     wfvt_3113400790=5962798c178a5; expires=Sun, 09-Jul-2017 19:14:28 GMT; path=/; httponly
Transfer-Encoding    chunked
X-Powered-By    PleskLin

Accept    text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding    gzip, deflate
Accept-Language    de,en-US;q=0.7,en;q=0.3
Connection    keep-alive
Cookie    wfvt_3113400790=596278beb58b0; wordfence_verifiedHuman=c3d9d25b4834fdc16144c9c76e391a9a; PHPSESSID=hgfekv34mb0b17et28fa48ovl4
DNT    1
Host    theturninggate.netUpgrade-Insecure-Requests1
User-Agent    Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0

This "DNT    1" irritates me. My browser is not configured to send it.

The Internet Explorer, I also tried, is as out of the box.

Here's one from chrome, where I see no DNT but "Referrer Policy:no-referrer-when-downgrade" whatever that means:

Request URL:http://theturninggate.net/template-presets/
Request Method:GET
Status Code:200 OK
Remote Address:70.32.80.218:80
Referrer Policy:no-referrer-when-downgrade
Response Headers
view source
Connection:keep-alive
Content-Type:text/html; charset=UTF-8
Date:Sun, 09 Jul 2017 19:06:35 GMT
Link:<http://theturninggate.net/wp-json/>; rel="https://api.w.org/", <http://theturninggate.net/?p=1207>; rel=shortlink
Server:nginx
Set-Cookie:wfvt_3113400790=59627ebae22b6; expires=Sun, 09-Jul-2017 19:36:34 GMT; path=/; httponly
Transfer-Encoding:chunked
X-Powered-By:PleskLin
Request Headers
view source
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding:gzip, deflate
Accept-Language:de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4
Connection:keep-alive
Host:theturninggate.net
Upgrade-Insecure-Requests:1
User-Agent:Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

Last edited by michilge (2017-07-10 04:10:55)

Offline

#14 2017-07-10 07:11:13

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Template Presets -- cnnot find import button

Thanks for the further info.  Interesting.. as asked, can you provide the URL of the page of your List Templates page?  e.g. http://yoursite.com/backlight/designer/ … _templates

I have just discovered the same missing 'referer' when running my test site over https.  Is your site loaded over https?  From Google:

"A Referer header is not sent by browsers if: the referring resource is a local "file" or "data" URI, an unsecured HTTP request is used and the referring page was received with a secure protocol (HTTPS)"

I'd really not want to pass the URL as a parameter.  Changing the "Download Template Presets" from a link to a form submission button would allow us to send it as a form variable would be another way.

Offline

#15 2017-07-10 17:19:42

michilge
Member
From: Sprockhövel, Germany
Registered: 2013-04-15
Posts: 206
Website

Re: Template Presets -- cnnot find import button

Ah, sorry, I misunderstood an copypasted the URL with which I got transferred to Your Site.

https://fotos.michilge.de/backlight/des … _templates

And Yes, my sit is loadaed over https.

Offline

Board footer

Powered by FluxBB