Support

Home Forums Event Espresso Premium SINGLE EVENT problem

SINGLE EVENT problem

Posted: October 1, 2014 at 6:33 am

Viewing 4 reply threads


Rasmus Fachmann

October 1, 2014 at 6:33 am

I’m have tired to use the single event code but there is a problem with non english letters. In danish we have ø æ å and an event with this title nave dos not work. Can this be helped?


Lorenzo Orlando Caum

  • Support Staff

October 1, 2014 at 8:41 am

Hi Rasmus,

Could you post an example of an event name?

Also, are you saying that the event doesn’t load at all due to the letters in the event slug?


Lorenzo


Rasmus Fachmann

October 1, 2014 at 9:19 am

this event is called FÅ STYR PÅ DINE ANSATTE

and the short code is.

[SINGLEEVENT single_event_id=”f%c3%a5-styr-p%c3%a5-dine-ansatte-1-54291e1b123a8″]

All other events with æ ø å dos not work


Lorenzo Orlando Caum

  • Support Staff

October 1, 2014 at 10:11 am

Hi,

I looked at this in the event editor and I was able to find a workaround.

The event identifier locks after the first save of an event. If you switch the letters out and save, then you can go back and update the title.

Here is a quick video to show the workaround:

http://cl.ly/image/133P460e1E3b


Lorenzo


Tony

  • Support Staff

October 1, 2014 at 10:39 am

Hi Rasmus,

We have a fix for this included within the next version of Event Espresso 3, if you would like to apply the fix yourself until that version is released open up event-espresso/includes/event-management/insert_event.php line 84:

$event_identifier = sanitize_title_with_dashes($event_name . '-' . $event_code);

Change that to:

$event_identifier = sanitize_title_with_dashes(remove_accents($event_name . '-' . $event_code));

That will remove the accents from the event identifier when the event is created which prevents this issue. The title will still contain the accents and should not be affected. This will not remove the accents from events that have already been created.

Do your events with accents currently have registrations or can they be re-created?

Viewing 4 reply threads

The support post ‘SINGLE EVENT problem’ 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