Support

Home Forums Event Espresso Premium Change the default number of events in Event Overview

Change the default number of events in Event Overview

Posted: June 20, 2014 at 2:00 pm


cmessengerlehmann

June 20, 2014 at 2:00 pm

Hi
Is it possible to change the amount of events that appear on the event overview page in the admin from 10 to 50 or 100. I know I can change the ‘show 10 entries’ field however my client wants the default number of entries that shows to be 50 or greater instead of 10 thus reducing the amount of pagination.

Thanks
Terry


Tony

  • Support Staff

June 20, 2014 at 4:47 pm

Hi Terry,

I’m not aware of a way to alter the default without modifying core, meaning this will be lost on each Event Espresso update. It is recommended you do not modify core files in this way.

You’ll need to open up event-espresso\scripts\jquery.dataTables.min.js

Search for ‘iDisplayLength=10’ yo should find this on line 37.

Change that value to either 10,25,50,100.

That will set the default for the initial page load, however once the ‘Show xx entries’ dropdown has been altered the new value should be stored within a cookie, than value will be loaded until either the cookie expires or is removed.

Personally with the above I would not alter core when the value is stored within a cookie anyway.

The support post ‘Change the default number of events in Event Overview’ 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