Support

Home Forums Event Espresso Premium EE4 Table template limit more than 10 no pagination

EE4 Table template limit more than 10 no pagination

Posted: October 19, 2015 at 8:37 am


Kim Shiely

October 19, 2015 at 8:37 am

Hi,

Is it possible to show more than 10 events in one category table with no pagination?

Please see the second table as example –
http://www.kindermusikwithfriend.us/schedule-registration/

Thanks.


Lorenzo Orlando Caum

  • Support Staff

October 19, 2015 at 11:18 am

Hi Kim,

The page does not appear to have the shortcode for the events table view template on it but this should work:

[ESPRESSO_EVENTS_TABLE_TEMPLATE category_slug=”your-event-category-slug” limit=”20″]

Change the category_slug to the correct slug and then set the limit to the amount that you want to show.


Lorenzo


Kim Shiely

October 20, 2015 at 4:24 am

Sorry, I meant this link – http://www.kindermusikwithfriend.us/schedule-and-registration/fall-2015/

Here is the shortcode –
[ESPRESSO_EVENTS_TABLE_TEMPLATE category_slug=”our-time-fall” table_search=”false” reg_button_text=”ENROLL NOW” category_filter=”false” sort=”ASC” sold_out_button_text=”FULL” limit=”20″ table_paging=”false”]


Tony

  • Support Staff

October 20, 2015 at 5:34 am

Hi Kim,

This is caused when the shortcode is used multiple times within the page.

If I setup page with:

[ESPRESSO_EVENTS_TABLE_TEMPLATE]

[ESPRESSO_EVENTS_TABLE_TEMPLATE table_search=”false” reg_button_text=”ENROLL NOW” category_filter=”false” sort=”ASC” sold_out_button_text=”FULL” limit=”20″ table_paging=”false”]

(Your shortcode without the category filter)

Then both of tables output appear use a limit of 10 but if I use either shortcode individually they work as expected.

This is because the first shortcode is adding Javascript to the page that is hiding the events that would normally be paged. So currently in order to use multiple instances of the shortcode you’ll need to add table_paging=”false” to each instance of the shortcode to prevent the Javascript from being loaded at all.


Kim Shiely

October 20, 2015 at 7:35 am

Thanks Tony,

Are you saying we can’t have multiple tables on the same page, with each table for specific grouped classes?

We need the category filter to display the specific classes.

We would like to show each of the 5 tables with the specific classes in each table. Is that possible?

Thanks.


Lorenzo Orlando Caum

  • Support Staff

October 20, 2015 at 9:26 am

Hi Kim,

Could you update each of the shortcodes that is in use on the page to include the following parameter?

table_paging=”false”


Lorenzo


Kim Shiely

October 20, 2015 at 9:43 am

Thanks Lorenzo,

This is the shortcode now, but still no joy.

[ESPRESSO_EVENTS_TABLE_TEMPLATE category_slug=”our-time-fall” table_search=”false” reg_button_text=”ENROLL NOW” category_filter=”false” sort=”ASC” sold_out_button_text=”FULL” limit=”20″ table_paging=”false”]

Is that correct?


Lorenzo Orlando Caum

  • Support Staff

October 20, 2015 at 9:55 am

Hello,

Was table_paging=”false” added to every shortcode for the table view template on the page?


Lorenzo


Kim Shiely

October 20, 2015 at 10:17 am

Yes, in all 5 shortcodes, exactly the same shortcode as previously mentioned is showing.

Anything else I can try?


Josh

  • Support Staff

October 20, 2015 at 1:54 pm

It should work to add table_pages=100 (or whatever number you set) to the shortcode there.


Kim Shiely

October 22, 2015 at 3:26 am

Thanks Josh,

That did the trick, the shortcode in the end is this, just incase anyone else needs it;

[ESPRESSO_EVENTS_TABLE_TEMPLATE category_slug=”village-fall” table_search=”false” reg_button_text=”ENROLL NOW” category_filter=”false” sort=”ASC” sold_out_button_text=”FULL” limit=”20″ table_paging=”false” table_pages=100]

Thanks.


Tony

  • Support Staff

October 22, 2015 at 5:20 am

Thanks for sharing Kim.

We will be adding an update to the Event Table view template that will automatically set table_pages to a higher value if table_paging is set to false (although if a value has been manually set, it will use that value)

This should prevent this from happening in the future 🙂


Kim Shiely

October 27, 2015 at 4:23 am

Thanks Tony!

The support post ‘EE4 Table template limit more than 10 no pagination’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Kim Shiely 4 years ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!
[for="input_96_5_3"]
[for="input_96_5_3"]
[gravityform id=96 title=false description=false]
  • This field is for validation purposes and should be left unchanged.
[i]
[i]
[gravityform id=69 title=false description=false]
  • This field is for validation purposes and should be left unchanged.