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.
Great, thanks Rod. I will try your suggestion.
Yes, everything up to date for me for Backlight 2.
Cheers,
Chumby.
Hi there,
I have included an "Add Photo Package" which is working well when you are browsing images in the album.
When I search on keywords a set of photos is returned, and the "Add Photo Package' button is still showing up, but I get an error message saying "No Products Available for Purchase".
Is there anyway I can get this button to work on search results... or hide it when a search is completed so users don't get confused?
You can see it at: https://www.tasmanianphotos.com
Cheers,
Chumby
Yea, would be nice to have a workaround for this... I would think it would be pretty important if I was going to purchase something online (in my own native language) I could actually read what it was called.
Saying that, I suppose I could put the Product Title as the first line in the description to get through.
Thanks for the help Daniel.
Cheers,
Chumby
Ah of course - and it does as well, Rod.
Thanks for the fix on this one Ben.
Cheers,
Chumby
Hi Ben,
Thanks for this. I have downloaded and tested.
Looks good for a search result - try "primrose" at https://www.tasmanainphotos.com - the play button marker is gone. Great!
I do notice it is still there though when I am clicking through the album (not searching).
Could be a browser/caching issue... but click through the photos in the album at:
https://www.tasmanianphotos.com/tasmania/stock/images/
and to me the play button still appears there. Is that happening for you?
Appreciate your work on this issue.
Cheers
Chumby
Thanks Dan,
Tried that as well but no good unfortunatley.
Maybe you cannot not add markup in this field as there is no markdown reference?
Cheers
Chumby
Hi there,
I have managed to get my second language (Chinese Smplified) appearing ok in my product description in Cart by using DIV tags such as the below.
<div data-lang="en">
<ul>
<li>Suitable to print Large Posters and Wall Hanging Pictures
<li>The image has been prepared in the 4:3 ratio
<li>Approximate file size is 10-15 Mb
<li>Image will be available for download after confirmation of purchase and consequent upload to servers
</ul>
</div>
<div data-lang="zh-Hans">
<ul>
<li>适合打印大型海报和壁挂画
<li>图像以4:3的比例准备
<li>大约文件大小为10-15 Mb
<li>确认购买并随后上传到服务器后,即可下载图像
</ul>
</div>
I can't seem to be able to change the product title - using div or span tags. Any ideas? I have tried below:
<div data-lang="en">HiRes Image (4:3)</div><div data-lang="zh-Hans">高分辨率图像(4:3)</div>
ok, thanks Matthew.
Hi there,
When using the slideshow in Backlight 2 you can add an image to your cart via the "Add to Cart" icon and then you are taken back to the image after you go through the process off adding the photo to the cart.
Is there a way that the "checkout" icon can be displayed here now to indicate that the photo has added? Or a confirmation message "This photo has been added to the cart - Keep Shopping or go to Cart" message be displayed after adding the photo?
Cheers,
Chumby
Ok, thanks Ben and Rod for the input here and I have a better idea of where you are going with this.
I'll switch to slideshow mode then and have results returned up to 500.
Cheers,
Chumby
Hi Matthew,
Thank you for your response.
The main problem with the "step forward" button though is that it doesn't work - it akes you to the backlight login page, not to the next page.
With this though, I would prefer to use the single image page as I can add extra information under the image via php-plugins (like a buy now button etc)
Do you have any fix in making or workaround for the issue I mention above for the single-image-page?
Thank you ,
Chumby
Hi all,
Apologies for the confusion in recent thread. Issues still continue since I posted this
On a list of search results:
1) If in "slideshow mode" (Album Template), you can scroll through a page of returned images but are then presented with a "play" button which takes you to the backlight login page when clicked.
2) If in "single mode" (Album Template) on a returned set of pictures after a search there is inconsistent behaviour in scrolling through the returned list. ie. you can't scroll through images one by one in order.
Any updates here on these issues? Apprepiate the support as always.
Cheers,
Chumby.
Geez thank you Dan,
Had moved on with other development from that Feb post and obviously just returning to it now.
Will pick it back up there on that thread. Glad you keep a better eye on things than me, ha!
Happy for this post to be closed.
Cheers,
Chumby
Thanks Jim,
Yes that is pretty much the behaviour - the URL justs all just mixed up.
Below is my code for single_bottom in my-phplugins. All seems to do what it should but I wonder if there is anythin in there causing an isue on the single page? My not be relevant though.
Appreciate your help.
Cheers
Chumby.
// Single Image Manipulation
function single_bottom(){
// support for left/right arrow key and esc key navigation
$photo = $this->photo;
$album = $this->album;
echo' <script>
function checkKey(e) {
switch(e.which) {
case 37: ';
if ($album->getPreviousPhoto($photo)) {
echo 'location.href=$("li.single_image_prev a").attr("href");';
}
echo 'break;
case 39:';
if ($album->getNextPhoto($photo)) {
echo 'location.href=$("li.single_image_next a").attr("href");';
}
echo 'break;
case 27:';
echo 'location.href=$("li.single_image_back a").attr("href");';
echo 'break;
default: return;
}
e.preventDefault();
}
document.onkeydown = checkKey;
</script>';
// Bottom of Footer Information
// Pay Now Button
echo '
<div align="center">
<button class="add-to-cart" data-item="'.$photo->getFilename().'" data-name="'.$photo->getMetadata(Photo::$PHOTO_TITLE).'" data-price="TasmanianPhotos Pricing Scheme Default" data-thumbnail="'.$photo->getThumbnailURL().'"> Buy this Photo</button>
</div>
';
//Summary Information under the single image
echo'
<p></p>
<div class="bold-red">Image Information</div>
<div class="single-image-footer-content">
Images are delivered as a JPEG Digital Download and available as: <br />
</div>
<div class="single-image-footer-content">
<ul>
<li><strong>HiRes Image (4:3) - </strong>Suitable for large print such as Posters and Wall Hanging Pictures. Filesize: As per original size, 10-15 Mb.
<li><strong>Print Image (4:3) - </strong> Sutiable for small print & web applications. Approximate filesize is 1-1.5 Mb. 1200px longest edge.
<li><strong>Web Ready (4:3) - </strong>Suitable for Web Applications. Approximate filesize is 500 Kb. 600px longest edge.
<li><strong>Wallpaper (16:9) - </strong>Suitable for PC Wallpapers with a 16:9 ratio widescreen. Cropped from orginal HiRes file with subject remaining in the crop. Approximate file size 1-1.5 Mb Kb file. 1200px longest edge.
<li><strong>Postcard / Photo Image (3:2) - </strong>Suitable for Postcards and 6x4 Printed Photos. Cropped 3:2 ratio of orginal HiRes file. Subject remains in the crop. Approximate file size 1-1.5 Mb Kb. 1200px longest edge.
</ul>
<p>The original RAW rendered TIFF files (Filesize > 50 Mb) may be sourced on request. These images are suitable for very large print applications such as Banners or Large Wall Displays.</p>
</div>
<div class="bold-red">About Tasmania</div>
<div class="single-image-footer-content">
<p>Tasmania is an Island State situated to the south of mainland Australia. Tasmania is 64,519 km squared in size and has a number of smaller islands surrouding it. It is a natural state with approximatley 40% of land protected including a large 15,800 km squarded area known as the Tasmanian Wilderness which is World Heritage listed.</p></div>
<div class="single-image-footer-content">
<p>The population of Tasmania (as of 2020) is approximately 520,000 people with approximately 225,000 living in the south in and around the capital city, Hobart.</p></div>
<div class="single-image-footer-content">
<p>Tasmanians enjoy a relaxed lifestyle and produce such as fruit, seafood and whiskey is produced to the highest standards in the world.</p></div>
';
}
Hi there,
When I do a search on my site https://www.tasmanianphotos.com I get the results as desired am presented the right number of images.
Clicking through though by using the right arrow icon (or by clicking on the single image) I thought I should be clicking through the result set - but instead am presented with other images from the album.
Any ideas?
My test was: Primrose in the search box.
Cheers
Chumby
Thanks for the help, Ben.
All sorted. Problem was by verifying a PayPal account from an onward forwarded account - not the original account.
Cheers,
Chumby.
Hi all,
Really stck with this one. Nothing is appearing in my "Activities" tab in PayPal - and backlight just remains "Payment Pending"
Has anyone else gone through this issue before?
Have emailed PayPal help - but no replies as yet.
Cheers
Chumby
Thanks Ben,
Have just emailed those through.
Cheers,
Chumby
Thanks Rod,
I will do that.
Just as far as the process goes... if someone puchases an image, and payment is accepted the download link should be made available to them, without me having to "approve" anything. Seemed to work like that in the sandbox.
Cheers
Chumby
Hi there,
Have sent my site live yesterday (after testing all ok in the paypal sandbox site) and now working through live cart issues.
A friend navigated the shooping cart all ok and went through the PayPal proess in purchasing an image.
No money has arrivd in my PayPal as yet (24hrs+ later) and the download link is not available for him to get his image. It was all ready immediately in the sandbox.
Am I waiting for bank clearance here of the funds, or should the PayPal pay/download process be much quicker than this?
Cheers,
Chumby.
Live, Ben.
I tested through the Sandbox and all worked fine. Went through the cart process and image was there for immediate download.
My friend tried a live purchase today - it all went though ok his end, but no money in my PayPal account as yet and his image for download is "pending". Should it be instant if paying from a PayPal to another Paypal account?
Cheers
Chumby
Hi,
Lookng at the Cart - Orders page /backlight/cart/view_order/5/ on my site
I am getting the error appear in a red box at the top of the screen:
Something went wrong
Unexpected error: Undefined index: in PayPalOrderDetails.php on line 294
Please report error at http://community.theturninggate.net
Any ideas?
Cheers,
Chumby
Brilliant, thanks Rod.
Those changes made a big difference.
Cheers
Chumby
Thanks Rod,
My site is at https://www.tasmanianphotos.com
I'll check out that tips and tricks. Thank you for putting it together.
Cheers
Chumby
Hi there,
Is there a way to edit the CSS for the main menu items on a mobile display?
At the moment there are big gaps between each menu item and the content is pushed low down on my mbile device. Would like to make the gaps smaller here between each menu item.
Cheers,
Chumby