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.

#701 Re: Backlight Support » Sitelock seal » 2018-06-08 23:44:27

Looks like your original code has an error. The image link should be

src ="https://shield.sitelock.com/shield/rainerhassmann.de"

#702 Re: Backlight Support » Sitelock seal » 2018-06-08 09:27:52

oops... it should be: function ttg_footer_bottom(...

#703 Re: Backlight Support » Sitelock seal » 2018-06-08 08:57:40

I try to keep it in english so others can follow the thread as well smile

Do you have a link to the page where it should show?

#704 Re: Backlight Support » Content Below Albums » 2018-06-08 07:44:11

In Backlight's Album Templates, you can select if your Page Copy is above or below the gallery. If you would like to have text above and below, then you would have to use phplugins.

#705 Re: Backlight Support » Sitelock seal » 2018-06-08 06:55:46

Sorry, I had to two opening brackets instead of one in my code.... But you have to check that you properly copy the code: no space between $ and style/path, closing SiteLock needs to be all capital.

#706 Re: Backlight Support » Sitelock seal » 2018-06-07 09:09:41

Pixelmover wrote:

Who can help me with this?
Where should the code for the sitelock seal be copied:

<a href = "#" onclick = "window.open ('https://www.sitelock.com/verify.php?site=rainerhassmann.de','SiteLock','width=600,height= 600, left = 160, top = 170 '); "> <img title =" 1 & 1 SiteLock "src =" [url]https://shield.sitelock.com/shield/rainerhassmann.de[/url] "alt =" Homepage Security "> < / a>

Thank you in advance

I would put it into the footer using phplugins. Maybe

function ttg_footer_bottom( $style, $path ) { 
echo <<<SITELOCK
<div id="sitelock">
<a href = "#" onclick = "window.open ('https://www.sitelock.com/verify.php?site=rainerhassmann.de','SiteLock','width=600,height= 600, left = 160, top = 170 '); "> <img title =" 1 & 1 SiteLock "src =" [url]https://shield.sitelock.com/shield/rainerhassmann.de[/url] "alt =" Homepage Security "> </a>
</div>
SITELOCK;

} // END /**/

I put it inside a <div> so you can use some custom.css to place it. Maybe #sitelock {float:right;}

updated code to fix errors

#707 Re: Backlight Support » EU Data Protection and Google fonts » 2018-06-07 08:54:55

rod barbee wrote:

Google fonts are loaded from Google.
For example, I'm using the "Lato" font from Google on my test site.
This line is added to the page source code, calling the font from Google:

<link href='https://fonts.googleapis.com/css?family=Lato:400,400italic,700,700italic,300' rel='stylesheet' type='text/css'>

If you are inclined to do it, you can host it on your own server. There are many tutorials out there, but this seems to be one of the easiest ones: https://canonicalized.com/local-font/

The css code belongs into your custom.css and the path to the font files needs to be adjusted as well.

#708 Re: Backlight Support » I've managed to mess my site up :( » 2018-06-07 01:08:17

Terry, I would make a new install of Backlight in a subdirectory and see if this works.

#710 Re: Backlight Support » Need to new login after some seconds into Backlight » 2018-06-05 23:34:23

Do you see the same behavior in Safari or Chrome?

As Matt suggested, I would disable all the Extensions and see if this makes a difference.

#711 Re: Backlight Support » I lost my two-column layout with my right tray?? » 2018-06-05 07:24:09

For Wordpress, you would need to create a new Page Template that has two columns.

Something like: Clone your existing template, then edit the new template and select a two columns layout  in the layout section, next select this page template in your Wordpress Theme Template and do a Export Theme to Wordpress, and you then you should be able to add your widgets again.

#712 Re: Backlight Support » Solved: Publisher can't publish new album - Disk Error » 2018-06-04 10:47:08

Sounds like a server issue.

Did you get an error when you tried to publish the album?

#713 Re: Backlight Support » Change the image that is displayed when linking a page to Facebook » 2018-06-03 05:49:54

rod barbee wrote:

I’m assuming it would be the same for a page that has an inserted album, but I’ve not specifically checked that out yet.

Rod, wasn't this the workaround you discovered a while ago to have a default/social image on Backlight pages by inserting an 'invisible' album?

#714 Re: Backlight Support » Cookie Consent » 2018-06-03 01:17:50

markh wrote:

Have been following this post with keen interest. I've manged to get the cookie consent warning to appear very nicely. But there's just one thing bugging me, well...vexing me, actually. Pixelmover has his warning link to a cookie-consent page that opens in a new window. Daniel has his warning link to a cookie-consent page that opens in the same window. I'm assuming this is an "a href target="_blank"  thing or an "a href target="_self" thing but I'll be an expletive deleted if I can figure out where that's hiding. Thought I had it tracked down the center of that big block of code in cookieconsent.min.js but I was wrong. My cookie_consent warning links to a page that open in a new window and I'd dearly love to have it open in the same window. What's the secret?
Mark

A link to a page where the problem is shown is always helpful. But if you want to open a link in the same window, just don't use target.

#715 Re: Backlight Support » Change the image that is displayed when linking a page to Facebook » 2018-06-01 12:33:34

divinemayhemstudios wrote:

I have no clue. My first big question after investigating things is.. Where are the files for http://www.divinemayhem.com/weddings located? I have a /Weddings/ folder in my /public_html, but those are independently created sites for my individual wedding clients. I don't see a public_html/weddings folder at all, and yet the page works! Is it stored somewhere else? I see all of the other pages at the root level, but no 'weddings'.

I deleted that page and created another with the slug dms-wedding because I thought that it may be looking in the capital W weddings subfolder, but when I saved and refreshed my FTP connection, there's no dms-wedding file or folder.

I feel like an idiot.. What am I missing?

Pages that you create with Backlight are not physically present. They are served by Backlight using a combination of .htaccess and index.php.

Are you using the latest version of the different modules?

#716 Re: Backlight Support » Change the image that is displayed when linking a page to Facebook » 2018-05-31 11:29:07

divinemayhemstudios wrote:

Hmm.. I had the cover photo as 'Random'. I changed it to a specific photo and renamed the slideshow/album, published it but nothing has changed.

Hmm... something definitely changed... There is no social image anymore:

		<meta property="og:image" content="" />

Before you had a link to DSC1128-c.jpg. Strange that nothing is shown at all. I would select 'clear template cache' in Backlight > Designer.

#717 Re: Backlight Support » Change the image that is displayed when linking a page to Facebook » 2018-05-31 09:55:56

I think to remember that the social image is taken from the slideshow album (eg, http://www.divinemayhem.com/galleries/0 … lideshow/). Did you set the Cover Image for your wedding slideshow? This is done in Lr Publisher > Album > Edit Album.

#718 Re: Backlight Support » Size of thumbnails in album set is wrong » 2018-05-30 08:37:47

Markus wrote:
Daniel Leu wrote:

Looks like you have solved it... smile

That's right, Daniel. However, I would not have been able to do this without Rod´s support. Thanks again, Rod. And you, too, of course.

Now a little fine-tuning on the album and then I can replace the old page with the Pangolin test page

Ahh... didn't notice that there was a second page to the thread! Looking nice now!

#719 Re: Backlight Support » Cookie Consent » 2018-05-30 02:18:05

Had now internet for a few days.... I copied the content of cookieconsent.min.css into my custom.css file and as Rod guessed, added cookieconsent.min.js to /backlight/custom/js.

#720 Re: Backlight Support » Size of thumbnails in album set is wrong » 2018-05-30 02:14:50

But I would like the hover effect to be applied to both the thumbnails and the figure caption at the same time. No matter if I touch the thumbnails or the figure caption.
Currently only one or the other is happening.

Looks like you have solved it... smile

#721 Re: Backlight Support » Cookie Consent » 2018-05-26 01:33:21

I use exactly the same code on my site as well. Just add it using the ttg_head phplugins' API function:

function ttg_head( $style, $path ) {
echo '
.... this is where the code belongs
';
}

I made two changes: I added the cookieconsent specific CSS to my custom.css file and copied the javascript code to my own site at backlight/custom/js/cookieconsent.min.js. This way my site does not depend on external code.

#722 Re: Backlight Support » Footer search in PHPlugins » 2018-05-26 01:27:15

Better would be to use your own CSS class. This way, you can target this search block and not affect any other design elements:

function ttg_footer_top( $style, $path ) {
echo '
<div id="search_footer" class="collapse clearfix">
<form action="/backlight/search" method="GET">
<input type="text" id="q" name="q" placeholder="Fotosuche" class="footsearch_footer" value=""/>
<button type="submit" class="footsearch_footer">Fotos suchen</button>
</form>
</div> <!-- #search -->
';
return true;
}
//END

I just added '_footer' to all the classes and IDs. Now just add your custom CSS code (yeah, copy search specific Backlight CSS code, add _footer and modify it).

For the action, I wouldn't use an absolute path. So when you move this code to your main site, it continuous to work without any issues.

#723 Re: Backlight Support » Google Analytics » 2018-05-25 09:16:18

You set the code in Backlight > Settings > Website Settings

#724 Re: Backlight Support » Low Quality Set Thumbnails » 2018-05-25 06:54:23

Evagoras wrote:

Hey guys, still no joy with this..

the latest gallery Yiannakis & Natasha's Wedding still low quality.

I've cleared browser and template cache.

Did you republish the album and check that the 'Push metadata without updating existing photos' is not set?

#725 Re: Backlight Support » Size of thumbnails in album set is wrong » 2018-05-25 06:48:37

Markus wrote:

Cool, thanks Daniel! This has worked very well

Which browser do you use to find the right places? I'm still having so much trouble with that roll

Happy that it works for you now! It is not only finding the right place, but have an understanding how Backlight accomplishes certain things and be familiar with CSS. It's a process and I'm still learning every day wink

I use mostly Google Chrome and it's developer tools.

Board footer

Powered by FluxBB