Computers 'n Stuff: Customizing Blogger "Post a comment" link and open it in a Popup Window

I here share the resolutions for my Linux problems so they might safe somebody some time.

Tuesday, May 29, 2007 parmanent link to this post

Customizing Blogger "Post a comment" link and open it in a Popup Window

The "post a comment line" can not be customized using the classical layout in blogger unless you hack your template as described here. So if you like the "post a comment" form open in a new Window than this solution is ok. The option to open it in a popup window is not documented. Here I discribe how the customized link can be hacked to open the blogger comment form in a a popup window on click.
First you have to follow the instructions of bloger help and find out your Blog ID. If you want to open the post comment field in a new window you could use the code as suggested by blogger. It should look similar to this:
<a href="<$BlogItemNumber$>">You want to talk to me?</a>

where 1234567 should be replaced by you blog id and "You want to talk to me?" by the line you want to appear as the link to you comments form of you blog.
However, there is no way documented to open that form in a pop up window with a customized link. To do that you have to replace <$BlogItemCreate$> with the following code in your template:
<a class="comment-link" href="<$BlogItemNumber$>&amp;isPopup=true" onclick=", 'bloggerPopup', 'toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=1,width=400,height=450');return false;">You want to talk to me?</a>

Again, you have to edit 1234567 to match your blog ID and replace "You want to talk to me?" by the text you want to appear as the link to your comments input form.
Try yourself >> You want to talk to me?
Et voilá, if you now click on the link your comments form will open in a popup

Labels: ,


Blogger anthony dior said...

In his series Archaeological Teasures from the Tigris Valley he performed excavations at battlefield sites and photographed the objects found in an improvised studio on site.
Cheap Nike NFL Jerseys

Friday, September 06, 2013 11:54:00 PM

Blogger dior anthony said...

Thank you. In such a position in Islam is used as a benchmark date. They know this subdivision.nice post.Very inspiring.
Cheap NFL Jerseys
cheap nba jerseys
wholesale nba jerseys
wholesale jerseys

Tuesday, September 17, 2013 2:26:00 AM

Blogger John Peter said...

That is some inspirational stuff. Never knew that opinions could be this varied. Thanks for all the enthusiasm to offer such helpful information here.antivirus online shopping

Tuesday, September 24, 2013 12:21:00 AM

Blogger daomuo said...

Wholesale Discount Replica Jersey By MLB/NHL/NFL/NBA/NCAA/Soccer From China Free Shipping.
cheap nfl jerseys
cheap nhl jerseys for sale

Thursday, August 14, 2014 2:22:00 AM


Post a Comment

Links to this post:

Create a Link

<< Home