Support

Home Forums Custom Files Add-on (EE3) Custom Table Problem

Custom Table Problem

Posted: August 27, 2012 at 11:12 am


islesser

August 27, 2012 at 11:12 am

Hi i was reading this post from the old forum and was looking to replicate it:

https://eventespresso.com/forums/2012/02/how-to-display-events-as-a-chart/

noticed you said you planned to make it work with the venue manager and if this update is still planned?

Also the shortcode im using is
[ESPRESSO_TABLE show_expired=”false” category_id=”coventry”]
yet expired events are still being shown? any ideas why?

Thanks


Chris Reynolds

  • Support Staff

August 27, 2012 at 2:31 pm

noticed you said you planned to make it work with the venue manager and if this update is still planned?

Um…sort of? We need to do work on all of those templates, but we haven’t had time to do so what with the updates for 3.2 and calendar and everything else. That said, I was able to do some of that by wrapping the venue shortcode in a do_shortcode function and getting that information to show up in the tables (that’s really the “make it work” that was “planned”).

Also the shortcode im using is
[ESPRESSO_TABLE show_expired=”false” category_id=”coventry”]
yet expired events are still being shown? any ideas why?

Sure, probably the show_expired parameter isn’t working. Can you check to see if you have this around line 26:

$show_expired = $show_expired == 'false' ? " AND e.start_date >= '".date ( 'Y-m-d' )."' " : '';


islesser

September 3, 2012 at 11:59 am

not quite sure i understand you, i have to put that shortcode where?

which file am i looking for this code in?


Chris Reynolds

  • Support Staff

September 4, 2012 at 2:33 pm

If you are using the ESPRESSO_TABLE shortcode, then you would need to look in the espresso_table.php file. The same is true for where to put the ESPRESSO_VENUE shortcode to display that information in the table; you would need to edit the espresso_table.php template (or the template for whatever table shortcode you are using).


islesser

September 12, 2012 at 7:15 am

ye i do have the code in the file, i assume that means its not working properly?


islesser

September 13, 2012 at 1:18 pm

also ive just noticed that the category_id=”stirling” does not function. meaning it might be a problem with adding stuff to the shortcode.

[ESPRESSO_TABLE show_expired=”false” category_id=”stirling”]

ive been using this format and the show expired and caregory id sections appear not to be working


islesser

September 17, 2012 at 6:38 am

sorry to bump this but ive seen another forum post about how i could use category_identification instead of category id to make it work, so just need help with the expiration thing now, Thanks


islesser

September 25, 2012 at 10:55 am

hi, sorry but its almost been two weeks and i still havnt been able to find a fix, is there anything i can do?


Dean

September 27, 2012 at 5:12 am

I have closed this thread as it has been reopened here https://eventespresso.com/topic/custom-table-filtering/

The support post ‘Custom Table Problem’ 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.

Do NOT follow this link or you will be banned from the site!