Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 Re: Backlight Support » How to you manage your test environment? » 2017-04-24 05:10:38

I test new settings in a test domain that I have in a separate subdomain. But you could have a second installation in a subdirectory as well. Going this route, you would have something like mydomain.com/test with backlight installed in mydomain.com/test/backlight. Changes to the settings would be shared using export/import while changes to custom CSS and phplugins would be a simple file copy.

#2 Re: Backlight Support » .htaccess redirect not working » 2017-04-22 01:44:08

Or maybe

RewriteRule /galleries.php /commercial/ [R=301,L]

I would add this as the first rule after 'RewriteEngine On'

#3 Re: Backlight Support » .htaccess redirect not working » 2017-04-22 00:06:51

Following format should work:

Redirect 301 /old-page.html http://www.mydomain.com/new-page.html

Redirect 301 code is a permanent redirect. This means that search engines should update their internal database to always use the new location.

#4 Re: Backlight Support » Album set template not formatting correctly » 2017-03-31 10:18:22

I see that all of your CSS is minified. How is that happening?

It looks like he uses Cloudflare. I think that is a feature they provide. Might be worthwhile to disable it.

#5 Re: Backlight Support » navigation mix-up » 2017-03-24 03:45:44

I should have added that you will need two Publisher services in Lightroom, one for the english and one for the french pages.

#6 Re: Backlight Support » navigation mix-up » 2017-03-24 03:40:31

The problem is with Publisher and the Galleries page. For some reason, the En gallery thumbnails linger on the french page. Also, Publisher always returns a duplicate gallery found message.

Did you delete the galleries on your french site and re-create them in Lightroom? If not, that's what you should do to avoid conflicts with Lightroom's Publisher module. You can directly delete them in /nat/fr/Backlight.

#8 Re: Backlight Support » image on home page not displaying » 2017-03-16 01:47:31

Food for thoughts: Maybe you can do everything with one backlight install!

Concept: Custom pages reside in the root of your site, but you can't put them into a subdirectory such like /en. But you can have a hierarchy using Album Sets and Albums without images:

  /backlight
  /en <= album set, all containing albums or album sets have "Hide from Album Set" selected
  /en/about <= album with no images, text entered in album properties in lightroom
  /en/xxx <= dito for all your other pages
  /en/galleries <= gallery set with all your albums or more album sets
  /fr/ <= album set, content not visible
  /fr/...etc 

So the idea is really to use Albums as Pages but not using their images feature by not assigning any images.

With Backlight, you can have more than one menu! So design a menu for your english and one for your french pages. Then assign them to their respective templates.

One limitation are contact pages. Maybe you are okay with having something like contact_en and contact_fr in your root directory. Maybe there are other limitations... but I can't think of anything right now.

I currently use a similar structure at http://danielleu.com/shop/. /shop is an album set with /shop/greeting-cards being an album. (Eventually, each product will be an album with more infos).

Maybe this would work for you, maybe not. Have fun!

#9 Re: Backlight Support » image on home page not displaying » 2017-03-16 01:11:45

Maybe the easiest is to restart with a new install. First create your /en/ pages with Backlight installed in /en/backlight. When this is working, create your french pages in /fr/ with a new Backlight installation in /fr/backlight. You will able to share your design templates from /en/. So that will be much less work. Finally create your entry page in / with Backlight installed in /backlight.

This way, you will avoid the confusion of where which page is set etc.

Just my 2 cents.

#10 Re: Backlight Support » How to insert a link in the masthead » 2017-03-09 11:51:37

The challenge is to come up with the proper CSS so that the masthead scales with the size of the browser and looks nice on desktop and mobile.

#11 Re: Backlight Support » How to insert a link in the masthead » 2017-03-09 04:04:51

Hi Oliver,

I replaced the entire masthead with my own code using ttg_masthead_top and using false as return value.

ttg_masthead_top

if return=false, normal Backlight masthead is skipped
called immediately before the masthead element
fully encompasses the masthead; can be used to replace it

#12 Re: General » Markup Editor - Mou alternative » 2017-03-07 13:02:55

Electron looks like a cool project. Something to look at. Thank you for sharing, Matt.

#13 Backlight Support » Google found my image » 2017-02-15 09:50:23

Daniel Leu
Replies: 1

I was always a bit sceptical how well Google would index my images. A client provided a name of an image and a quick google search provided the link to the single image page. Yeah! Happy! Great job, Matt!

Now I really have to consistently name and tag all my images to get more Google hits and sales ;-)

#14 Re: Backlight Support » Search feature reveals hidden albums » 2017-02-09 12:59:32

True that currently the onus is on the user to hide albums, but users are human and humans make mistakes.  On my current CE3 site I have roughly 50+ client albums sets with multiple albums in most. When I migrate them to my backlight site and add new galleries in the future I'm bound to miss the "Hide from search" option on one or two, no matter how careful I try to be.

When creating a new album, you can copy the settings from an existing one. How about creating a template album that has all your default settings? When you create a new album, you would select your template album to copy the initial settings from.

#16 Re: Backlight Support » Quick and easy: social media sharing links for Backlight WP Theme » 2017-02-07 07:17:35

Thank you for sharing! The Twitter link works for me, but not Facebook. This is the generated link:

https://fotos.michilge.de/blog/westfalenpokal-fc-bruenninghausen-tsg-sprockhoevel-12/%20title=

I think the href argument is missing a closing quote:

<a target= "_blank" href="https://www.facebook.com/sharer/sharer.php?u=<?php the_permalink(); ?>" title="Facebook"><i class="fa fa-fw fa-facebook"></i><span>Share</span></a>

#17 Re: CE4 Publisher » Issues with Publisher - new user » 2017-01-14 04:00:11

riccardo wrote:

On #1 - I have tried it on Safari (main browser I use) and Chrome, and I don't see them.  Hmmm.  What browser are you seeing them on.  Can you send me a screen shot?

I see the LinkedIn and Instagram social media icons at the bottom of your page in both Safari and Chrome, and they both work.

#18 Re: Backlight Support » captcha support » 2017-01-08 03:05:52

I haven't seen any spam coming through my contact page. Really happy about that!

#19 Backlight Support » Coupon » 2016-12-19 02:12:28

Daniel Leu
Replies: 1

Just was wondering, can a coupon code be used more than once?

#20 Re: Backlight Support » The Image could not be loaded error » 2016-12-17 00:37:05

Try to use filenames that do not contain special characters such as commas.

#22 Re: Backlight Support » Catastrophic Complete Backlight Failure » 2016-12-13 01:04:52

Ben wrote:

Hi Mike, I've emailed you a PHP test file for measuring the performance of a single SQLite query that does not use any Backlight code.

For anybody else interested, the contents of the file is:

<?php
	$start = microtime(true);

	$pdo = new PDO('sqlite:backlight/data/publisher/master.sq3');

	if (isset($_REQUEST['pragma'])) {
		$res = $pdo->query('PRAGMA synchronous = off');
		$pdo->query('PRAGMA journal_mode = PERSIST');
	}

	$queryStart = microtime(true);
	$pdoStatement = $pdo->prepare('select * from album');
	$pdoStatement->execute();
	$results = $pdoStatement->fetchAll(PDO::FETCH_ASSOC);

	$count = count($results);
	$end = microtime(true);
	$queryTime = ($end - $queryStart) * 1000;
	$totalTime = ($end - $start) * 1000;

	echo 'Found '.$count.' albums in '.number_format($queryTime, 3).' milliseconds<br/>';
	echo 'Total time taken: '.number_format($totalTime, 3).' milliseconds';
?>

If uploaded as a file http://yoursite.com/sqlite_performance.php, the time taken to run a query is reported.  A URL such as  http://yoursite.com/sqlite_performance.php?pragma tests with the variables that we have found to improve performance on hosts using network storage.  The results for my own site, with 30 albums is less than 2 milliseconds, whether pragma is set or not.

Apart that you did this for debugging an issue, this is really cool. I was wondering in the past if the performance flag would benefit me, but never tried it. With 65 albums, it went from 4.3ms down to 2.2ms (I'm on Bluehost). So definitely something I should enable. Thank you for sharing!

#24 Re: Backlight Support » Embeded Image on Added Page Not Showing » 2016-11-30 07:40:16

The path should start with a '/':

 <img src="/backlight/photos/FaintingGoat.jpg" width="350" class="alignleft">

#25 Re: Backlight Support » Inserting more than one Album Set » 2016-11-28 08:01:08

volvoxturbo wrote:

Hi Daniel,

I am with other things right now, so the projects site will be untouched until i have a solution for the hover thing ;-)

Best regards,
Oliver

I understand that you don't want to modify the project page. I wouldn't do it either. But if you can't make a test page, there is no more help from my side :-(

Board footer

Powered by FluxBB