Search…

X3 Photo Gallery Support Forums

Search…
  • 1
  • 3
  • 4
  • 5
  • 6
  • 7
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

22 Aug 2022, 23:48

trpgforum wrote:I'm sorry. Now I have tested the CSS-following hack, But it doesn't work :-(
Do you have a link? I have tested it successfully here.
Image
Image
You could try this:
Code
.x3-cart-show-order-form {
  --x3-cart-text-order: 'Bestellen' !important;
}
 
trpgforum
Experienced
Posts: 105
Joined: 05 Jul 2019, 03:40

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

23 Aug 2022, 12:01

Hello Karl

Now it works!! Thank you!
Code
.x3-cart-show-order-form {
  --x3-cart-text-order: 'Bestellen' !important;
}
Best regards
Thomas 
THOMAS RUF PHOTOGRAPHY
Landscape - Nature - Macro
4132 Muttenz
Switzerland
www.thomas-ruf.ch
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

23 Aug 2022, 23:10

trpgforum wrote:Now it works!! Thank you!
Assuming you have other custom CSS that translates the rest of the cart interface into German? Could it be that you placed this new CSS at the top, above the other translation values? The CSS noted in this post should probably be at the bottom, below your other values, so that it has the ability to override. In this case, you could probably remove the "!important" rule ...
 
Ch3ck3rM0n
Posts: 5
Joined: 19 Aug 2022, 07:56

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

24 Aug 2022, 15:00

mjau-mjau wrote:
Ch3ck3rM0n wrote: Hi all, I am sorry but I have the problem that i can not find Breadcrumbs in the settings. Do i searching wrong?
Strange. Could you give me login to your control panel so I can diagnose? I can't explain it from just seeing the screenshot.
I found the issue, the panel was still cached on browser and server side.
 
trpgforum
Experienced
Posts: 105
Joined: 05 Jul 2019, 03:40

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

24 Aug 2022, 15:27

mjau-mjau wrote:
23 Aug 2022, 23:10
trpgforum wrote:Now it works!! Thank you!
Assuming you have other custom CSS that translates the rest of the cart interface into German? Could it be that you placed this new CSS at the top, above the other translation values? The CSS noted in this post should probably be at the bottom, below your other values, so that it has the ability to override. In this case, you could probably remove the "!important" rule ...
Indeed a very good idea! I will try it as soon as possible!
THOMAS RUF PHOTOGRAPHY
Landscape - Nature - Macro
4132 Muttenz
Switzerland
www.thomas-ruf.ch
 
metallissimus
Experienced
Posts: 331
Joined: 17 Oct 2019, 06:54

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

26 Aug 2022, 05:16

Is it possible to name these "undefined" labels?
Attachments
Bildschirmfoto 2022-08-26 um 11.15.35.png
Bildschirmfoto 2022-08-26 um 11.15.35.png (49.5 KiB) Viewed 20523 times
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

26 Aug 2022, 06:02

metallissimus wrote: Is it possible to name these "undefined" labels?
I'm actually not sure how you got "undefined" there. Even in the German demo on our website, these titles are translated. The only reason "Layout" remains the same is because I believe the German translation is also "Layout". The other hover titles appear in German:
https://cart.photo.gallery/interface-texts/
 
metallissimus
Experienced
Posts: 331
Joined: 17 Oct 2019, 06:54

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

26 Aug 2022, 11:21

Must be a local issue on my computer. I am using Firefox, also tried a new private window.
Attachments
Bildschirmfoto 2022-08-26 um 17.19.47.png
Bildschirmfoto 2022-08-26 um 17.19.47.png (127.84 KiB) Viewed 20515 times
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

27 Aug 2022, 00:06

metallissimus wrote: Must be a local issue on my computer. I am using Firefox, also tried a new private window.
And the other buttons also show undefined? There seems to be a circumstantial bug somewhere, as I managed to created it once in Firefox, but it was resolved when I refreshed the page. In the demo, I have the CSS added to PAGE SETTINGS though ... Did you try to translate the texts already on your own website? I think it should work fine if you add to global Settings > Custom CSS.

It also works from browserling.com:
Image
 
metallissimus
Experienced
Posts: 331
Joined: 17 Oct 2019, 06:54

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

29 Aug 2022, 03:34

mjau-mjau wrote: And the other buttons also show undefined? There seems to be a circumstantial bug somewhere, as I managed to created it once in Firefox, but it was resolved when I refreshed the page.
Yeah, they do, refreshing doesn't solve it.
Did you try to translate the texts already on your own website? I think it should work fine if you add to global Settings > Custom CSS.
I already did and the translations are where you recommend.

You can try yourself here: https://www.danielbollinger.de/template ... l-galerie/
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

29 Aug 2022, 04:41

I have tested locally, and I can confirm the issue in Firefox. I did some tests, and unfortunately, this is a Firefox bug, because there is nothing wrong with the order of execution, and it works consistently in all other browsers. It's clearly reading the custom CSS variables (else, English would remain, as default), but for some reason, it's returning "undefined" when it actually finds them. I tried various fixes, but it's unknown why Firefox does this ... I will need to look into it on a deeper level. For now, you have three options:
  • Ignore the issue on Firefox. It's only tiny titles on hover, and Firefox only has 3% market penetration. User would mostly understand what the icons are for, and if not, they will when they click it.
  • Remove translations for the button "title" items, so that titles remain in English.
  • Add a dirty Javascript hack that checks on interval when the cart is created, and then proceed to manually assign the title attribute for these buttons.
 
metallissimus
Experienced
Posts: 331
Joined: 17 Oct 2019, 06:54

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

29 Aug 2022, 04:55

mjau-mjau wrote:
  • Ignore the issue on Firefox. It's only tiny titles on hover, and Firefox only has 3% market penetration. User would mostly understand what the icons are for, and if not, they will when they click it.
I'll go with this. Thanks for checking it out!
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography
 
Kamil.Lebiecki
Posts: 5
Joined: 22 Sep 2022, 04:30

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

05 Oct 2022, 03:47

Is there an option (or how can I do it by myself) to get this Cart feature translated into Polish language? Thanks!
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

05 Oct 2022, 03:49

Kamil.Lebiecki wrote: Is there an option (or how can I do it by myself) to get this Cart feature translated into Polish language? Thanks!
There is an example of this on the Cart demo page:
https://cart.photo.gallery/interface-texts/

Click "Cart text CSS variables" to see the CSS to add to your Settings > Custom > Custom CSS.
 
Kamil.Lebiecki
Posts: 5
Joined: 22 Sep 2022, 04:30

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

10 Oct 2022, 07:55

Thanks! You helped me a lot! :slight_smile:
  • 1
  • 3
  • 4
  • 5
  • 6
  • 7