Why is Wordpress Killing my Aweber Webform?

19 replies
When I use the widget to add HTML and put in my Aweber HTML webform, somehow Wordpress is killing my webform and stripping out necessary code.

Has anyone else run into this problem and solved it?

THANKS!

David
#aweber #killing #webform #wordpress
  • Profile picture of the author RebeccaL
    Can you provide a bit more information on 'stripping out necessary code'?
    Thanks
    {{ DiscussionBoard.errors[606267].message }}
    • Profile picture of the author JustaWizard
      Originally Posted by RebeccaL View Post

      Can you provide a bit more information on 'stripping out necessary code'?
      Thanks
      Yes (thanks) it strips out the "form action" code necessary to make the web form work, leaves only the <form> </form> code so the form is there, but doesn't work.
      {{ DiscussionBoard.errors[606319].message }}
  • Profile picture of the author Micheal Perkins
    No problem with mine. I used the javascript code for mine. What I did was open the widgets area and chose the sidebar I wanted to add it to. Clicked the widget titled "text" and put that in my sidebar.

    I then opened that widget and pasted my code in, saved it and activated it. Been working fine since.
    Signature

    {{ DiscussionBoard.errors[606280].message }}
    • Profile picture of the author JustaWizard
      Originally Posted by Micheal Perkins View Post

      No problem with mine. I used the javascript code for mine. What I did was open the widgets area and chose the sidebar I wanted to add it to. Clicked the widget titled "text" and put that in my sidebar.

      I then opened that widget and pasted my code in, saved it and activated it. Been working fine since.
      Yeah, you're right - thanks - I experimented with just the javascript before too and it worked, the reason I prefer the HTML version is so I can tweak it outside of Aweber. I suppose I COULD just get it the way I want in Aweber then use the javascript.
      {{ DiscussionBoard.errors[606323].message }}
  • Profile picture of the author MikeLantz
    Your best bet is to save the webform to an HTML file, and then include that file using PHP inside the widget.

    You will need a PHP plugin for this - I personally use "Exec-PHP".

    So, then you create the text widget, and include something like the following in it:

    <?php include $_SERVER['DOCUMENT_ROOT'].'/path/to/your/subscribe-form.htm'; ?>

    This is exactly what I do and it works just fine. (Remember to replace the path with correct location of where your form HTML file is.)

    Mike
    {{ DiscussionBoard.errors[606338].message }}
  • Profile picture of the author enterpryzman
    I have tried to insert code form Xiosoft to do the same thing and it does not work for me either. I do not know alot about design and nothing about code.

    Enterpryzman
    {{ DiscussionBoard.errors[606339].message }}
  • Profile picture of the author Rob Whisonant
    What version of Wordpress are you running? Also is it Wordpress or Wordpress MU?

    I just tested the raw HTML in Wordpress 2.7.1 in a text widget and it worked fine.

    Are you trying to put the code in a widget or directly in a post?

    Re's
    Rob Whisonant
    {{ DiscussionBoard.errors[606461].message }}
  • Profile picture of the author thinkrich
    Sometimes using a different browser can help.

    While it may work in Firefox, it looks different in IE

    Sometimes it's the webhost. Some webhosts turn their php global settings off in the .htaccess file, or in their setup.

    Some scripts that worked without any problems in PHP4x do not work at all in PHP5
    {{ DiscussionBoard.errors[606629].message }}
    • Profile picture of the author countonuspr
      Thanks for bringing this point up. Maybe that is why on my blog my traffic has greatly increased and my opt-ins have nose dived. I am sorry to hear about this. I will try the Javascript option as well.
      Signature
      Paul Counts, Host of the "Count On Us Internet Profits Radio Show"
      {{ DiscussionBoard.errors[606639].message }}
  • Profile picture of the author JustaWizard
    On my WP blog, now when I insert the javascript into the text widget, it doesn't show: what should I be doing? Shouldn't I be able to insert the aweber form javascript in that widget?
    {{ DiscussionBoard.errors[606701].message }}
    • Profile picture of the author Rob Whisonant
      Originally Posted by JustaWizard View Post

      On my WP blog, now when I insert the javascript into the text widget, it doesn't show: what should I be doing? Shouldn't I be able to insert the aweber form javascript in that widget?
      The only time wordpress has messed with the code on me is if I try to post it directly in a "post".

      What version of Wordpress are you running? Also is it Wordpress or Wordpress MU?

      Are you trying to put the code in a "TEXT" widget, other widget or directly in a post?

      I just tested the raw HTML "and" java in Wordpress 2.7.1 in a "text" widget and it worked fine.

      Re's
      Rob Whisonant
      {{ DiscussionBoard.errors[606776].message }}
    • Profile picture of the author JustaWizard
      Originally Posted by Craig Desorcy View Post

      You're right, text widget is the one.

      The only time it's not shown for me is when aweber is down.

      Get it working?

      Craig
      Short answer - no. \

      Slightly longer answer, here's exactly what I'm doing, it's a wordpress.com blog:

      Appearances > Widgets > Text (add)

      I open the widget, paste in my javascript, done/save changes.

      If I look at the site, no Aweber webform; If I reopen the widget, the javascript has magically disappeared.

      Is this some kind of limitation of a free wordpress blog, or....??

      THANKS!

      David
      {{ DiscussionBoard.errors[607849].message }}
  • Profile picture of the author urbanned
    You should use the javascript version, not the form. It will work fine with javascript.
    {{ DiscussionBoard.errors[606705].message }}
  • Profile picture of the author Droopy Dawg
    Originally Posted by JustaWizard View Post

    When I use the widget to add HTML and put in my Aweber HTML webform, somehow Wordpress is killing my webform and stripping out necessary code.

    Has anyone else run into this problem and solved it?

    THANKS!

    David

    Its probably the theme you use... some themse can act realy funky with code.

    Try changing the them as a test, and see if the behavior continues. If your form works fine with another theme, then you know that your theme is the problem. If the form is still messed up after the theme change, then you may need to contact support (wordpress or aweber).
    Signature


    {{ DiscussionBoard.errors[607897].message }}
  • Profile picture of the author kevinw1
    I think you found the problem - it's a free wordpress.com blog, not a self-hosted one using code from wordpress.org. I would bet the others in the thread who have made it work are using wordpress code on their own hosting.
    {{ DiscussionBoard.errors[608008].message }}
  • Profile picture of the author Rob Whisonant
    OK, here is the problem. Got this off the Aweber site.

    Users of Wordpress.com-hosted blogs, please note that they do not permit placing forms on your blog. We recommend either migrating your Wordpress blog to your own domain, or using Blogger, which does permit forms on its blogspot.com-hosted blogs.

    Re's
    Rob Whisonant
    {{ DiscussionBoard.errors[609175].message }}
    • Profile picture of the author JustaWizard
      Originally Posted by Rob Whisonant View Post

      OK, here is the problem. Got this off the Aweber site.

      Users of Wordpress.com-hosted blogs, please note that they do not permit placing forms on your blog. We recommend either migrating your Wordpress blog to your own domain, or using Blogger, which does permit forms on its blogspot.com-hosted blogs.

      Re's
      Rob Whisonant
      Thanks Rob, I do appreciate you finding that (especially since I should have looked for that, eh? - that also explains why my blogger blog is a complete no-brainer for aweber forms...

      Best,
      David
      PS: THANKS TO ALL WHO WERE KIND ENOUGH TO CONTRIBUTE, I APPRECIATE IT (no, I'm not yelling, just raising my voice... ;-)
      {{ DiscussionBoard.errors[610777].message }}

Trending Topics