Support

Home Forums Event Espresso Premium EE4 Categorys and Calendar Plugin

EE4 Categorys and Calendar Plugin

Posted: July 30, 2014 at 8:08 am

Viewing 3 reply threads


Jonathan Allsebrook

July 30, 2014 at 8:08 am

Hi,

A few Calendar Related questions please!

Am trying to work out how to hide the ‘General’ category from the Calendar drop down using the Calendar Plugin.

How can we make this list alphabetical?

How can we change the wording Category and Venue on the drop down labels?

We also would like it if when a specific course is selected and there is no dates that month it jumps to the month when that event is on.

Thanks


Josh

  • Support Staff

July 30, 2014 at 1:09 pm

Hi Jonathan,

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:

http://stackoverflow.com/a/9234883

How can we make this list alphabetical?

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:

https://eventespresso.com/wiki/how-to-change-wording-with-poedit/

We also would like it if when a specific course is selected and there is no dates that month it jumps to the month when that event is on.

I can note this as a feature request because the calendar doesn’t have a feature that can make this happen.


Jonathan Allsebrook

July 31, 2014 at 7:34 am

Hi Josh,

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?


Josh

  • Support Staff

July 31, 2014 at 8:17 am

Hi Jonathan,

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.

Event Espresso