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.
Thanks Rod.
I'll wait for Ben or Matt to come back to me.
Hi Rod,
That was turned off but I've set that to 'Yes', saved the settings, cleared the cache but no change to the test post.
I was wondering if my WordPress settings were an issue.
Ought I to be using the Gutenberg Block editor (which I loathe) - I am on Classic Editor and I used the Text not Visual to enter the code.
Ought I to have a JSON Plugin in WP?
Hi Ben,
I've been rooting through help FAQs on my host and I am wondering if the https is causing this problem.
They suggest that this be added to .htaccess;
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
If I were to add this to the .htaccess file, is there a particular hierarchy as regards where that statement should go and is this a possible cause for the api not pulling through from Backlight to WP?
As you know I'm not a coder but I'mm looking for possible environmental variables in a root cause way to this problem.
Thanks
Hi Ben,
Looking at the output in your API test I am wondering why the breadcrumb field is empty at album level when breadcrumbs are turned on for the album as published, yet breadcrumb for children level shows as turned on.
I presume that the permalink field relates to a gallery that might exist in the Media store within WP or am I wrong in the presumption?
I tried a different browser but same issue.
Would that be an .htaccess thing? Yesterday, I fixed page 404 issues when clicking on images in blog posts but that was a permalinks resetting which this won't be as all those images were in the WP media store.
There was some security thing that you worked around for me when I first moved to this host Easter 2018. Will you need me to send you the cPanel credentials again?
Thanks
Hi Matt,
I sent a new email today for cPanel access if you need it. Let me know if you need any more information.
Thanks
Hi Matt,
I just tried the regular [gallery] WP shortcode - a first time I think- and it worked https://tomowens.openpoint.co.uk/blog/2 … t-gallery/
Thanks Daniel,
At least the images went well with your lab colour scheme!
Hi Daniel,
When I moved to my current host Ben had to do something for me as the host provided some important error trapping stuff that he found very useful. I would not know where to start with this stuff.
.htaccess contains this code;
<IfModule mod_headers.c>
<FilesMatch "\.(eot|font.css|otf|ttc|ttf|woff)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteCond %{REQUEST_URI}::$1 ^(.*?/)(.*)::\2$
#RewriteRule ^(.*)$ - [E=BASE:%1]
##RewriteRule ^(.*)$ - [E=BASE:]
RewriteBase /
RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$
RewriteRule ^.*$ - [E=BASE:%2]
RewriteRule ^(.*)$ - [E=QS:mod_rewrite=on]
RewriteRule ^([^\/.]*)-single.php$ %{ENV:BASE}single.php?%{ENV:QS}&id=$1 [QSA,L]
RewriteRule ^([^\/.]*).css$ %{ENV:BASE}index.php?%{ENV:QS}&extension=css&name=$1 [QSA,L]
RewriteRule ^([^\/.]*).js$ %{ENV:BASE}index.php?%{ENV:QS}&extension=js&name=$1 [QSA,L]
RewriteRule ^([^\/.]*).gif$ %{ENV:BASE}index.php?%{ENV:QS}&extension=gif&name=$1 [QSA,L]
RewriteRule ^([^\/.]*).png$ %{ENV:BASE}index.php?%{ENV:QS}&extension=png&name=$1 [QSA,L]
RewriteRule ^([^\/.]*).jpg$ %{ENV:BASE}index.php?%{ENV:QS}&extension=jpg&name=$1 [QSA,L]
#RewriteCond %{QUERY_STRING} !mod_rewrite=on
#RewriteRule ^index.php$ %{ENV:BASE}index.php?%{ENV:QS} [QSA,L]
RewriteCond %{QUERY_STRING} !mod_rewrite=on
RewriteRule ^mobile.php$ %{ENV:BASE}mobile.php?%{ENV:QS} [QSA,L]
RewriteCond %{QUERY_STRING} !mod_rewrite=on
RewriteRule ^(.*)download.php %{ENV:BASE}download.php?%{ENV:QS} [QSA,L]
#RewriteRule ^/?$ index.php [QSA,L]
RewriteRule ^$ %{ENV:BASE}index.php?%{ENV:QS} [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ %{ENV:BASE}index.php?%{ENV:QS}&page=$1 [QSA,L]
</IfModule>
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “alt-php70” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-alt-php70___lsphp .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
Hi Daniel,
Line 49 has that code.
Your link takes me to a 404 grey and pink page
Hi Rod,
I'm on 5.4.1 which is the latest version available for me.
Hi Daniel,
A test post is here;
https://tomowens.openpoint.co.uk/blog/2 … de-insert/
Making them private and sharing the link caused the Error 404 page to kick in so this test post just shows what I get from inserting the code - a grey bar
The blog is currently on the cloned pangolin page and theme taken from the last working version which was 1.2.2. saved in BL3
Tried that but no change in that the problem remained with plugins disabled and page refreshed
Good question Rod,
I was trying to insert https://tomowens.openpoint.co.uk/galler … down-2020/ (5 digit code) and is definitely an Album and I tried to also insert https://tomowens.openpoint.co.uk/galleries/documentary/ which is the Album set and had a 6 digit code which ought not to have worked but all I get is the grey bar displayed.
I'll make the post with 3 IDs in Public again. Just two Album shortcodes in there now
I'll hide these test posts now and I've just gone back to the BL3WP theme I created earlier.
No just wider grey bars
Just double checked and the gallery ID were correct at 5 characters for the albums but the top level in this case 'Documentary' is a 6 digit number. I've tried inserting that and the two galleries within it to the post - 3 grey bars.
I'll see if changing the columns in the page template makes a difference.
Hi Rod,
I tried creating a new page template specifically for WP based upon the settings in my BL1.2.2 version. I created a new WP Theme based on that page template, exported and activated it in WP but all I get is a grey bar where I presume the gallery ought to be displayed.
I've just tried adding the columns parameter to two posts and refreshed the pages but just the same grey bar
Hi Rod,
My BL WP theme is definitely showing as 3.0.2. I'll try a quick new theme from a new page template.
Thanks for your help and being an early riser!
I'll report back with the result.
Hi Rod,
Just a thought but is this feature reliant upon BL publisher? All my publishing is from LR and the source shows as that in the Publisher/Galleries/Albums page. Obviously if I inserted a single image into a post previously then I'd have to upload the image to WP's gallery to pick from.
The page was a Pangolin page that I cloned from. Okapi has not been a part of my installation since I converted to Pangolin pages in BL1 beta testing. Okapi is not installed in my setup.
All templates show the type as Pangolin Page, Pangolin Album Set, Pangolin Album, Pangolin Galleria, Pangolin Theater, Pangolin WordPress Theme.
The WP theme today is as saved in BL3. The old one was from BL1.2.2 - I never needed to change it until I thought I ought to for the new JSON stuff today.
Ought I to delete the new theme and page templates and recreate based on my previous settings? Maybe cloning was the wrong thing to do...
Hi Rod,
Yes, in the text editor
Sorry I posted the original in BL2 by mistake
Hi,
I watched the video that Matt posted earlier on using the JSON api and inserting the album ID into a WP post.
I've tried this today but I cannot display the gallery I was linking to. I inserted this [backlight album="55496"] having identified the album ID.
JSON is turned on and saved. I cloned my original WP page template and Theme template from their original BL1.2.2 versions and created a new BL3 WP theme that I exported and activated in WP. Ought I to have created the page template and them from scratch in BL3 for this to work?
The unfinished blog post is here https://tomowens.openpoint.co.uk/blog/2 … istancing/
Grateful for any pointers.
Just in case anyone else gets this, it is an LR 'thing'. Despite having published images with watermarks this year and having my Grey2020 graphic wm already in use LR did not recognise it when I went to Edit Watermarks in LR Classic (MACOS) so I had to recreate it in PS and save again as PNG and change to the new file in LR and now it works.
Weirdly, my 2019 Watermark was recognised and I could have applied that. I'll just have to look out for this Adobe feature each and every time it updates my PS & LR installation...
OK, this must be an LR thing as it took an early morning walk to think about testing the export of a file from LR with watermark and that does not work either so the problem is not with publishing.