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.
Chumby, so you want to prevent people to advance in the single page view?
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>
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.
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.
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.
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>
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.
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://.
Chumby, you already reported this some weeks ago the http://community.theturninggate.net/vie … p?id=11172.
And a link might be helpful too.
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.
Hi Daniel,
Thanks, it's OK now!
BernardPS : 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.
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.
For data-name, I would assign something like $photo->getMetadata(Photo::$PHOTO_TITLE)
Thank you, Oliver. Now that I know what I have to look for, I am able to reproduce it.
Oliver, how does the description meta data look like when you use umlauts?
The problem is that using ÄÖÜ in Album Description results in those ä Ä 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 &.
The data-item statement belongs in here: <button....
Hi Oliver, sorry, I only get the homepage as a result
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()
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.
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/
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.
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.
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.
Do you have a link to an album that shows the issue?
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.