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.
You are not logged in.
Do you use the correct API? eg, https:// if your site is running https://?
Maybe this helps: https://backlight.me/docs/password-retrieval
Yes, for this reason I put collaspsible content
It might be helpful if you showed the behavior without the collapsable text.
Did you change your site URL to start with https:// in the backlight admin section?
I can reproduce it on my site and reported it.
For my site, I changed how breadcrumbs are created for non-gallery pages and this fixes the errors reported by google. But obviously, this doesn't change anything for galleries.
Most likely a cache issue. It has a black background for me, both in Safari and Chrome.
Nico, did you look into using popups that are directly supported by Backlight? Rod has an article on how to use and style them: https://ttg-tips-and-tricks.barbeephoto … pup-boxes/
Two opening and three closing divs..... </divs>
This one is too early:
<p>A complete resume is available by cliking the red icon.</p></div>
I looked at some of your custom CSS and you are setting items that can be done in the Backlight album. I would recommend that you set everything that you can in Backlight Designer and only use custom CSS for things that can't be done in Backlight Designer.
Instead of lifting code from another site, try to find the proper settings in Backlight Designer. It is really worth your time to have a clean implementation!
To get rid of the line, you can use
.albums figcaption {
border-top: 1px solid #000000;
}
Sorry, I kind of missed same images... obviously republishing doesn't help in this case...
Maybe the thumbnail size is just off by a pixel? In the english site, I would republish all images. And check that 'republish only thumbnails' is not checked in publisher settings.
ok, I see
I use the album_top hook to display the found photos in the photo search.
And I use the album_bottom hook for the "back-link" to the previous albumThen I guess this probably won't work?
You can use something like
function album_top(){
if ($this->dlp_page_match('/backlight/search')){
echo ' whatever you want to display on search albums';
} else {
echo ' whatever you want to display on regular albums';
}
return true;
}
The 'dlp_page_match' function is described over on my blog: https://lab.danielleu.com/blog/page-specific-php-code/
For those following this thread and are running in some errors with the original code, I have improved the JSON fetching function with some additional error handling. More on my blog at http://lab.danielleu.com/blog/using-bac … hp-take-2/
In an effort to assess if everything is up to date for my WP installation I ran aSite Health Status report in WP and the following was listed about the REST API -
The server cannot find the requested page tomowens.openpoint.co.uk/blog/wp-json/wp/v2/types/post?context=edit (port 443)
That sub-directory 'wp-json' does not exist in my installation. Is this a possible cause of the issue I have?
'wp-json' is a virtual directory like '/backlight/api'. Therefore it is normal that you don't see it. I think you get the error because the URL doesn't contain a post ID.
The Wordpress REST API is the JSON interface for Wordpress. This is not related to the Backlight JSON API which provides a JSON interface for Backlight.
I think the issue is that either .htaccess or your host is blocking access to the Backlight JSON API. Do you have any type of firewalls active? I would look at the cpanel of your host.
no
well....maybe? Using the new JSON API perhaps?
Nope. The JSON API provides access to album and image data. That's it.
Yes, I did something very similar the other day: https://lab.danielleu.com/blog/customiz … -selector/
Pierre, you have the labels reversed. When the page is in english mode, you really want to show 'EN' and not 'FR':
html[lang="en"] .fa-globe:before {
content: "FR";
}
html[lang="fr"] .fa-globe:before {
content: "EN";
}
Thanks Daniel,
At least the images went well with your lab colour scheme!
What a nice coincidence! How many of us are now turning towards photographing flowers...
Look at the quotes you were using! You need a plain text editor!
Something for Ben and Matt to look at.
Hi Daniel,
Line 49 has that code.
Your link takes me to a 404 grey and pink page
So I really don't understand how private posts work in WP
Here we go:
Did you do any custom .htaccess magic on your site?