Support

Home Forums Event Espresso Premium Add more attendees toggle not working for me

Add more attendees toggle not working for me

Posted: April 21, 2013 at 11:09 am


Zachary

April 21, 2013 at 11:09 am

Hello,

I have read through the forums and can see that others have had the same issue with the “Add more attendees” toggle not working.

After troubleshooting it through all the plug-ins, etc., it looks like it may be something in my theme, as things work fine when I go back to the default Twenty Ten theme.

But I am totally clueless as to how to fix it as I am a real novice in this code stuff, and my theme developer is unresponsive.  Anyone have any thoughts on how I can fix this?

I would be very appreciative.  🙂

WP 3.5.1
EE 3.1.31.1
New install
https://northstarschool.org/event-registration/?ee=1


Dean

April 21, 2013 at 11:08 pm

Hi,

There are a couple of issues which could be affecting it.

1) the theme is loading two versions of jquery, the correct one and an older unnecessary version.

This can be fixed by checking the themes functions.php and header.php and finding the code relating to the jQuery 1.4.2 and commenting it out or removing it.

2) There is a plugin (or perhaps the theme is looking for a plugin? hard to say) called Shadowbox-js which cannot find its jquery. If this is an actual plugin then it can be disabled and if its something in the theme again, finding the code and removing/commenting it out will help.

Once those are done then it should work again, unless there are other errors not yet visible.

If you want us to fix the theme for you, you would need to purchase a priority support token as it is outside of general support – https://eventespresso.com/product/priority-support-tokens/


Zachary

April 22, 2013 at 2:07 pm

Hi Dean,

Thanks for the thoughtful reply.

There are deactivated plug-ins in my list called “Shawdowbox JS” and “Shadowbox JS – Use Title from Image.” I can’t tell what they are for, as nothing on my site seems to act or function differently whether I have them activated or deactivated. I activated them and the add attendee toggle still does not work.

This javascript problem with my theme looks similar to one that has affected the functionality of other plug-ins for me like Cforms and Simple Authorize Payments WP. Basically certain aren’t clickable or items that are supposed to be hidden are showing (like here: https://northstarschool.org/support/donation-page/).

If you can help me sort out this thing with EE I have a hunch it will fix a lot of other things for me. 🙂

I just purchased a priority support token, and would love to get your help. What do I need to do next?

Thanks!


Josh

  • Support Staff

April 22, 2013 at 3:31 pm

Hi Zachary,

Please send temporary WordPress admin level log in credentials and working FTP credentials via the contact form on this page:

https://eventespresso.com/send-login-details/

Either Dean or I can look into the theme files and sort out the jQuery issue.


Josh

  • Support Staff

April 22, 2013 at 4:40 pm

Hi Zachary,

There were more than a few issues with the way that the theme had JavaScript added in the header.php template. I moved the scripts below the wp_head() function so they’d load after the WordPress included jQuery loads. Then in footer.php the wp_footer() function had been commented out, so I uncommented it.

it was:

<?php //wp_footer(); ?>

and should be & now is:

<?php wp_footer(); ?>

I do not know the intent of commenting out the wp_footer() function, it may have not been intentional (like they were testing something and forgot to uncomment it) or they may had done it for a reason so you may want to click around and make sure other parts of the site still work like they did before. I checked and didn’t see anything out of order, but it would be good for someone more familiar with the site to check.

The wp_footer(); function needs to be in footer.php or you’ll have all kinds of plugins that use it break. I checked the add more attendees toggle and the form validation and they are both working now.

Re: the blackbox plugins. If these were deactivated before you should probably deactivate them and remove the code in footer.php that starts on line 21 and ends on line 82 since that’s all shawdowbox code and is throwing errors on all the pages on your site (and doesn’t appear to be working anyway). It looks like they wanted to load it on all the pages except for the home page and a few other pages they specified.


Zachary

April 22, 2013 at 4:58 pm

Great! It is working now. I will follow up on your suggestions.

Thanks so much!

The support post ‘Add more attendees toggle not working for me’ 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