Tuesday, May 25, 2010

Macam mana nak letak butang LIKE facebook di blogspot ??

 facebook like button ?
HAHA .
dulu lassie penah wat tuto tok cikbubuRARA
but codingnye ta menjadi .
now lassie try balek wat tuto ni .
coz ade org menanyekan kt lassie about dis button .
nyum nyum . HAHA .
i'm try . if ta bley , ta dapek nk menolong ~
terpakse buang jep lerh dis entry ;(
k now cekidaut .



Step 1

Dashboard > Layout > Edit HTML > Tick Expand Widget Templates

Step 2

Ctrl + F , n find dis
<div class='post-header-line-1'/>
paste code selepas atau dibawah code tersebut

or
<data:post.body/>
copy and paste code di bawah sebelum atau diatas code tersebut.

Step 3

code facebook like button :)
<b:if cond='data:blog.pageType == "item"'>
<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=standard&show_faces=false&width=100&action=like&font=arial&colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; height:40px;'/>
</b:if>
Step 4

sebelum save, delete dulu code
<b:if cond='data:blog.pageType == "item"'>
and
</b:if>
Step 5

k done syg :)

credit ; Edriena Hazelina

. segala coding ini masih dalam percubaan entry ni .
. ade masalah sila berkate oke syg :) .
. jgn lupe aw.

5 comments:

Thanks for comments . You're wonderful :)

 


Power by Blogger