Support

Home Forums Event Espresso Premium Modify Default View of 'Event Overview' Backend

Modify Default View of 'Event Overview' Backend

Posted: May 17, 2013 at 3:16 pm

Viewing 6 reply threads


Jake Bingen

May 17, 2013 at 3:16 pm

I would like to have ‘Venue’ to show up in the default view of the “Event Overview’ and if possible remove other columns as well (Reg Begins).  I believe I found the code but am lost where it is calling to.  We have the latest version of EE: 3.1.32.2.P.

wp-contentpluginsevent-espressoincludesevent-managementevent_list.php

“oColVis” and “aoColumns”:

Has anyone modified this?

I posted a little less than a year ago but I do not believe this was put in the later version unless if I missing how to use this.  Thanks.

https://eventespresso.com/topic/add-venue-as-default-view-to-event-overview-backend/

Thanks for any assistance on this.


Tony Warwick

May 18, 2013 at 10:26 am

I’ve edited this before, but its not recommended to alter core files as they’ll be lost after each update.

To get the venue info to display by default the simplest method (without editing code) is to use the Venue manager for you venue info.

Hiding other columns by default isn’t hard but can be a little confusing. The line to edit is 369 but again these will be lost after each update.


TFA

May 18, 2013 at 3:39 pm

I havent seen a way to make the overview screen to default to the current month/year instead of have to do it EVERY time. EE, put my point toward a feature request regarding this as well


Dean

May 20, 2013 at 4:48 am

Thanks for the feedback, i will add these points to our feature request list.


Jake Bingen

May 20, 2013 at 12:06 pm

Thank you.  I do not mind updating code every time we upgrade EE.  I was able to add a the Venue column but I am unsure how to remove other columns.

<pre>

{ “bVisible”: false, “aTargets”: [ <?php echo $org_options[‘use_venue_manager’] == ‘Y’ ? ” : ‘0,’ ?> 4 ] }

</pre>


Tony Warwick

May 20, 2013 at 12:34 pm

Ok, so to put it simply.

bVisible is whether or not the element should be visible or not. (in this case false, so not visible)

aTargets says this is what elements to apply the bVisible rule to in an array which looks like [ 1, 2, 3]

The php statment says that if venue manager is used, don’t include the element number for the venue column (so it is shown). Else, include its number and hide the venue column. Then include element 4 to hide by default (DoW).

You start from the left of the table and count from 0 (zero) so the check box is 0, ID is 1, name is 2 etc. So for example to hide the checkbox, venue and DoW you set aTargets like:

“aTargets”: [ 0, 3, 4]

Play around until you get what you want. Modifying that line doesn’t change anything on the Database so if something goes wrong just put it back to default and start again.

It looks like you excluding the Checkbox already but you dont need the 0, just get rid of the php statment altogether.

Another note, if something breaks I’m sure the team will likely ask you to install a stock version of EE as mods just confuse everything!


Jake Bingen

May 20, 2013 at 2:14 pm

Thank you for your help this is exactly what I was after.  I have excluded the columns I wanted.

Viewing 6 reply threads

The support post ‘Modify Default View of 'Event Overview' Backend’ 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