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.
Pages: 1
Is there a way to get the Order Date in the order confirmation email?
If not then please consider this as a feature request for the Cart module.
Hi all,
I am setting up the cart module to sell digital downloads to my customers. Now I'd like to use the order confirmation email as the official invoice for the customer.
For that to be legal it has to have an invoice number and date.
For the invoice number I can use [ORDER_NUMBER] in the 'Order Email Intro' but I can't find a way to add the date.
Does anyone know how to accomplish this?
My host solved the problem. Thank you for your input Ben and Daniel.
But it was working fine with backlight 1. Did something change in the way mails are send?
I just upgraded from backlight to backlight 2. Everything seems to work just fine except for the contact form.
When sending the mail from the contactform or the test mail I get this error message:
Something went wrong
mail(/srv/home/bonapicturanl/logs/php-mail.log): failed to open stream: Permission denied in EmailHelper.php on line 170
However the mails are sent and I do receive them.
Seems to be an access issue. What should I do to resolve this?
k.r.
John Smits
Finally my Backlight website is completely up and running:)
In my previous CE3 site I was using Wordpress for all pages and the blog. Only the galleries were CE3.
Now wordpress is only used for the blog. Everything else is Backlight.
I want to thank Matthew and Ben for creating this awesome system, which makes it so easy to build your own website and maintain most of the content from within Lightroom.
I love it!
This support community was also very helpful to find out how to accomplish certain things. Special thanks to Rod Barbee for helping me with the 'top of page' button.
I'm using Backlight & Pages, Theater, CRG and Wordpress module.
I'd like to know what you think of my new site and where it could be improved.
It's all in dutch but Google can translate:)
Kind regards,
John Smits
Thanks a lot Rod,
Now it works. It was probably because I was using the wrong hook. I started with ttg_body_bottom like it says it Monte's original post (CE4). Then I tried ttg_main_bottom and ttg_footer_bottom, to no avail. I only added the style="display: inline;" to make it visible at all.
Putting it in the ttg_scripts hook did the trick.
And thanks for showing the z-index setting, otherwise that would be my next question
Hi,
I'm working on upgrading my site from CE3 to Backlight and I'm very happy with what I've seen from Backlight so far.
Kudos to Matthew and Ben, and many contributors on this forum, for making this easy to use platform. It's a big step forward compared to CE3.
Now to my question:
In my CE3 site I have a link in the footer to go back to the top of the page. I was searching the forum to do the same in Backlight and I found a post from Monte Trumbull with a much more elegant solution:
http://community.theturninggate.net/vie … hp?id=6175
I tried to implement this in my test site http://bldev.bonapictura.nl
but it's not working properly. I can get the button to display and it works when I click but it's not behaving the same as the one on Monte's site https://www.montetrumbull.com/
It's supposed to appear when you scroll down a bit and disappear when you're back on top of the page. And it should slowly scroll back to top.
So apparently the <script> part is not working on my site. I must be doing something wrong, can anyone help?
I added this to my custom php:
function ttg_footer_bottom( $style, $path ) {
echo '
<a href="#top" class="btn-scroll-to-top" title="Top of page" style="display: inline;"><i class="fa fa-arrow-up fa-lg"></i></a>
<script>
$(document).ready(function() {
$(".btn-scroll-to-top").click(function() {
$("html, body").animate({ scrollTop: 0 }, "slow");
return false;
});
$(window).scroll(function() {
if ($(this).scrollTop() > 200) {
$(".btn-scroll-to-top").fadeIn();
} else {
$(".btn-scroll-to-top").fadeOut();
}
});
});
</script>
';
}
and this to my css:
.btn-scroll-to-top {
background-color: transparent;
display: none;
position: fixed;
bottom: 5px;
right: 5px;
border: 1px solid;
height: 32px;
width: 32px;
border-radius: 50%;
text-align: center;
line-height: 29px;
vertical-align: middle;
text-decoration: none;
color:#6f7c80;
}
.btn-scroll-to-top:hover {
text-decoration: none;
color:#000000;
}
Pages: 1