Home › Forums › Calendar Products › Events Calendar PRO › sort functionality on the backend glitch
- This topic has 5 replies, 2 voices, and was last updated 9 years, 5 months ago by Josh.
-
AuthorPosts
-
October 21, 2014 at 12:56 pm #825163hikeitbabyParticipant
I added some functionality to the functions.php file to change the name of “events”, “venue”, and “organizer” (per 2 suggestions in the support docs) and now the sort functionality on the backend is hiding anything other than all events. Here’s a screenshot http://cl.ly/image/3V2u0G2Y1k1z
October 21, 2014 at 7:01 pm #825853JoshParticipantHello hikeitbaby,
Thanks for reaching out to us!
Do you mind providing the exact snippets that you used in your functions.php file to change those names? You can paste directly or use a service like http://gists.github.com or http://pastebin.com
Thanks!
October 21, 2014 at 10:59 pm #826261hikeitbabyParticipantThanks Josh,
Here’s the pastebin link. Not sure if these 2 functions can live together or if that’s causing the issue. Any help is appreciated. http://pastebin.com/3UwdmJ7G
note: it did switch all nomenclature on the backend as well (which is what the client wanted)
Thanks,
ClintOctober 22, 2014 at 11:40 pm #828849JoshParticipantHello hikeitbaby,
Thanks for following up with us!
It looks like the issue is with the final function. As a temporary fix, you could delete (or comment out) where it gets hooked at:
add_filter('ngettext', 'theme_filter_ntext', 20, 3);
It actually looks like there is an error associated with this function that looks like it may not be affecting the site with the intended changes. Do any of your translations switch back when disabling the above hook?
Thanks!
October 23, 2014 at 1:24 pm #830255hikeitbabyParticipantThanks Josh. That seemed to fix it. Everything else seemed to stay the same (the way we intended it).
Thanks,
ClintOctober 24, 2014 at 10:22 am #832817JoshParticipantHello Clint,
Happy to have been able to help!
I’ll go ahead and close this ticket. If you have any further questions please don’t hesitate to open a new one.
Thanks!
-
AuthorPosts
- The topic ‘sort functionality on the backend glitch’ is closed to new replies.