Support

Home Forums Event Espresso Premium € instead of EUR

€ instead of EUR

Posted: February 10, 2013 at 1:42 pm

Viewing 8 reply threads


Evert van Malkenhorst

February 10, 2013 at 1:42 pm

How can i achieve the price given in € instead of EUR?


Chris Reynolds

  • Support Staff

February 13, 2013 at 12:55 pm

In what context? As far as I know, everywhere in the plugin where we can use the € symbol, we are using the € symbol — where that does not apply is in the invoices because the PDF generator script that we are using doesn’t support the € symbol. For prices that display on the events on your site, the € symbol should be what’s displaying.


Evert van Malkenhorst

February 13, 2013 at 4:09 pm

Like here http://blueinnovators.com/event-registration/?ee=8 You see EUR and then the price. Would look better to have € with one space. How can I achieve that?


Sidney Harrell

February 15, 2013 at 9:33 am

What is the version number of Event Espresso that you are using? I could not find the meta generator tag in the html that would tell me from looking at the front end of the site.


Evert van Malkenhorst

February 16, 2013 at 1:16 am

3.1.30.5 i AM using. Can you help me i scannend all files but couldn’t find it. Where do you store this data About EUR etc and other valuta. Thanks.


Evert van Malkenhorst

February 16, 2013 at 1:17 am

You Will Find the EUR problem here http://blueinnovators.com/event-registration/?ee=8


Josh

  • Support Staff

February 18, 2013 at 7:53 am

Hi there,

There is a good reason to not use the euro symbol as an html entity, it’s not universally supported especially in older browsers. Please see this reference for more info.

One way that you can change this so it displays the symbol on the front end of the site is by adding the following code to your functions.php file or the custom_functions.php file in the custom files add-on:

function my_change_ee_eur( $content ) {

    $content = str_replace( 'EUR', '€', $content);

    return $content;

}

add_filter( 'the_content', 'my_change_ee_eur', 11 );


Josh

  • Support Staff

February 18, 2013 at 7:54 am

Here’s a link to that reference:

http://www.cs.tut.fi/~jkorpela/html/euro.html


Evert van Malkenhorst

February 19, 2013 at 3:06 pm

Thanks Josh. It worked. Great! Just a beautiful € sign. I think your article is very outdated. Nevermind. Solved.

Viewing 8 reply threads

The support post ‘€ instead of EUR’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso