PDA

View Full Version : Fixing the Subscribe by Email Button in the Evolution Theme


meflowers331
02-07-2009, 05:16 PM
Just wanted to let some people know how I went about fixing the subscribe by email button at the top right of the bt-evolution theme. This only applies to those who will be benefited by the google acquisition of feedburner (such as myself).

Here's the code I had to end up using on header.php (after tinkering with it for a little bit):

<div class="emailIco">
Subscribe by Email
<form action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=YOURFEEDHERE', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true"><input type="text" name="email" class="field"/><input type="hidden" value="YOURFEEDHERE" name="uri"/><input type="hidden" name="loc" value="en_US"/><input type="submit" class="newsbutton" value="SUBSCRIBE" /></form>
</div>

Obviously, you replace YOURFEEDHERE with the title of your feed. If you input your feedname incorrectly, you will get the message "This feed does not have subscriptions by email enabled" or something like that.

i.e. My blog's full title is Michael's Voice Tips, but if I put that in the feed title area, I get the area message. So, only put the feed title in the YOURFEEDHERE space, or you'll run into a wall.

Hope this helps some people figure it out. Hopefully you won't have to work on it for as long as I did to get it to work (not being a coding guru, I just know enough to be dangerous!)

Good luck and happy blogging!

Kevin
02-08-2009, 10:15 AM
Thanks for posting that. I will need to upgrade the official download to reflect the recent change with feedburner. :):)

webmanager
07-25-2009, 06:23 PM
The code that is in my theme header appears correct but I'm not sure what to put in the YOURIDHERE and NAMEOFYOURBLOGHERE spots below. The ID of my feed at feedburner for this blog is ArizonaRepipePlumbing. Is that all that goes in YOURIDHERE? What about the blog name. The name from the title of my blog on this site? This feed burner account will have different feeds and blogs. I'm confused. Thanks in advance for any insight you can provide. Mark.

P.S. Blog is here: http://arizonarepipespecialists.com/plumbing/

<div class="emailIco">
Subscribe by Email
<form action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=YOURIDHERE', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true"><input type="text" name="email" class="field"/><input type="hidden" value="NAMEOFYOURBLOGHERE" name="uri"/><input type="hidden" name="loc" value="en_US"/><input type="submit" class="newsbutton" value="SUBSCRIBE" /></form>
</div>

Ok, nevermind. I figured it out and it works. The feed name.. in this case: ArizonaRepipePlumbing goes in BOTH places and you have to activate the email subscription feature in Google Feedburner under "Publicize". Hope this helps someone.

Mark