Support

Home Forums Event Espresso Premium Add More Attendees

Add More Attendees

Posted: July 12, 2012 at 2:34 am

Viewing 18 reply threads


rjackson

    July 12, 2012 at 2:34 am

    When clicking (click to toggle, limit 3) to add more attendees, the link is dead and does nothing. I have tried all browsers, twenty 10 theme and also put shortcode inside [raw][/raw]. I can’t find the problem. What else can I try to fix this?
    http://events.tampablackheritage.org/event-registration/?ee=2


    Josh

      July 12, 2012 at 8:03 am

      If switching to twentyten did not help, I can suggest looking for plugin conflicts.

      I looked at the source of the page, and the JavaScript that handles the toggle terminated early, which is something I have not seen before. There is paragraph tag added before the start of the script, which can sometimes point to an auto p problem.

      Sometimes it can help to add this function to the current theme’s functions.php file to add support for the raw short tag:

      if ( !is_admin() ){
      remove_filter('the_content', 'wpautop');
      remove_filter('the_content', 'wptexturize');
      add_filter('the_content', 'espresso_raw_formatter', 99);
      }
      


      rjackson

        July 12, 2012 at 8:14 am

        This is so weird, I de-activated everything then re-activated everything except theme. Seems to work now with out my current theme. With twenty10 it’s working now. I’m using [raw] already. I have no idea how to fix this. Can you at lest point me in the right direction


        Josh

          July 12, 2012 at 9:47 am

          Your theme might not support the [raw] short tag, so try adding the function I pasted above to your current theme’s functions.php file.


          dprice

            July 12, 2012 at 5:58 pm

            I was having the same problem. I added the code above to my functions.php and it error’d out the script. Is there a specific location that it needs to be added to?


            Josh

              July 13, 2012 at 10:59 am

              between the opening and closing php tags.

              Example:

              <?php
              
              existing code
              
              your new code
              
              ?>
              

              Sometimes there isn’t a closing tag, which is fine.

              You should check to see if your theme supports the raw tag first before adding this to the theme’s function files.


              dprice

                July 13, 2012 at 2:42 pm

                Josh,

                I am at a loss. The ADD MORE ATTENDEES link will only add +1 additional attendee even if I have it set to allow 10. I have tried adding the code that you posted above without success. I have also tried the 20 ten and 20 eleven themes, without success. I am using the WP Super Skeleton theme from Themeforest.net.

                Is there something else for me to try and do or check? I really need this feature working.


                Josh

                  July 13, 2012 at 2:50 pm

                  Can you post a link to this page? If not, please send a link to the registration page via this form:
                  http://staging.eventespresso.com/contact/

                  Select the “I am sending login info as requested” department form. It’s not necessary to send the login info, we only need a link to the page.


                  dprice

                    July 13, 2012 at 2:51 pm

                    http://www.ouarmyrotcalumni.org/event-registration/?ee=1/


                    Josh

                      July 13, 2012 at 3:03 pm

                      Seems to be working fine for me. Which browser are you using? Is there an error that is thrown when the + icon is clicked?


                      dprice

                        July 13, 2012 at 3:04 pm

                        I am using Google Chrome. No error is clicked. It just acts as if it is a dead link.


                        dprice

                          July 13, 2012 at 3:05 pm

                          Also, several of our users have complained and said it didnt work for them either.


                          Josh

                            July 13, 2012 at 3:07 pm

                            Do you have JavaScript turned off in the browser?


                            dprice

                              July 13, 2012 at 3:11 pm

                              No I do not. I also just tried with Firefox and it was a no go as well


                              dprice

                                July 13, 2012 at 3:16 pm

                                Just to make sure we are on the same page. As I click the ADD MORE ATTENDEES (Click to toggle, limit X), EACH click is supposed to immediately create NEW EMPTY FIELDS (ATTENDEE #2, #3, etc) and I should have the option to complete each attendee, do a meal selection and press SUBMIT one time?

                                If this is the case, it isn’t working for me and about 5 others.


                                Josh

                                  July 13, 2012 at 3:17 pm

                                  I’ve tried Firefox and Chrome and the little green + icon is working as expected. When I click it, an additional form opens. Are you getting any JavaScript errors with Firebug turned on?

                                  Update:
                                  I didn’t see your other response. The toggle opens the additional attendee view, and the green plus icons add more attendees, the red minus icons remove them.

                                  • This reply was modified 12 years, 2 months ago by Josh. Reason: update


                                  rjackson

                                    July 13, 2012 at 4:59 pm

                                    Works fine for me on Chrome


                                    dprice

                                      July 13, 2012 at 5:09 pm

                                      I feel like a moron. Thanks for everyones help!

                                      I didn’t realize that you have to click the “+” button to add additional attendees.

                                      I would like to alter the text that says “click to toggle” and something to the effect of “Click the “+” to toggle and add more attendees”

                                      Where would this text be located in which php file?


                                      Josh

                                        July 16, 2012 at 7:28 am

                                        The ‘event_espresso_additional_attendees’ function in includes/fuctions/main.php.

                                        Viewing 18 reply threads

                                        The support post ‘Add More Attendees’ 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 - Staging Server