Events manager conflict with legacy theme

Homepage Community Forums Optimal Theme Support Events manager conflict with legacy theme

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11764
    DynamicR
    Customer

      Do you have any knowledge of a theme conflict between Legacy and Events manager?

      I have events manager installed on this site
      http://au.worldthankyouday.org/events/world-thank-you-day-breakfast/

      When the form is filled out and we are using the default theme and we press paypal it goes off to paypal.

      If we change to legacy theme it fails to redirect.

      This is the paypal redirect code that works with the default theme

      //add paypal redirection
      $(document).bind(’em_booking_gateway_add_paypal’, function(event, response){
      // called by EM if return JSON contains gateway key, notifications messages are shown by now.
      if(response.result){
      var ppForm = $(‘<form action=”‘+response.paypal_url+'” method=”post” id=”em-paypal-redirect-form”></form>’);
      $.each( response.paypal_vars, function(index,value){
      ppForm.append(‘<input type=”hidden” name=”‘+index+'” value=”‘+value+'” />’);
      });
      ppForm.append(‘<input id=”em-paypal-submit” type=”submit” style=”display:none” />’);
      ppForm.appendTo(‘body’).trigger(‘submit’);
      }
      });

      Do you know where this could be conflicted with Legacy? Any help much appreciated.

      #11774
      Eric
      Customer

        There is nothing within Legacy that would conflict with it since it’s mostly just handles the design. All functionality of the theme comes from the Genesis Framework, usually…..unless there is custom code added to the child theme. In most cases, when there is a conflict, it’s either due to the plugin or the Genesis Framework.


        I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.