Support

Support is part of Event Gallery Extended.

Please get a subscription if you need support. Feel free to use the ticket system or the contact form for reporting defects or pre-sale questions. Make sure you're logged in in order to be able to create a new ticket.

For general information you can also jump to the manual.

Subscribe now!

#4267 Â appears on order emails

Posted in ‘Event Gallery Extended’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by sbluege on Friday, 29 April 2022 13:38 UTC

Rnomis

I have created a language override to move the £ symbol in front of the amount but am getting a strange character showing up on order emails. Instead of £250.00, I get Â£250.00

Can you shed any light on this?

Thanks,

Simon

sbluege

Hi, 

that sounds like an encoding issue. How did you create the override? Is the file encoded correctly?

Rnomis

I created the override exactly as per your guide: https://www.svenbluege.de/joomla-event-gallery/event-gallery-manual/faq-how-to-change-the-money-format

sbluege

Alright, so no files. The content of the text field does not contain any special characters spaces or such? The issue exists only in Mails?

Rnomis

I am using the default email templates with minor changes to the content. I haven't changed any of the code.
Here is a sample from the body:

<td>
{if $lineitem->priceincluded == 1}
included with package
{else}
{$lineitem->price}
{if $lineitem->quantity>1}({$lineitem->singleprice}){/if}
{/if}
</td>

 

My override in COM_EVENTGALLERY_MONEY_FORMAT is: %1$s%2$.2f

Thanks

sbluege

I finally did a test and was unable to see this issue. Can you forward one of those emails to info AT svenbluege.de, please?

Rnomis

Thank you Sven,

I changed the override slightly yesterday and it seems to have cleared the problem.

Thanks for your help

sbluege

Alright. Can you say what you've changed?

Rnomis

Hi Sven,

Somehow I had %1$s %2$.2f (which I got from: https://www.svenbluege.de/support/event-gallery/1684:how-to-place-currency-symbol-in-front-of-value#p8430&highlight=WzEsInMiLCIncyIsInMnZXN0IiwyLCIuMmYiLCIxIHMiLCIxIHMgMiIsInMgMiIsInMgMiAuMmYiLCIyIC4yZiJd ).

It now reads correctly: %1$s%2$.2f

It must have been the space causing the error

Thanks

 

sbluege

Okay, very strange. The space “should” be harmless. If this happens again, I'm happy to check.