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-08-03 23:46:52

gwlco
Member
From: Pensacola, Fl.
Registered: 2012-10-24
Posts: 337
Website

change API code in config.php

What is the format for adding a change to the API code in ../publisher/config/config.php? Also can the admin credentials be changed here?>

Offline

#2 2017-08-04 00:11:37

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

Re: change API code in config.php

I can see none. Looks to me that the API key is stored in the database.

same with admin credentials

(both of which can be changed from within Backlight anyway)

or were you looking to change something else?


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-08-04 02:42:27

gwlco
Member
From: Pensacola, Fl.
Registered: 2012-10-24
Posts: 337
Website

Re: change API code in config.php

Thank you. Its just that I had remembered in some of the videos Matt had done that you could change the publisher api by inserting the code in ./publisher/config/config.php

Offline

#4 2017-08-04 05:16:17

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

Re: change API code in config.php

hmm. I don't recall those.


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-11-16 17:26:36

jc2k
Member
Registered: 2017-10-19
Posts: 14

Re: change API code in config.php

Where/how do you change the API key in Backlight?

rod barbee wrote:

I can see none. Looks to me that the API key is stored in the database.

same with admin credentials

(both of which can be changed from within Backlight anyway)

or were you looking to change something else?

Offline

#6 2017-11-16 17:33:30

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: change API code in config.php

On the Settings page. Log in, access the Backlight menu, and Settings.

The API key is arbitrary, but should match in Backlight's Settings and in the Publish Services settings.


Matt

The Turning Gate, http://theturninggate.net

Offline

#7 2017-11-16 17:52:15

jc2k
Member
Registered: 2017-10-19
Posts: 14

Re: change API code in config.php

I cant seem to find it- I even clicked on "show advanced settings"...

Offline

#8 2017-11-16 18:12:57

jc2k
Member
Registered: 2017-10-19
Posts: 14

Re: change API code in config.php

In the Backlight First Look video, the heading "Publisher" comes after Vendor Email, yet on my Backlight Settings page, the heading "Contact forms" coms directly after Vendor Email ... so there's no API key field.

In the video, it's referring to the initial set up, whereas I've already set it up, but I cant remember the API Key, so the LR plugin (v1.2.3) cant be authenticated...


Thanks!

Offline

#9 2017-11-16 19:18:08

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

Re: change API code in config.php

The API Key can be set under Backlight > Publisher > Settings.

As a note, those initial settings can be viewed again by visiting Backlight > Settings, clicking on  Show Advanced Settings, then Edit Settings.  Set 'Show Quick Settings' to 'yes', then logout and back in again.

There's no need to do that though, as the 'Quick Settings' are all available elsewhere, such as can be seen with the API Key setting, under Publisher.

Offline

#10 2017-11-17 12:37:42

jc2k
Member
Registered: 2017-10-19
Posts: 14

Re: change API code in config.php

Ben wrote:

The API Key can be set under Backlight > Publisher > Settings.

As a note, those initial settings can be viewed again by visiting Backlight > Settings, clicking on  Show Advanced Settings, then Edit Settings.  Set 'Show Quick Settings' to 'yes', then logout and back in again.

There's no need to do that though, as the 'Quick Settings' are all available elsewhere, such as can be seen with the API Key setting, under Publisher.


I tried that, and I still don't see a field to enter the API key, like it shows in the video....
Nor do I see "publisher" on any of the pages (Settings, Edit Settings)

Mac OS 10.12.1
Backlight 1.2.3
Browser: Chrome Version 62.0.3202.94

Offline

#11 2017-11-17 12:44:21

jc2k
Member
Registered: 2017-10-19
Posts: 14

Re: change API code in config.php

Finally!

I followed your steps again, and this time CLICKED THE SAVE SETTINGS box at the very bottom of the page.
My OCD requires instructions to be complete, and assume that I'm an idiot. (apparently I'm one of those people.)

Thanks!

Offline

#12 2017-11-17 12:57:15

jc2k
Member
Registered: 2017-10-19
Posts: 14

Re: change API code in config.php

Ben wrote:

There's no need to do that though, as the 'Quick Settings' are all available elsewhere, such as can be seen with the API Key setting, under Publisher.

backlight_homepage_123.jpg

This is a screenshot of my Backlight homepage - how would you get to "Publisher" or "Quick Settings" from here, without going to Advance Settings...?

Last edited by jc2k (2017-11-17 13:01:23)

Offline

#13 2017-11-17 13:15:15

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

Re: change API code in config.php

Via the menus. Backlight then Publisher then Settings.

Offline

Board footer

Powered by FluxBB