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.

#76 Re: Backlight 2 Customization » Single Image Presentation View: Remove Right and Left Browse icons » 2020-04-17 06:28:00

Chumby, so you want to prevent people to advance in the single page view?

#77 Re: Backlight 2 Support » Designing the Contact page » 2020-04-17 03:26:58

For download, maybe something like

<button class="btn"><a href="/link/to/pdf/file.pdf" download="file.pdf"><i class="fa fa-download"></i> Download</a></button>

#78 Re: Backlight 2 Support » Designing the Contact page » 2020-04-17 03:18:29

First, put your contact information inside a div:

<div class="contact-text">...</div>

Now you can control the format.

I just tried this on my test site:

.contact-text {
  float:right;
  width: 50%;
}

.contact-form{
  float:left;
  width: 50%;
}

You might want to provide different css code for mobile and desktop browsers.

#79 Re: Backlight 2 Support » Languages - Product Title » 2020-04-15 10:36:32

I don't know why it doesn't work with that field. I tried on my test site as well and I was not successful.

#80 Re: Backlight 2 Support » Looping video on home page » 2020-04-15 01:41:49

Pierre, I'm not certain that it is obvious that one has to select english or french in the top right corner to enter the site, or at least it takes some time to figure this out. Just my 2 cents.

#81 Re: Backlight 2 Support » Languages - Product Title » 2020-04-14 11:09:48

I don't know if this is the case here, but sometimes you need to use the span element:

<span data-lang="en">HiRes Image (4:3)</span><span data-lang="zh-Hans">高分辨率图像(4:3)</span>

#82 Re: Backlight 2 Support » serverCertificateHasUnknownRoot » 2020-04-11 08:55:07

Andre wrote:

Hi, the web is: www.arborysta.info.  - all the modules are up to date. But I do not change in admin panel. Should I change only the domain name from http:// to https://  ?  Or there are more things to change.

Thanks for quick reply
Andre

Yes, you need to change that. That should be all.

#83 Re: Backlight 2 Support » serverCertificateHasUnknownRoot » 2020-04-11 06:49:08

Andre, I guess it is https://andrzejsichma.com/. There are many internal links still using http:// which looks like you didn't change your domain name in backlight admin to https://.

#86 Re: CE4 Cart » Updating CE4 » 2020-03-27 06:32:11

I don't have a CE4 installation anymore since it is kind of outdated. So rather spending time with CE4, I would recommend to upgrade to BL2.  Many things are so much easier now.

Anyway, what is the difference with this test gallery and the https://www.leonvanlier.net/galleries/f … eythuysen/ album? The later works.

#87 Re: Backlight 2 Support » Unable to access Backlight modules » 2020-03-27 02:28:53

bernard45 wrote:

Hi Daniel,
Thanks, it's OK now!
Bernard

PS : BTW, do you know what's the problem ?

Great that it works for you! As far as I remember, get2 was a temporary subdomain used when Ben migrated the host to a new web service to mitigate the issues that you noticed before.

#88 Re: Backlight 2 Support » Unable to access Backlight modules » 2020-03-26 01:26:55

Hmm... try to open the file /backlight/installer/env.php. If there is a define for https://get2.theturninggate.net/install/, change it to https://get.theturninggate.net/install/ and try the module update again.

#89 Re: Backlight 2 Customization » Write in Purchase Button - Dynamic "data-item" » 2020-03-25 10:10:50

For data-name, I would assign something like $photo->getMetadata(Photo::$PHOTO_TITLE)

#90 Re: Backlight 2 Support » German Umlaut Ä Ö Ü » 2020-03-24 11:57:44

Thank you, Oliver. Now that I know what I have to look for, I am able to reproduce it.

#91 Re: Backlight 2 Support » German Umlaut Ä Ö Ü » 2020-03-24 00:56:40

Oliver, how does the description meta data look like when you use umlauts?

#92 Re: Backlight 2 Support » German Umlaut Ä Ö Ü » 2020-03-23 04:24:34

volvoxturbo wrote:

The problem is that using ÄÖÜ in Album Description results in those &auml; &Auml; etc.

Thank you for posting the header, but it doesn't show the issue you described! I don't see any html entities for umlauts. Google properly interprets &amp;.

#94 Re: Backlight 2 Support » German Umlaut Ä Ö Ü » 2020-03-22 04:28:14

Hi Oliver, sorry, I only get the homepage as a result sad

#95 Re: Backlight 2 Customization » Write in Purchase Button - Dynamic "data-item" » 2020-03-22 01:15:56

chumby wrote:

Looks good but how do you link this code up to your "But Image" button?

You already posted your button code. So now you just have to modify the few variables to get what you want.

data-item=$photo->getFilename()
chumby wrote:

Also, is Filesize include in the photos info?  If not - how do I integrate  further javascript in my-php-plugins to find this out?

You should be able to get the filesize using the php filesize function:

filesize ( $photo->getFilename() )

I don't know if this size is really useful because usually, an image is downscaled for your album and the jpeg quality is reduced as well. So you only get the image size (and dimensions) of the photo used in your gallery and not the original work.

chumby wrote:

If not - how do I integrate  further javascript in my-php-plugins to find this out?

I have an example on how to use javascript on the single-page view: https://lab.danielleu.com/blog/adding-k … age-pages/

#96 Re: Backlight 2 Support » Cart: Item name » 2020-03-22 01:01:52

Phplugins doesn't have a cart support API. I never looked how the cart handling is done in javascript. But I don't advocate to modify/hack the backlight files. So I would look at another approach:

Your best bet is to create categories based on image size (eg, dimensions). This could be a range of dimensions. You could use Lr smart albums to group identical/similar sized images together and then apply the same category to all of them. Now in the cart you could use a common text for all of them.

#97 Re: Backlight 2 Customization » Write in Purchase Button - Dynamic "data-item" » 2020-03-21 16:14:20

Yes, this can be done. I use it on my site: https://danielleu.com/galleries/united_ … single.php

Here is a link that shows you how to get to the photo infos: https://lab.danielleu.com/blog/customiz … page-view/

And regarding your code, the buy button is not javascript, so you don't need the <script> tags.

#98 Re: Backlight 2 Support » Publisher in Lightroom linked to parked domain URL - how to change? » 2020-03-21 04:02:18

The http to https redirect is good! But it looks like you are pointing the .co.uk domain to the .com domain folder on your site. In your cpanel, check if you can point your .co.uk domain to the .com domain. Then whenever you enter .co.uk, you are automatically redirected to the .com domain.

#99 Re: Backlight 2 Support » German Umlaut Ä Ö Ü » 2020-03-21 00:25:29

Do you have a link to an album that shows the issue?

#100 Re: Backlight 2 Support » Gallery image - change background » 2020-03-17 01:25:48

It has been done with custom css. I think this is what you are looking for: http://community.theturninggate.net/vie … 539#p48539. Or at least it should help you to get there.

Board footer

Powered by FluxBB