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.

#2451 Re: General » White Screen What Does it Mean? » 2015-05-17 20:48:49

Ben

Hi Steve, can you try renaming ttg-be to something else (e.g. ttg-be-renamed) and re-installing?  If you encounter the same blank page, then it would be helpful for you to provide me with an ftp login so that I can try to work out the issue.

ttg-be can be installed at a deeper directory like you had done.  So that shouldn't have been the cause of the issue.

FYI, the only rule on the location of ttg-be is that it must reside either at the same level, or in one of the parent directories, of the top-level published galleries directory.  That is because a published gallery attempts to find ttg-be at the same level as the galleries directory, then at the level above, then two levels above, etc.

So these are fine:

1.
/ttg-be
/galleries

2.
/one/two/ttg-be
/one/two/galleries

3.
/ttg-be
/one/two/three/galleries

4.
/one/ttg-be
/one/two/galleries

This will not work:

1.
/one/galleries
/one/two/ttg-be

#2452 Re: CE4 Publisher » search module and template with download » 2015-05-15 20:39:33

Ben

The fix is almost done.  You'd think that it would be straightforward, but alas, it is not.

#2453 Re: CE4 Auto Index » Blurred thumbnails i auto-index » 2015-05-14 20:59:17

Ben

Hi, looking at the first gallery, which is the source of the thumbnail used in the Auto Index: http://fotomats.se/galleries/0-eveneman … ttarbesok/
The template 'Galleri Fotomats' specifies that thumbnails have a maximum edge of 154.  You'll need to upgrade your template, and then re-publish the galleries.

#2454 Re: CE4 Gallery » Two thumbnails unresponsive yet the image will display manually » 2015-05-14 20:53:52

Ben

The apostrophes in the filenames are breaking the JavaScript.  Renaming them without the apostrophes should do the trick.

Matt has written an article about file naming for the web, which is well worth a read: http://ce3wiki.theturninggate.net/doku. … convention

#2455 Re: CE4 Client Response Gallery » Select-all button? » 2015-05-13 22:51:09

Ben

Good idea Rod, but jQuery would indeed lead you down a rabbit hole.  It could be used to select the items on the page, but more scripting (within or via the TTG CRG JS) would be needed for the selection actions to save their state in the back-end.  Taking that further, even if the script did tell the back-end that the items were to be selected, making dozens (or hundreds?) of calls to the back-end wouldn't make for an efficient approach to set up a default selected state.  And that's not considering images spanning pages.  Rabbit hole smile

#2456 Re: CE4 Publisher » Search not working when password protection turned on » 2015-05-13 20:18:14

Ben

If you make the following edits, search should work on any photo and album other than those explicitly hidden from search.  That means photos in password-protected albums, and password protected albums, and CRG albums.

It goes without saying that you should only make these changes if you fully understand what that means. 

We will not be held responsible for photos and albums that you did not intend to be discoverable or viewable inadvertently becoming discoverable or viewable.

The changes are all in publisher/application/dao/SearchDAO.php

1. Change this line from:

$excludeAlbumsClause =  'a.enable_password=? and a.hide_from_search=? and a.enable_crg=?';

to:

$excludeAlbumsClause = 'a.hide_from_search=?';

2. Change these lines from:

$params = array('no', 'no', 'no', '%'.$term.'%');
$caption_params = array('no', 'no', 'no', 'image_caption', '%'.$term.'%');

to:

$params = array('no', '%'.$term.'%');
$caption_params = array('no', 'image_caption', '%'.$term.'%');

Note that there is a lot more to solving this searchability than just opening search for all cases.  A proper solution would take into consideration the logged-in status of the albums, album sets and CRG login, and be much more involved.

#2457 Re: CE4 Cart » Don't reveice email when customer make his choice » 2015-05-12 22:28:41

Ben

Hi Maureen, are you using 'mail' or 'smtp' for your mail settings?  Who are you hosting with?

#2458 Re: CE4 Cart » VAT within EU » 2015-05-10 22:49:27

Ben

Hi Hans, thanks for taking the time to respond.  That clears up a lot.

#2459 Re: CE4 Cart » VAT within EU » 2015-05-08 13:54:43

Ben

Hi Hans,  I was away for most of April, and just getting back to thinking about this.

Can you confirm if the following all sounds correct?

1. Physical goods

  • Collect VAT if sold from any EU country to any other EU country

  • VAT rate is fixed, regardless of which EU country you're shipping to

  • Need to collect shipping address

  • Don't collect VAT or sales tax for sales to any non-EU country

  • Ideally, collect and validate VAT reg no, and not apply VAT to those customers

2. Digital goods

  • Collect VAT for digital goods sold to any EU country from any country, even non-EU countries

  • Rate varies depending on country of buyer

  • Need to collect address and IP address of buyer

  • Need to pay VAT to each country in EU that you've sold to

Depending on the validity of the above, proposed solutions for the TTG Cart:

1. Physical goods

  • Mark EU countries within our country list as such

  • Only apply Sales Tax (called VAT) for orders to those countries

  • Collecting shipping address --- already in the cart

  • Optionally, collect VAT reg no.  The question here, is what we do with it.  We won't be able to validate the VAT reg no., so should we just keep this for records for manual processing outside of the scope of the cart?

2. Digital goods

  • Provide a setting to prevent sales to EU countries other than the (possibly) EU country that the seller resides

Please provide any feedback to the above.

#2460 Re: CE4 Publisher » Using search in Publisher to return only exact matches ... » 2015-05-08 12:55:32

Ben

Hi Kris,  this is not possible with the Publisher as it currently stands.  It also would not be of interest to our other customers, who have different business needs to yours.  We do (sometimes) provide custom work for our customers charged at hourly or daily rates.  Let me know if you're keen on discussing that approach.

#2461 Re: CE4 Publisher » internal error when publisher is used on a subdomain » 2015-05-06 07:10:00

Ben

This looks like the directory setup of your subdomain may not be what the publisher is expecting.  Can you email me the file Documents/ttg.log from your PC, using the Email link under my name?  That should reveal the full error.

I may need to ask you for FTP access to investigate further.

#2462 Re: CE4 Client Response Gallery » How add logout link to branded login page? » 2015-05-06 07:07:12

Ben

Alternatively, the CRG script supports links with the classes submit-large and logout-large, intended for use within a page.  These won't be affected by the styling of the small logout and submit classes.

e.g.

<a href="#" class="logout-large">Click here to logout</a>

#2463 Re: CE4 Cart » No download option » 2015-05-04 21:44:07

Ben

Looking at your template settings (http://contrastimages.net/ttg-be/templa … /setup.xml)
there is on reference to photos-for-purchase.  Have you enabled these in your gallery settings when creating the template?

The setting can be found in Output Settings -> Publisher Setup -> Image Downloads for Sale

#2464 Re: CE4 Client Response Gallery » Unable to perform action: migrateGalleries » 2015-05-04 21:36:46

Ben

Hi Robert, I've replied to your PM.  FYI, I work a day job Monday thru Thursday, so can only look at issues in the evenings.

#2465 Re: CE4 Client Response Gallery » Unable to perform action: migrateGalleries » 2015-05-03 22:34:15

Ben

That's strange.  Can you provide the link to your galleries?  Also, if you can send me the TTG BE admin login via PM I'll have a look to see whether the albums have been migrated on the server.

#2466 Re: CE4 Client Response Gallery » Unable to perform action: migrateGalleries » 2015-05-03 22:20:33

Ben

That implies that migration has already completed (the migration process renames the file to galleries_ce3.xml).
Were the galleries successfully moved to a CE4 instance of Publisher in Lightroom?

#2467 Re: CE4 Client Response Gallery » Client response gallery currently unavailable » 2015-05-03 21:13:27

Ben

More info.  Your gallery is trying to load this link (which passes the 'default' name):
http://www.boasphoto.nl/ttg-be/crg/inde … 0655022973

For testing, changing default to Default in that URL produces a lot more information:
http://www.boasphoto.nl/ttg-be/crg/inde … 0655022973

These URLs are used internally to the gallery.  I'm providing the links just to demonstrate that the profile name is the issue.

#2468 Re: CE4 Client Response Gallery » Client response gallery currently unavailable » 2015-05-03 21:12:16

Ben

Hi Mel,

Thanks for the link.  It looks like your gallery is trying to use the profile called 'default' but you don't have one with that name.  There is a 'Default'.  The easiest remedy would be to rename 'Default' to 'default' within the CRG admin page.

#2469 Re: CE4 Client Response Gallery » CRG thumbnail and user interface problem » 2015-05-03 19:12:41

Ben

Hi Aemilia, if anything, that looks like a bug in Lightroom.  It may be worth trying the following to see if that restores order in the layout:

1) Right-click one of the section headings, e.g. Layout Style, Site Info, Color Palette, etc.
2) Clicking through Solo Mode, Expand All and Collapse All

Does that help?

#2471 Re: CE4 Pages » SMTP Problem with CE4 Pages Contact Form » 2015-05-02 20:52:45

Ben

You're best trying the 'mail' setting instead.  Most hosts now block smtp.

#2472 Re: CE4 Publisher » Creating hires files from within Publisher » 2015-05-02 19:29:48

Ben

Thanks for the links.  Looking at the data behind the album, I can see that the first 29 images have capture time while the remaining 170 or so don't.  As such the first 29 should be displayed in reverse date order among those 29 images.  Does that look to be the case?

Do you think it's possible that your catalogue doesn't include capture times for the remaining images?  Are they from a different source that may not have included this information?

It may be worth re-publishing the metadata.  To do so, mark all of the photos for republishing and then republish (making sure that
push metadata without updating existing photos remains on).

For what it's worth, the capture time is derived from one of these three exif sources, using the first one found:
dateTimeOriginal, dateTimeDigitized and dateTime
I don't have any documentation on hand that tells me exactly what fields they correspond to.  The one takeaway is that multiple options are looked at in order to find or derive a reasonable creation date.

#2473 Re: CE4 Publisher » Creating hires files from within Publisher » 2015-05-02 18:53:27

Ben

Hi, can you share a link to the gallery?

#2474 Re: CE4 Publisher » Can't get publisher to work » 2015-05-02 13:58:45

Ben

Thanks Rod.

You need to make sure you have the latest Publisher and log in to the Publisher admin to complete the upgrade process.

#2475 Re: CE4 Publisher » Can't get publisher to work » 2015-05-02 07:58:39

Ben

Still waiting for logs before I can add my input.  Since the error was a week ago, can you replicate the error before getting the logs?  That way anything relevant will be towards the end of the file.

Board footer

Powered by FluxBB