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.

#2751 Re: CE4 Publisher » Name of top level Breadcrumb » 2015-01-04 09:26:01

Ben

There is no Title field.  I was just thinking aloud about how I may improve the product to handle this better.

I'm not saying you need Pages, but rather highlighting the mechanism for discovering the name is different between Pages and non-Pages.  In your case, had this mechanism worked, 'Photos' would have been the correct title for the publisher to come up with.  And if that wasn't what you wanted, then the gallery.xml file offers the same mechanism that Pages provides.

#2752 Re: CE4 Cart » Different pricing schemes as opposed to different cart IDs » 2015-01-04 07:50:39

Ben

As Rod suggested, the most straightforward way of creating another instance would be to create another set of files above ttg-be, e.g.
set-one/
set-one/galleries
set-one/galleries/gallery-one
set-one/ttg-be
set-one/ttg-be/cart
...
set two/
set-two/galleries/
set-two/galleries/gallery-two/
set-two/ttg-be/
set-two/ttg-be/cart/
....

Then set the Cart ID to something unique for each.

#2753 Re: CE4 Publisher » Name of top level Breadcrumb » 2015-01-04 07:44:59

Ben

For Pages setups, the name is set in gallery.xml.  For non-pages, it should be deduced based on the directory name, e.g.
photos => Photos
my-photos, my_photos or my photos => My Photos

Or alternatively, handled in the same way by uploading the gallery.xml file as you had done.  Clearly there is a hole in the documentation or functionality.  Publisher does have a publisher_root table that has an entry for each top-level gallery directory. That would be a good place to add a Title field that could then be exposed to the user for editing in the Publisher admin.

#2754 Re: CE4 Publisher » Name of top level Breadcrumb » 2015-01-03 20:47:19

Ben

Hi Jim,  thanks for confirming.  It's still a mystery to me why your gallery was displaying '/photos/'.  The algorithm should have shown that as 'Photos'.  The strangeness is more of why the slashes were picked up in the directory name. Capitalising the first word in '/photos/' resulted in '/photos/', whereas capitalising the first word in 'photos' would have correctly produced 'Photos'.

#2755 Re: CE4 Publisher » Error Uploading Rendition » 2015-01-03 05:53:39

Ben

Some of the GoDaddy servers have an unsophisticated mechanism to detect and prevent denial-of-service attacks. This error is the mechanism kicking in, when GoDaddy assumes the multiple requests during publishing are a security threat. You'll find that you can proceed after exactly 60 seconds.

Some TTG customers have had success by requesting that GoDaddy move they sites to servers running the latest version of CPanel. This should be transparent to you and prevent the issue. I suggest you explain the problem to GoDaddy technical support and ask for your site to be upgraded to the latest CPanel.

#2756 Re: General » HTML links in photo captions? » 2015-01-02 12:22:30

Ben

Interesting. Was this only an issue with metadata that included new lines? If so, it could be because Windows uses two characters for newlines, \r\n, so the newline substitution might not be working as expected and cause adverse results for subsequent replacements.

#2757 Re: CE4 Publisher » Name of top level Breadcrumb » 2015-01-02 12:01:05

Ben

Hi Jim, I haven't been able to find breadcrumbs on your site.  Can you provide a link to a gallery with the problematic home breadcrumb name?

Pages drops a file into galleries/, called gallery.xml, that provides the name and location of the home breadcrumb.  If this file does not exist, then Publisher attempts to work out the name based on the directory name.

It may help if you create gallery.xml inside your photos/ directory.  As is an example of what it might contain:

<?xml version="1.0" encoding="UTF-8"?><gallery>
    <name><![CDATA[Galleries]]></name>
    <redirect>../galleries.php</redirect>
</gallery>

Change Galleries to whatever you need, and also change redirect to a relative URL that points to the top-level index of photos.  You may need to play around with this.

../photos/

may provide the link that you want.

#2758 Re: CE4 Publisher » getting setup » 2014-12-31 06:23:00

Ben

Hi Jim, TTG_SITE is used for two purposes: as the location used as the basis of menu links, and as the basis for finding resources such as css files. The latter only applies if "Get shared resources from TTG CE4" is selected within the Share Resoirces section of the Gallery module.

Assuming you want the gallery navigation to send users to other sections of the site, you'd want this to point to http://reekes.net/. The shared resources option assumes that the lib/ directory resides at that location, which is the case for Pages installations. To get this working, either copy the lib/ directory and all of its contents from your gallery to the root of the site, or switch off shared resources for the template.

I hope that helps.

#2759 Re: CE4 Publisher » Help Getting Everything to Play Together » 2014-12-30 12:30:34

Ben

I'm not sure if that's related. Can you provide me with FTP access so I can see what's going wrong on your server? If that's fine with you then please send them via the Email link under my picture.

#2760 Re: CE4 Publisher » Help Getting Everything to Play Together » 2014-12-30 09:25:08

Ben

Hi Graceson, blank pages can be difficult to solve, as there's no error message to go by. Can you try disabling breadcrumbs for http://photogpa.info/galleries/landscape/ to see whether that helps?

#2761 Re: CE4 Publisher » Galleries not found in searchings. » 2014-12-29 05:47:44

Ben

Hi David, here's how I would locate galleries for a specific user. 

1) Login to TTG BE admin
2) Click on TTG BE dashboard (if not already there)
3) Click on the phpLiteAdmin link
4) Login with password 'admin'
5) Click on publisher/master.sq3
6) Click on the 'SQL' tab
7) Run a query like this:

SELECT * FROM "album" WHERE username = "USERNAME"

e.g.

SELECT * FROM "album" WHERE username = "guest"

Are you a developer?  If so you'd want your tool to access that database and run a similar query.

#2762 Re: CE4 Publisher » Search not working at all » 2014-12-28 19:49:56

Ben

Hi, can you tell me the search term that is causing it to hang? We have two search optimisations in the upcoming update to Publisher. If you can email me the TTG BE admin username and password I can make the first optimisation for you, which should get around the timing out of search.

#2763 Re: CE4 Cart » Error-no products » 2014-12-27 15:41:55

Ben

As Matt suggested, your galleries are configured to use the 'default' pricing scheme but it doesn't look like you have one with that name.  Instead you have pricing schemes named 'Framed Photo', etc.  So either rename one of your pricing schemes, create a new one called 'default', or set your gallery to use the name of one of the pricing schemes you already have.

On that note, pricing schemes are intended to represent one or more products grouped together with a set of prices.  For example, you might have 'default' and 'premium' pricing schemes that both include the Framed and Matted Photo products, but differ on prices, or a 'schools' scheme that only included Framed Photos with prices specific to the schools market.

#2764 Re: CE4 Publisher » Auto generated downloads and emails for digital image sales. » 2014-12-24 19:55:41

Ben

Merry Christmas smile

The email text can be edited in the Orders section of the Cart Settings. 

For Publisher-generated digital downloads, the only option to tweak the photos is to remove the watermark by checking the 'Exclude watermarks in photos-for-purchase' in the album settings of Publisher in Lightroom.  After changing this, you'll need to republish the photos, making sure that the Publisher setting "Push metadata without updating existing photos" is *not* checked.

For greater control of the photos-for-purchase, create an alternative virtual product for the cart with a different download directory, and manually export and upload images to that directory.  These need to match the filenames of the corresponding files found in the photos directory.  Alternatively, you can delay the uploading of photos-for-purchase until after purchases have been made, by setting Enable Offline Digital Purchases in the Cart Settings.  You would then only need to prepare and upload the digital files for the orders that include them.

#2765 Re: CE4 Publisher » error in publishing . » 2014-12-23 18:49:59

Ben

Good morning. Are you trying to publish to the album called Default Album? If so, remove it and create a new album to publish to.

#2766 Re: CE4 Publisher » Upload error with Publisher » 2014-12-22 21:23:03

Ben

TTG can be fairly demanding of the server, however we take care to make reasonable technical decisions that are compatible with standard hosting environments.  We've found server-side issues to be specific to GoDaddy, which by-and-large isn't up to scratch.

#2767 Re: CE4 Publisher » Upload error with Publisher » 2014-12-22 06:10:56

Ben

Thanks. While I haven't come across this particular error before, many customers have had problems with GoDaddy. The general solution has been to request them to move your site to the latest version of cPanel.
In any case this does look like a system error on the server (a full disk comes to mind) so you may want to raise this with them.

#2768 Re: CE4 Publisher » Publisher upload error after a failed search » 2014-12-22 06:05:26

Ben

Hi James, you are right about search. Unfortunately an optimisation to make caption searches efficient has had the complete opposite affect. I have removed the 'optimisation' in my working code. I'll look further into this at the end of the day Melbourne time. In the mean time, can you also email me the file ttg-be/data/publisher/master.sq3?

#2770 Re: CE4 Cart » Problem with cart a mobile devices » 2014-12-21 07:06:07

Ben

David, the redirect was an issue with the earlier default cart template.  Please replace the files in ttg-be/templates/gallery/cart-default/ with the files found in ttg-be/templates/gallery/cart-default/ in the latest download of TTG BE (version 2.0.2).

#2771 Re: CE4 Pages » CE4 Pages Contact Form error » 2014-12-19 18:54:10

Ben

Hi Doug, I'm glad that solved it.  BOM characters cause all kinds of problems. 
The contact form is unique, in that the phplugins.php is loaded before the session is created.  If the order was the other way around then a few BOM characters wouldn't matter.  We're looking at reordering the code on the contact page to eliminate this problem.

#2772 Re: CE4 Cart » Cart not seeing second pricing structure. » 2014-12-19 12:16:58

Ben

Please provide a link to your gallery, indicating which images should have a different pricing scheme.

#2773 Re: CE4 Pages » CE4 Pages Contact Form error » 2014-12-19 11:53:25

Ben

The error is caused because the file http://www.collinsnet.us/phplugins/phplugins.php is outputting something when it shouldn't be.
Specifically, a byte-order-mark has been added by your text editor.  What editor did you use to edit phplugins.php?  You may have success by using Notepad++ instead.  I don't have that editor handy, but you may also need to toggle a setting in preferences so that byte-order marks aren't inserted.

#2774 Re: CE4 Publisher » Gallery produced in Publisher » 2014-12-18 06:52:09

Ben

Hi, I don't really understand what the issue is here. can you help explain with some example directories/URLs?

Published galleries should have a similar URL from non-published galleries, e.g. /galleries/my-album/

#2775 Re: CE4 Publisher » error in search » 2014-12-16 08:16:08

Ben

Hi Edwin, no problem. Unfortunately it's only a workaround. I'm still not sure why the search page is trying to create the 'Home' breadcrumb link, which was the part causing errors.

Board footer

Powered by FluxBB