Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 Re: General » Website on BlueHost is Now Not Operational! » 2017-06-22 04:07:31

Alan, some pages need more work.... eg, … ndandtime/.

I would copy /home/alansisl/public_html/lib/php/Parsedown.php to /home/alansisl/public_html/ttg-be/framework/lib/Parsedown.php and then the galleries should work, hopefully.

#2 Re: General » Website on BlueHost is Now Not Operational! » 2017-06-20 23:50:51

On the contact page I see this error message:

Function name must be a string|#0 /home/alansisl/public_html/lib/php/Parsedown.php(931): Parsedown->element(Array) #1 /home/alansisl/public_html/lib/php/Parsedown.php(257): Parsedown->elements(Array) #2 /home/alansisl/public_html/lib/php/Parsedown.php(48): Parsedown->lines(Array) #3 /home/alansisl/public_html/contact.php(422): Parsedown->text('######Conta...') #4 /home/alansisl/public_html/contact.php(426): includeFragment('contact-main') #5 {main}|URL: /contact.php

I think Matt's diagnostic is right on.

#3 Re: Backlight Support » Highlight Top-Level Gallery » 2017-06-15 00:15:31

Looks much cleaner! :-)

Thanks for the beer offer. Maybe next time when I'm back in Switzerland?

#4 Re: Backlight Support » Highlight Top-Level Gallery » 2017-06-14 15:03:46

Happy that this works for you know. The code looks okay to me, although it could be tidied up a bit (one variable instead of three, or none at all, "http://" and SERVER_NAME are not really needed...).

Sidenote: I don't like to use the <?php .. ?> tags inside my functions. To me, the code becomes illegible. But that's me.... ;-)  So I keep everything php and use the echo command to output html code. This might need some escape ('\') characters once in awhile, but I prefer it that way.


#5 Re: Backlight Support » Highlight Top-Level Gallery » 2017-06-14 05:11:38

Hallo Moritz,

With $test you already know the pathname. You can use this directly in your javascript code. Maybe something like this in your phplugins code:

echo "
	$(function() {
		$(\" a[href='\" +". $test ."+ \"']\").addClass('selected').parents('li').children().addClass('selected');

Please note that I did not verify this code and might have overlooked an escape or two....

Viel Spass!


#6 Re: Backlight Support » Problem migrating albums from CE4 to Backlight » 2017-06-09 07:19:06

It is missing or doesn't find the CE4 Publisher module on your website. Do you still have /ttg-be?

#8 Re: Backlight Support » ttg_copy_bottom PHP Hook » 2017-06-04 06:07:54

Have a look at Rod's description of the grid framework at http://ttg-tips-and-tricks.barbeephoto. … backlight/. With a grid_12 and col_3 you should be able to design your grid as you have it on your old page.

#9 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 with backlight installed in Changes to the settings would be shared using export/import while changes to custom CSS and phplugins would be a simple file copy.

#10 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'

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

Following format should work:

Redirect 301 /old-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.

#12 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.

#13 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.

#14 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.

#16 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:

  /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

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 /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!

#17 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.

#18 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.

#19 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.


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

#20 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.

#21 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 ;-)

#22 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.

#24 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:

I think the href argument is missing a closing quote:

<a target= "_blank" href="<?php the_permalink(); ?>" title="Facebook"><i class="fa fa-fw fa-facebook"></i><span>Share</span></a>

#25 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.

Board footer

Powered by FluxBB