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.
I'm all for that!
Thanks again.
It's funny, I asked my wife if she finds that sometimes clicking on the next arrow takes you back to the gallery. She said 'yes', so she's happier now too!
Ok, got it working - that was the problem.
Apologies for the multiple posts...
I also referenced an old Statcounter code, which I had fixed up with \'
This is my final code that works as expected.
Thank you Zippo, Daniel, Rod & Matt. You guys rock!
function ttg_scripts( $style, $path ) {
echo'
<script type="text/javascript">
document.write(\'<div>\');
var sc_project=7247521;
var sc_invisible=1;
var sc_security="8a4441b8";
var scJsHost = "http://www.";
document.write("<sc"+"ript type=\'text/javascript\' src=\'" + scJsHost + "statcounter.com/counter/counter.js\'></"+"script>");
document.write(\'</div>\');
</script>
';
echo '<script>$.fancybox.defaults.clickSlide = false;</script>
';
echo '<script>$.fancybox.defaults.clickOutside = false;</script>
';
}
I see what the problem is. I am not calling the correct file from my design template. It's been a long time since design changes, so it's slowly coming back to me...
Hi Daniel,
Re. quotes inside echo command, I see the proper way now.
I misread your info - I thought it was quotes after echo, not between echo' and '
But since my code is now simplified (for trial purposes) I can't get it to work yet.
I will make sure that the correct php file is being called (just have to find where that config setting is).
Peter
This is my current content:
function ttg_scripts( $style, $path ) {
<script>
$.fancybox.defaults.clickOutside = false;
</script>
}
I also tried this: (doesn't work either)
I do clear template cache each time - should I clear browser cache too?
(Thanks!)
function ttg_scripts( $style, $path ) {
<script>
$.fancybox.defaults.clickOutside = false;
</script>
}
So if I just use the following, I still get an exit from the slideshow when I click to the side of the /next' arrow.
function ttg_scripts( $style, $path ) {
echo '<script>$.fancybox.defaults.clickSlide = false;</script>
';
echo '<script>$.fancybox.defaults.clickOutside = false;</script>
';
}
This eg. also has ' inside the echo...?
Thanks - I'll try that. I had visited the single quote issue before but can't remember the outcome. Statcounter does work though.
The content of my php file is this. Maybe I am not doing it right...:
function ttg_scripts( $style, $path ) {
echo'
<script>$.fancybox.defaults.clickSlide = false;</script>
<script>$.fancybox.defaults.clickOutside = false;</script>
<script type="text/javascript">
var sc_project=7247521;
var sc_invisible=1;
var sc_security="8a4441b8";
var scJsHost = (("https:" == document.location.protocol) ?
"https://secure." : "http://www.");
document.write("<sc"+"ript type='text/javascript' src='" +
scJsHost+
"statcounter.com/counter/counter.js'></"+"script>");
</script>
<noscript><div class="statcounter"><a title="hit counter"
href="http://statcounter.com/" target="_blank"><img
class="statcounter"
src="//c.statcounter.com/7247521/0/8a4441b8/1/" alt="hit
counter"></a></div></noscript>
';
} //END
I am also not liking the slideshow quit function when you miss the 'next' arrow.
It's been a while since I customized. Once I add the function to the custom plugins.php file, how is that 'called' by the slideshow?
xxx-10 will come before xxx-2. If you don't want it to, you need to use tw0 pr more digits: xxx-10, xxx-02 (if you don't have more than 99 images in the album) or xxx-010, xxx-002 if you don't have more than 999 images.
I don't use the sort order options, but every time I want to change the order (manual order) I make the change in Lightroom and then right click on one of the images and mark it for republishing.
Make sure Publisher settings are using the "Push metadata without updating existing photos" option.
LR export doesn't number using -001, -002 etc. Even if you put the start number as 001, it still starts at 1.
I would have to use a third party rename program to do that.
My methods above did not have "Push metadata without updating existing photos" option checked, so not sure if that would have made a difference.
I am typically doing 50+ galleries a year, so I will see what happens the next time I have to publish, then make a change.
This is related...
I cannot change the order in which the images are displayed without re-publishing.
I just created a gallery and in LR Publisher, the files were sorted by "Capture Time"
The Gallery was published.
Now I need to change the order to "File Name'.
I change this in Publisher, and I see the order has changed. The 'Publish' button is still greyed out.
How do I update the Gallery without re-publishing (specifically uploading all the photos again) to make this change?
Thanks
Edit:
So here is what I found.
IF I choose a selection from the 'Photo Order' other than 'Managed by LR', the Gallery is updated to match.
The setting from the Library window in LR Publisher only seems to work the first time you publish an album.
Want to change the order? DON'T use the sort option here, go to the 'Edit Album' screen.
LR is one messed up program at times...
Edit:
And more problems!!
That option to sort will put xxx-10 BEFORE xxx-2. My wife exports in LR and LR will auto number this way. The only way to get the sort done properly is to re-publish after changing the 'Sort:' to File Name in the Library.
Really messed up...
Edit:
Just re-publishing does not fix the numbering problem. The whole TTG Publisher gallery has to be deleted and re-done.
That is the only way I could get xxx-2 to follow xxx-1. I flushed the browser cache, but that still didn't solve the problem.
It is now ok, but, what a pain!.
I will refer to this next time I have this situation
Thanks
My wife outputs from LR onto a network drive and I import them onto my LR.
Is that an option for outputting from a catalog in LR?
But, I've not had an issue with the initial output.
LR will append a -number if I import into the same directory, and I'm ok with that since my pc is only for generating galleries.
Her imports are are always put into unique directories, and she will output to a unique directory.
That gallery was re-imported (to a unique directory this time) and since there are no more changes, it's now published (correctly).
I'll figure this out the next time I have this scenario
Thanks!
Nope - the only way to get them back in order is to delete the entire gallery and start again.
To change a single image in a gallery of 500, that's what I have to do.
I noticed that some images are appearing in order, despite the - number...
Still trying to figure this mess out
let me try cache clear - I didn't do that
yes
yes
I know this has been discussed before, but we cannot put unique files names to all our images.
The problem with using the same names during export as other exports, is not a problem for us, until we have to modify a gallery, which happens now and then, but I usually delete the entire gallery and re-import and publish. However, with large galleries, this is not ideal.
To have unique names for each image, by using the date & time in the file name, for eg. still is presents the same problem when replacing only a few images in an already published gallery - the '-1' that is appended on import to LR, puts those images at the end of the online gallery (but appears DIFFERENTLY in publisher).
Maybe the problem is with Publisher, as it thinks the -1 appended images are sorted as if the -1 is not there.
I delete some photos, say, A37, A38 from a 'sort by file name' gallery and 'Publish' to remove them from on-line.
Now I add photos called A37-1 and A38-1 and they appear in LR correctly.
They do not appear in the online gallery, after I have selected those two and then 'republish' from the right click menu.
Why?
Do I have to re-publish all 500 photos??
There has to be something that's not obvious that I'm missing...
So the new images end up at the end of the gallery online, even though they show in LR publisher in the correct position.
(They are imported with the same file name because I want them to replace the same photos.)
Since the name of the files end with a -1 & -2, I get it. But why are they showing up in Publisher between A36 & A39?
This is an inconsistency between what you see & what you get.
The only way to fix this is to rename the files differently and hope that, even though LR shows one thing, you end up with the gallery being correct.
Add text to the gallery copy that explains what to do?
If you send an email telling them that their gallery is ready, you could include submission instructions, perhaps even a screen shot of the button they need to click.
We do send an initial email when the gallery is ready for them and include instructions to 'click the heart icon after selections are made, to be able to email the choices to us' (or similar).
I think that they must gloss over the email as they are too excited to read it as they just want to see their engagement galleries.
I like the idea of the pop up, but they may be returning multiple times while making their choices. We had one bride that probably took 2 months to choose her 50 out of 300 images, so that might get annoying for some.
What about a blinking 'Click to submit when ready' icon, after 'x' amount of selections have been made?
It's pretty intuitive to me, but a lot of our clients are not sending us their picks from a client select gallery.
We sometimes get a separate email from them telling us they've made their selections but I have to log in to Backlight and check the Feedbacks manually.
And sometimes we contact them after not hearing back from them. We know they have made choices by logging on as them and seeing their 'hearts' or (occasionally checking the Feedback), and when we do ask them if they have made their choices, they usually reply with 'Yes, did you not get them?'
Any way to make this even more obvious that they have to 'Submit' them??
Peter
Just sent you an email with a partial log file Ben.
Peter
Thanks Ben, I'll let you know if/when it happens again
Peter
So, I did not get an email notification since Jan 14 2018. There was an update to TG Publisher, so should I have gotten an email? Or is the update considered non-critical to send out?
Thanks Rod
Can't figure out where you can get them.
Thanks
I will try changing that value next time I encounter the problem.
Looks like I will need to update the program first though - I thought we get emails when there's an update?
Thanks!