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.

#51 CE4 Cart » Shipping option » 2016-01-10 17:34:51

HaraldJ
Replies: 1

The products for my online sales are digital copies (NOT downloads, I send them by email), and prints. All payments are by PayPal.

For prints I need, obviously, a shipping option, and having "by email" as one option wouldn't make sense. For digital copies it doesn't make sense to have physical shipping options.

I haven't been able to find if this is possible:

If an order contains no prints at all, I want either no shipping options, or a fixed default "by email".
If an order contains at least one print, I want shipping options, and NO "by email" option.

Many of my online customers are older and have little internet knowledge, so I need the options as clear and straightforward as possible.

Thanks!!!

Harald

#52 Re: PHPlugins (CE4) » Can I call a function inside PHPlugins from a gallery? » 2016-01-10 01:46:36

rod barbee wrote:

Looks like it works if the php is part of the gallery template's page copy and if that page copy is used in the album.

You can see it here:
http://ce4.barbeephoto.com/galleries/test2/
The main copy on the left was entered in the album's Page Copy field. The sidebar copy on the right comes from the template.

Hi Rod,

That's excellent, thanks for the time you spent finding all this out!

It works very well indeed, in Publisher, when the PHP code is part of the template, it doesn't work at all (as far as I can see) if the code is part of the text in the album definition.

Using PHP in a template adds a lot of flexibility, in CE3 I had used PHPlugins to get the behaviour I wanted in a gallery page, with this, in CE4, I can have different templates doing different things. Brilliant!

Thanks again

Harald

#53 PHPlugins (CE4) » Can I call a function inside PHPlugins from a gallery? » 2016-01-09 01:15:20

HaraldJ
Replies: 4

It would help me a lot if I could call self-defined functions (that are in PHPlugins.php) from within the Markdown text I use in a template.

Let's say i have, in PHPlugins.php, this function:

function MyFunction()
{
   echo "Hi, MyFunction() has been called";
}

and I have a Markdown text in my Lightroom template for Gallery or Stage, like this:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus semper ipsum nibh.

<?php
echo "now calling MyFunction()<br>";
MyFunction();
echo "MyFunction() has been called<br>";
?/

This code doesn't work, because MyFunction() can't be found.

I'm wondering if there is a way to make it found!

Thanks!!!

Harald

#54 Re: CE4 Publisher » Can I configure the CE4 Search to cover all metadata fields? » 2016-01-07 17:54:59

rod barbee wrote:

Caption should be included. I'm wondering if the parentheses or other characters in the caption could be messing up some javascript?

I see you've got some other scripts running (besides the translation script you've disabled). Can you try disabling all non-ttg scripts and test again? If it starts working, then start enabling things until you find where the conflict is.

The only configuration settings for Search are those found in Publisher settings in TTG-BE

Hi Rod,

Thanks! I've tried with all non-TTG scripts disabled (they are all in phplugins), and it doesn't make a difference.

The SQLite database does contain all the correct Caption fields, so it should be searchable, but that doesn't seems to happen.

Is there a way to find out if that's a bug or a feature? If it's meant to be this way, I would have to use G**gle Custom Search again.

Cheers

Harald

#55 Re: CE4 Publisher » Can I configure the CE4 Search to cover all metadata fields? » 2016-01-07 04:12:25

rod barbee wrote:

Hi Rod,

The reason I'm asked is that the search doesn't seem to work as described:

On my CE4 test subdomain I have one gallery, you can see in the long line of text the title, caption, date/time and image number:

   BCN Marathon Challenge 2014: (Title)

   Remains of the Houghton (Chemical) Arm on the Old Main Line, close to Spon Lane Junction (Caption)

   24 May 2014 at 20:21, image #1 (Rest).

The search works as expected for every word in the Title field - "Marathon" shows all the images.

But none of the words in Caption has any search results, so I'm wondering if Caption is really searched, or if I configure the search to include Caption.

Thanks!

Harald

#56 Re: CE4 Gallery » Gallery Large Image Presentation problems » 2016-01-07 01:33:07

rod barbee wrote:

not sure if this will make a difference or not, but there were some errors showing in the source code when the script was active. It might originate from this line in the <head> tag:

<meta name="google-translate-customization" content="15c144266852ad1d-adb41586d531ab05-ge781bf5b45614554-16"></meta>

the </meta> tag was in red. I don't think you need a closing </meta> tag. The other meta tags on the page don't use a closing tag, they look like this:

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

see, no closing tag.
Anyway, something else to try.


Hi Rod,

Thanks, yes, I've seen that as well. Unfortunately that's not part of my code, it's within the G**gle code, so I don't think I could even try if it made a difference.

Unless I find another translation plugin, I guess I have to do without. It is a CE4 specific issue, I'm using exactly the same code in my CE3 website for two years, without any problems.

Thanks!

Harald

#57 CE4 Publisher » Can I configure the CE4 Search to cover all metadata fields? » 2016-01-06 02:08:27

HaraldJ
Replies: 5

In CE3 I have been using Google Custom Search. It costs money and is tricky to configure.

In CE4 the database search in Publisher seems to be an ingenious solution, and it works, but it seems to cover only the Caption field.

Is there a way to make it cover all metadata fields? After Rod found out that G**gle Translate was responsible for nasty problems with Cart and Gallery, I'd prefer to have a G**gle-free CE4 website!

Thanks!

Harald

#58 Re: CE4 Cart » Cart not working » 2016-01-06 01:56:31

rod barbee wrote:

in your other topic I was wondering about the Google website language script you've got going. Try disabling that to see if there's a conflict.

That WAS the problem, Rod, thank you so much! I wasted days trying to find the problem.

#59 Re: CE4 Gallery » Gallery Large Image Presentation problems » 2016-01-06 01:54:17

rod barbee wrote:

does the gallery work if you disable the Google translate script? I'm wondering about a javascript/jQuery conflict.

Never thought about that, I'm using Google Translate since over two years on my CE3 website, and there are no problems at all.

But you are absolutely RIGHT
! I've commented it out in PHPlugins, and now the cart AND the galleries seem to be working.

G**gle means trouble, as usual. Thanks, Rod!!!

Harald

#60 Re: CE4 Cart » Cart not working » 2016-01-06 01:39:09

rod barbee wrote:

you've got some incomplete warnings for your shipping. Fill all that out and see if that helps.

Hi Rod,

Thanks for the quick response. I've fixed the warnings, but that doesn't seem to make any difference.

Harald

#61 CE4 Gallery » Gallery Large Image Presentation problems » 2016-01-06 01:34:58

HaraldJ
Replies: 18

A Happy New Year to all!

Over the Christmas period I worked on upgrading my CE3 website to CE4. Most parts work well, a few are driving me crazy.

There is a cart problem, but that's under a CE4 Cart thread here.

With the CE4 Galleries I tried all four large image display modes. All behave in strange ways - but they work great inside Lightroom.

My test subdomain is currently configured for Highslide. It works, but the "close" button does nothing.

When using "Touch" I get three tiny images on the top left (where I can zoom in and out inside the tiny images), and if I use Magnific Popup, a click on the image doesn't hide the UI. All modules behave in strange ways.

The TTG modules are all up to date, the configuration seem to be correct, but it does not work.

I've created a subdomain for testing: http://ce4test.haraldjoergens.com/

The TTG BE admin username and password are left to their defaults.

I would really appreciate any feedback to why it doesn't work, and how to get it working.

Thanks in advance

Harald

#62 CE4 Cart » Cart not working » 2016-01-06 01:18:39

HaraldJ
Replies: 4

A Happy New Year to all!

Over the Christmas period I worked on upgrading my CE3 website to CE4. Most parts work well, a few are driving me crazy.

The cart is not working: Although the cart icon shows up in the gallery grid and large view, it doesn't do anything at all.

The TTG modules are all up to date, the configuration seem to be correct, but it does not work.

I've created a subdomain for testing: http://ce4test.haraldjoergens.com/

The TTG BE admin username and password are left to their defaults.

I would really appreciate any feedback to why it doesn't work, and how to get it working.

Thanks in advance

Harald

Board footer

Powered by FluxBB