A few of your requests are possible and I’ll let you know how they can be done.
Am trying to work out how to hide the ‘General’ category from the Calendar drop down using the Calendar Plugin.
This can be done, but in order to make it work cross browser you’ll need to use both a CSS solution and a jQuery solution. Here’s a link that includes some example code that can be adapted to hide one of the options:
You can make the list alphabetical by creating your categories in alphabetical order. I checked and there isn’t a filter in the code to add an ORDER_BY query to allow for ordering but that might be something we can add in a future version.
How can we change the wording Category and Venue on the drop down labels?
Both of these strings:
Select a Category
and
Select a Venue
are wrapped in translation functions, so they can be changed by using a gettext filter function. There is some example code in this guide you can adapt:
Thanks for that. I can’t actually find the Select a Category or the Select a Venue string at all to edit in quick localisation… whats the domain to use when using that plugin as it works on the event_espresso for things already but doesn’t for the Calendar drop down?
You’ll likely need to use the gettext filter function method instead of the quick localisation plugin. That’s the most reliable way to filter text.
Viewing 3 reply threads
The support post ‘EE4 Categorys and Calendar Plugin’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.