Support

Home Forums Event Espresso Premium Filter not working correctly/ add ons question.

Filter not working correctly/ add ons question.

Posted: March 17, 2014 at 9:28 am


Pim Stumpel

March 17, 2014 at 9:28 am

Hi there,

I’m using wp 3.8.1, the installed ee is ee3 right now and the add-ons installed are: mailchimp(not active yet), custom template add on(active) and calendar add on(active).

i’ve got some questions, i just bought the business license, which included many add ons.. 1)But after buying i saw it is not working with ee4, that was a disappointment, but oke stuff happens, can you tell me when all the add-ons that are included in the business license will be available?
2) Also if you go to this link: http://www.test.dinghycoach.nl/clinics-events/ and try to Filter by category it does not work. All the categories are matched to the events so that’s not the problem, also i didn’t change any permalink settings so thats not it as well. For example try to click on the category “Optimist” it the list turns blank, if you click on the show all category again, it stays blank. So it isn’t functioning correctly:(. It should first show the optimist list and when i go back it should show all again.
3)Also is it possible to add more description fields to the filter/List, right now it says: “Event” “Venue” “Date” in the titlebar of the list, is it possible to add more fields over there? If so how and where can i do that?
4)I have been told that is possible to have a list on the website of people who already registered to an event. Can you tell me where that list is? Or how i can put it in?


Tony

  • Support Staff

March 18, 2014 at 3:00 am

Hi,

1) Unfortunately not at this time, I can tell you we are working on making the Calendar and JSON API Add-on’s compatible first, the others will follow as soon as we can.

2) We have seen this issue before and have a fix, In plugins/espresso-custom-templates/templates/events-table/index.php, change line 93 to:

<tr class="espresso-table-row cat-<?php echo str_replace(',', ' cat-', $event->category_id); ?>">

Original fix here:
http://eventespresso.com/topic/filter-not-working-correctly-add-ons-question/

This has been included within the next update for the Custom Template Add-on.

3) This will depend on your PHP/HTML/JavaScript skills? It is within the same file mentioned above. The titles for the table columns are on lines 32-34, the content columns line 93-98.

What is it you would like to add?

4) This is done using the [LISTATTENDEES] shortcode which can be placed either within the event description, or placed within a template file within the do_shortcode() function.

Does that help?


Pim Stumpel

March 18, 2014 at 4:11 am

Hi there,
thank you for your quick response, i tried to fix the Filter and put the code in over here:
if ($event_status == ‘NOT_ACTIVE’) {
$live_button = __(‘Closed’, ‘event_espresso’);
$cart_link = ”;
}

?>
<tr class=”espresso-table-row cat-<?php echo str_replace(‘,’, ‘ cat-‘, $event->category_id); ?>”>

<td id=”event_title-<?php echo $event->id?>” class=”event_title”><?php echo stripslashes_deep($event->event_name) ?></td>

but it doesn’t work or change anything:(, hope you can help me out

cheerss


Pim Stumpel

March 18, 2014 at 4:33 am

Hi again,

just one other question and response to your question on subject 3).
My Php/html skills are low/good, but i have zero js skills.
What i would love to have in the Filter list is 2 more things, now it says:
Event/Venue/Date i would love:

Event/Category/Venue/Date
And also i was wondering if it is possible to put links next to the “register” link that will go to seperated attendee’s list. I’ve put in the shortcode as you mentioned above, but it would be perfect if a person can click next to “register” on a link called Attendees and then will get to a page with only the attendees of that event. Is that possible?

cheerss


Tony

  • Support Staff

March 18, 2014 at 8:32 am

After a little investigating we have one more change for you to try.

Within that same file (plugins/espresso-custom-templates/templates/events-table/index.php), line 107 should be:

var ee_filter_cat_id = jQuery("option:selected").attr('class');

Change that to

var ee_filter_cat_id = jQuery("#ee_filter_cat option:selected").attr('class');

The odd thing is the code works fine locally, but not for yourself.

The customisations you have mentioned would require a fair amount of custom development to implement. I would advise contracting one of our recommended developer available on our Pro’s page here:

http://eventespresso.com/developers/event-espresso-pros/


Pim Stumpel

March 18, 2014 at 12:03 pm

Thank you the filter works perfect now!:)

I understand the customizations are a lot of work, but right now i don’t have the money to hire a developer for that.

So than i have another question, you gave me the [LISTATTENDEES] shortcode which retrieves all the attendees for al the categories, is it possible that you give me the code or shortcode for each event seperately? Than i just paste it on the single Event/register page and people can check who are already registered.

Any other solutions are always welcome!

cheerss

Pim


Tony

  • Support Staff

March 19, 2014 at 3:53 am

Thank you the filter works perfect now!:)

No Problem 🙂

So than i have another question, you gave me the [LISTATTENDEES] shortcode which retrieves all the attendees for al the categories, is it possible that you give me the code or shortcode for each event seperately? Than i just paste it on the single Event/register page and people can check who are already registered.

This depends on how and where you use the [LISTATTENDEES] shortcode. Placing that shortcode outside of an event (not in the event description or within an Event Espresso template file) will show all attendees registered to all events.

However most EE shortcodes also allow you to set attributes to narrow down your results, [LISTATTENDEES] is one of those, if you take a look here you can find all the attributes for [LISTATTENDEES] (and also all our shortcodes):

http://eventespresso.com/wiki/shortcodes-template-variables/#attendee-list

SO to create an attendee list for a specific event on a single page you would use:

[LISTATTENDEES event_identifier=”your_event_identifier”]

Changing your_event_identifier for the actual event_identifier for the event. Easiest way to find that is to edit the event (Event Espresso -> Event Overview, find the event and click on it) look under the event title and there is a field for the event_identifier. http://take.ms/BwYXp

So in my example the shortcode would be:

[LISTATTENDEES event_identifier=”performance-1-1-52e7baa63e9c8″]

Yours will be different.

You can also include [LISTATTENDEES] within the event description and it will be displayed within the Registration Page. http://take.ms/mDs88

As you are then using the shortcode within the single event itself, it will only display attendees for that event.

Does that help?


Pim Stumpel

March 19, 2014 at 4:56 am

Thank you for all the information!
I’m sure i can figure something out what works for me:)

Thank you so much, great service!


Tony

  • Support Staff

March 19, 2014 at 6:07 am

You’re Welcome.

Just let us know if you have any further questions 🙂

The support post ‘Filter not working correctly/ add ons question.’ 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  Tony 5 years, 8 months ago ago

Topic Tags

Notifications

This topic is:
pending
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.