Support

Home Forums Event Espresso Premium Alpha sorting custom messages

Alpha sorting custom messages

Posted: July 28, 2020 at 4:39 pm

Viewing 4 reply threads


tyler

July 28, 2020 at 4:39 pm

Hi, our client wants to sort the custom message templates by alphabetical order rather than the default ID (where newest lands at the end).

Ideally on both the messages -> custom message templates as well as on the dropdown message template selector popup that appears when you send a batch message.

I tried the snippet mentioned here https://eventespresso.com/topic/custom-messages-no-longer-sorted-alphabetically/ and it didn’t work for us on the selector.

Can you let me know if there’s a way to put these into an auto alpha sort?

Thanks!


Tony

  • Support Staff

July 30, 2020 at 4:56 am

Hi there,

I checked into this and currently the only way to modify the order is using some jQuery like that snippet does and you can’t change the order within Event Espresso -> Messages as it stands.

I retested the snippet you linked to and it’s reordering the dropdowns for me, where are you adding that code?

With that code loaded on the editor, if you open Chrome Dev Tools (or similar) and look in the console, do you see any errors there?


tyler

July 30, 2020 at 9:41 am

This reply has been marked as private.


Tony

  • Support Staff

July 30, 2020 at 12:19 pm

Ah, no. My apologies as I misread your initial post.

That snippet isn’t ordering that dropdown, it’s ordering the templates in the event editor itself.

This section: https://monosnap.com/file/2B4raUMKe4SG3OkpchxZ6OaUcEdhNo

We don’t have a snippet to order that section and its currently not possible to change the order within Event Espresso -> Messages to be based on Template Name sorted alphabetically.

I’ll check to see if we can add a filter for this and get back to you.


tyler

August 3, 2020 at 9:23 am

Thank you, please let me know what you find.

Viewing 4 reply threads

The support post ‘Alpha sorting custom messages’ 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