Support

Home Forums Event Espresso Premium EE4 Table View Template – Remove Columnn

EE4 Table View Template – Remove Columnn

Posted: August 24, 2014 at 5:18 am


Ty

August 24, 2014 at 5:18 am

How do I remove the “venue” column from the EE4 Table View Template? I would like to have three columns only (event, date and the register link).

A related question — is there way to get the event description to wrap so that it does not spill into the next column?

Thanks.

Ty H.


Lorenzo Orlando Caum

  • Support Staff

August 24, 2014 at 8:33 pm

Hello,

Could you share a link to an event so we can take a look at this issue?

If you do not want to share this link here in our support forums then please email the link to the email address below and also include a link to the support post.

support [at] eventespresso.com

Thanks!


Lorenzo


Lorenzo Orlando Caum

  • Support Staff

August 25, 2014 at 6:08 pm

Thank you for providing that link.

This should remove the venue column:

.espresso-table .venue_title {display:none;}
.espresso-table-header-row .th-group.footable-sortable:nth-of-type(2) {display:none;}

Please add it to your child theme’s stylesheet or a plugin like My Custom CSS.

Then refresh your browser to see the changes on that page.


Lorenzo


Ty

August 26, 2014 at 6:28 am

Unfortunately, that did not work. (Those are the only CSS {display:none;} changes that don’t work.)

http://dominicanretreat.org/new/table-of-events/

Also, the table does not advance to the next page. There are 40 events, the table shows only 10. Oddly, it will sort all events but will only display 10.

Ty H.


Dean

August 26, 2014 at 6:43 am

Hi,

You have a typo in the CSS file:

/* Delete venue column in event table plugin

It is missing the closing */ so the CSS following it is being commented out.

The pagination issue looks like a bug, I will get a developer ticket raised to look into that, thanks for bringing it to our attention!


Ty

August 26, 2014 at 9:07 am

Dean:

Good catch. Closing the comment with */ fixed it. The venue column is gone.

I’ll await an update on the pagination. I’ll just list all the events for now.

Since you on top of this, the categories and search boxes don’t line up like they do in the examples for the plugin. There is too much white space between them and the table. Is this a CSS issue with my theme?

Thanks.

Ty H.


Tony

  • Support Staff

August 26, 2014 at 9:15 am

Hi Ty,

If you edit the page you have that shortcode on and switch the editor to ‘Text’ mode you’ll find the shortcode is wrapped within pre tags.

You’ll need to remove both the open and closing pre tags and update the page.

That should then fix the spacing issue.


Ty

August 26, 2014 at 9:25 am

Think I figure it out — mostly.

[ESPRESSO_EVENTS_TABLE_TEMPLATE table_style = metro; table_paging = true; table_search = false; limit = 100; table_pages = 20]

The limit is how many records are pulled from the database. The pagination is set by table_page. If limit < table_pages, there is nothing to paginate.

However, there is still a bug in the pagination buttons in the metro table_style. See http://dominicanretreat.org/new/table-of-events/

It would also be nice to know how to set the table column width.

Ty H.


Lorenzo Orlando Caum

  • Support Staff

August 26, 2014 at 11:08 am

Hi,

There is a broken link that is appearing on a CSS file:

/wp-content/plugins/eea-events-table-view-template-2/css/footable.metro;.css?ver=3.9.2

Does this only happen when the metro style is enabled via the shortcode?


Lorenzo


Ty

August 26, 2014 at 3:55 pm

Lorenzo:

Thanks. I had some semi-colons in the short code. That caused the problem. It seems to be working now with this short code:

[ESPRESSO_EVENTS_TABLE_TEMPLATE table_style = standalone table_paging = true table_search = false limit = 100 table_pages = 20 table_search = true]

http://dominicanretreat.org/new/events-standalone/

[ESPRESSO_EVENTS_TABLE_TEMPLATE table_style = metro table_paging = true table_search = false limit = 100 table_pages = 20 table_search = true]

http://dominicanretreat.org/new/events-metro/

Tony:

Thanks. I took out the pre tags and that fixed the spacing.

All:

One more question. How do I make the day column a little wider so that the time does not wrap?

Ty H.


Lorenzo Orlando Caum

  • Support Staff

August 26, 2014 at 4:19 pm

Try this:

.espresso-table-header-row .th-group.footable-sortable:nth-of-type(3) {width: 250px;}


Lorenzo


Ty

August 26, 2014 at 4:34 pm

Lorenzo:

That did it. Thanks!

Ty H.


Josh

  • Support Staff

August 27, 2014 at 7:15 pm

Hi Ty,

You’ll need to make sure to set a query limit so table will load more than 10 events (10 is the default limit). You can change the shortcode on the page to be:

[ESPRESSO_EVENTS_TABLE_TEMPLATE limit=50]

it will stop querying at 50 instead of 10. The JavaScript pagination will kick in and page the events by ten (which you can also change by setting a value for table_pages).

The support post ‘EE4 Table View Template – Remove Columnn’ 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