မဂၤလာပါ၊ ဒီေန႔ ဘေလာ့သမားမ်ားအတြက္ ဘေလာ့မွာ Blogger Comments Box နွင့္ Google+ Plus Comments Box ၂ခုစလုံး တြဲသုံးလုိ႔ရေအာင္ ထည့္နည္း/လုပ္နည္းေလးကုိ မွ်ေ၀ေပးလုိက္ပါတယ္။ ဒီ နည္းလမ္းေလးကုိေတာ့ က်ေနာ္တုိ႔ ျမန္မာဘေလာ့ေတြမွာ အသုံးျပဳတဲ့သူသိပ္မရွိပါဘူးလုိ႔ေျပာရရင္ မွားမယ္မထင္ပါဘူး။ ဘာပဲျဖစ္ျဖစ္ သုံးခ်င္တဲ့ ဘေလာ့မိတ္ေဆြမ်ားအတြက္ အဆင္ေျပေအာင္ ထပ္မွ်ေ၀ေပးလုိက္တာပါ။ ေအာက္မွာ Demo သြားၾကည့္လုိ႔ရေအာင္ Link ႏွင့္တကြ ထည့္နည္းနဲ႔ လုိအပ္တဲ့ Cond ေတြလည္း ထားေပးပါတယ္။
၁။Sign In Blogger
၂။ Template
၃။ Edit HTMl
၄။ ေအာက္က Cond ေလးကုိရွာပါ။Ctrl + F ကုိတြဲနုိပ္၍ရွာပါ ၊ ရွာရလြယ္ပါတယ္။
၅။ ေတြ႕ၿပီးဆုိရင္ ထုိ Cond ကုိျဖဳတ္ၿပီး ေအာက္က Cond နဲ႔ လဲေပးလုိက္ပါပါ။ (မွတ္ခ်က္။ ။ မိမိရွာေတြ႔တဲ့ အေပၚက Cond ကုိျဖဳတ္ၿပီး ေအာက္က က်ေနာ္ေပးထားတဲ့ Cond ကုိ ထည့္ေပးလုိက္ပါ။)
၆။ ေအာက္က Cond ကုိ ထပ္ရွာပါ။
၇။ ေတြ႕ၿပီးဆုိရင္ ထုိ Cond ကုိျဖဳတ္ၿပီး ေအာက္က Cond နဲ႔ လဲေပးလုိက္ပါပါ။ (မွတ္ခ်က္။ ။ မိမိရွာေတြ႔တဲ့ အေပၚက Cond ကုိျဖဳတ္ၿပီး ေအာက္က က်ေနာ္ေပးထားတဲ့ Cond ကုိ ထည့္ေပးလုိက္ပါ။)
၈။ ထည့္ၿပီးရင္ Save Template ကုိ ႏွိပ္ေပးလုိက္ပါ။ ၿပီးရင္ မိမိ၏ ဘေလာ့ကုိ ဖြင့္ၾကည့္ပါ၊ သိပ္အဆင္မေျပဘူးဆုိရင္ Edit HTMl ကုိျပန္၀င္ၿပီး ေအာက္က Cond ကုိ ရွာပါ။
ေတြ႕ၿပီးဆုိရင္ </head> ရဲ႕အေပၚမွာ ေအာက္က Cond ကုိ ထပ္ထည့္ေပးလုိက္ပါ။
ထည့္ၿပီးရင္ Save Template ကုိႏွိပ္ေပးလုိက္ပါ။ အားလုံးအဆင္ေျပနုိင္ၾကပါေစ။
၂။ Template
၃။ Edit HTMl
၄။ ေအာက္က Cond ေလးကုိရွာပါ။Ctrl + F ကုိတြဲနုိပ္၍ရွာပါ ၊ ရွာရလြယ္ပါတယ္။
<b:includable id='threaded_comments' var='post'>...</b:includable>
၅။ ေတြ႕ၿပီးဆုိရင္ ထုိ Cond ကုိျဖဳတ္ၿပီး ေအာက္က Cond နဲ႔ လဲေပးလုိက္ပါပါ။ (မွတ္ခ်က္။ ။ မိမိရွာေတြ႔တဲ့ အေပၚက Cond ကုိျဖဳတ္ၿပီး ေအာက္က က်ေနာ္ေပးထားတဲ့ Cond ကုိ ထည့္ေပးလုိက္ပါ။)
<b:includable id='threaded_comments' var='post'> <div id='comment-header'> <img id='comments-norm' class='comment-on' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfpOnH7rkwMNc19CgopN1isEAP3DU7qZSvr0dpygurxQ3nSVmkHhQHDPL-mHpEOC5lBdi6DceGism6qGzbP8iRC3FX3_zCyQmbit17VSOhkyizainV5sp73y3NLjKJNJ2NP3DLsuisfnVA/s1600/MTMblogger_on.png' title='view Blogger comments' /><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIdsLiA_p6rAVEgmjtq1-89lsfLLueuy5JCYhs4J2Sit_yFAy2mOieocRfck0KY6LzmDG78PDWd9a0Ik-e1tYeSIGkC9adtg1QZ-ACrPU9Sxe-AbYm6_J3WNYG2-jfAKioqVgRBwVPBvrX/s1600/MTM.png' /><image id='comments-gplus' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiySi8EHFMEZmKIQwGUHP2zxEiRFr3aieX9wlF-wjF2l3CmQMAch9PPdN3cEqlr0Z9kEj-YyzNLFvCSot4tTG1DQQLgOeMJP2dBkjhOErFwvSRa429xRaYxVjkDebR0a5SG9TR_6Gga_Wvk/s1600/MTMplus_off.png' title='view Google+ comments' /> </div> <div id='comment-zone'> <div class='comments' id='comments'> <a name='comments'/> <h4><data:post.commentLabelFull/>:</h4> <div class='comments-content'> <b:if cond='data:post.embedCommentForm'> <b:include data='post' name='threaded_comment_js'/> </b:if> <div id='comment-holder'> <data:post.commentHtml/> </div> </div> <p class='comment-footer'> <b:if cond='data:post.allowNewComments'> <b:include data='post' name='threaded-comment-form'/> <b:else/> <data:post.noNewCommentsText/> </b:if> </p> <b:if cond='data:showCmtPopup'> <div id='comment-popup'> <iframe allowtransparency='true' frameborder='0' id='comment-actions' name='comment-actions' scrolling='no'> </iframe> </div> </b:if> <div id='backlinks-container'> <div expr:id='data:widget.instanceId + "_backlinks-container"'> <b:if cond='data:post.showBacklinks'> <b:include data='post' name='backlinks'/> </b:if> </div> </div> </div> <div id='gcontainer'><div id='gcomments'/></div> <script src="http://apis.google.com/js/plusone.js"></script> <script> gapi.comments.render('gcomments', { href: window.location, width: '600', first_party_property: 'BLOGGER', view_type: 'FILTERED_POSTMOD' }); $('#comments-norm').click(function(){ // switch to normal comments displaying $('#gcontainer').css('display','none'); $('#comments').css('display','block'); $('#comments-norm').addClass('comment-on'); $('#comments-gplus').removeClass('comment-on'); $('#comments-norm').attr('src','https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfpOnH7rkwMNc19CgopN1isEAP3DU7qZSvr0dpygurxQ3nSVmkHhQHDPL-mHpEOC5lBdi6DceGism6qGzbP8iRC3FX3_zCyQmbit17VSOhkyizainV5sp73y3NLjKJNJ2NP3DLsuisfnVA/s1600/MTMblogger_on.png'); $('#comments-gplus').attr('src','https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiySi8EHFMEZmKIQwGUHP2zxEiRFr3aieX9wlF-wjF2l3CmQMAch9PPdN3cEqlr0Z9kEj-YyzNLFvCSot4tTG1DQQLgOeMJP2dBkjhOErFwvSRa429xRaYxVjkDebR0a5SG9TR_6Gga_Wvk/s1600/MTMplus_off.png'); }); $('#comments-gplus').click(function(){ // switch to google plus comments displaying $('#comments').css('display','none'); $('#gcontainer').css('display','block'); $('#comments-norm').removeClass('comment-on'); $('#comments-gplus').addClass('comment-on'); $('#comments-norm').attr('src','https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaNTL3dPytOUA4AeAMa36QLD1i8Bw0zf7sFJYPywgZaDH1tBFtDEjMYm7C745OM0B38INWPHWTYvXndhktQ1SPE5mnD_Xc1R15OCCDtr-GqOxntuhOor_Fj0JXlLy2F8coo2MSDo8J7vce/s1600/MTMblogger_off.png'); $('#comments-gplus').attr('src','https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdii_fzNetNHhp5Db1nxCAt3V-iUv8OUI0NIqiqI0HPh0zJVblTPS84zLavVC44JpjYb4xLYUJunEcPgCSf3NbygdTttZtb4plZQjO_akHVWp6x_k2GAwnDQG0BZLwDPF6xT6z45OOUliS/s1600/MTMplus_on.png'); }); $('#comments-norm').hover( // switch to normal comments displaying function(){ if (!$('#comments-norm').hasClass('comment-on')){ $('#comments-norm').attr('src','https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfpOnH7rkwMNc19CgopN1isEAP3DU7qZSvr0dpygurxQ3nSVmkHhQHDPL-mHpEOC5lBdi6DceGism6qGzbP8iRC3FX3_zCyQmbit17VSOhkyizainV5sp73y3NLjKJNJ2NP3DLsuisfnVA/s1600/MTMblogger_on.png');} }, function(){ if (!$('#comments-norm').hasClass('comment-on')){ $('#comments-norm').attr('src','https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaNTL3dPytOUA4AeAMa36QLD1i8Bw0zf7sFJYPywgZaDH1tBFtDEjMYm7C745OM0B38INWPHWTYvXndhktQ1SPE5mnD_Xc1R15OCCDtr-GqOxntuhOor_Fj0JXlLy2F8coo2MSDo8J7vce/s1600/MTMblogger_off.png');} } ); $('#comments-gplus').hover( // switch to gplus comments displaying function(){ if (!$('#comments-gplus').hasClass('comment-on')){ $('#comments-gplus').attr('src','https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdii_fzNetNHhp5Db1nxCAt3V-iUv8OUI0NIqiqI0HPh0zJVblTPS84zLavVC44JpjYb4xLYUJunEcPgCSf3NbygdTttZtb4plZQjO_akHVWp6x_k2GAwnDQG0BZLwDPF6xT6z45OOUliS/s1600/MTMplus_on.png');} }, function(){ if (!$('#comments-gplus').hasClass('comment-on')){ $('#comments-gplus').attr('src','https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiySi8EHFMEZmKIQwGUHP2zxEiRFr3aieX9wlF-wjF2l3CmQMAch9PPdN3cEqlr0Z9kEj-YyzNLFvCSot4tTG1DQQLgOeMJP2dBkjhOErFwvSRa429xRaYxVjkDebR0a5SG9TR_6Gga_Wvk/s1600/MTMplus_off.png');} } ); </script> <style> #comment-zone { position: relative; } #gcontainer { display: none; } #comments-norm, #comments-gplus { cursor: pointer; padding: 0px 5px; } </style> </div> </b:includable>
၆။ ေအာက္က Cond ကုိ ထပ္ရွာပါ။
<b:includable id='comment_picker' var='post'>...</b:includable>
၇။ ေတြ႕ၿပီးဆုိရင္ ထုိ Cond ကုိျဖဳတ္ၿပီး ေအာက္က Cond နဲ႔ လဲေပးလုိက္ပါပါ။ (မွတ္ခ်က္။ ။ မိမိရွာေတြ႔တဲ့ အေပၚက Cond ကုိျဖဳတ္ၿပီး ေအာက္က က်ေနာ္ေပးထားတဲ့ Cond ကုိ ထည့္ေပးလုိက္ပါ။)
<b:includable id='comment_picker' var='post'> <b:if cond='data:post.forceIframeComments'> <b:include data='post' name='iframe_comments'/> <b:if cond='data:post.showThreadedComments'> <b:include data='post' name='threaded_comments'/> <b:else/> <b:include data='post' name='comments'/> </b:if> <b:else/> <b:if cond='data:post.commentSource == 1'> <b:include data='post' name='iframe_comments'/> <b:else/> <b:if cond='data:post.showThreadedComments'> <b:include data='post' name='threaded_comments'/> <b:else/> <b:include data='post' name='threaded_comments'/> </b:if> </b:if> </b:if> </b:includable>
၈။ ထည့္ၿပီးရင္ Save Template ကုိ ႏွိပ္ေပးလုိက္ပါ။ ၿပီးရင္ မိမိ၏ ဘေလာ့ကုိ ဖြင့္ၾကည့္ပါ၊ သိပ္အဆင္မေျပဘူးဆုိရင္ Edit HTMl ကုိျပန္၀င္ၿပီး ေအာက္က Cond ကုိ ရွာပါ။
</head>
ေတြ႕ၿပီးဆုိရင္ </head> ရဲ႕အေပၚမွာ ေအာက္က Cond ကုိ ထပ္ထည့္ေပးလုိက္ပါ။
<script language='javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js' type='text/javascript'></script>
ထည့္ၿပီးရင္ Save Template ကုိႏွိပ္ေပးလုိက္ပါ။ အားလုံးအဆင္ေျပနုိင္ၾကပါေစ။
Post a Comment Blogger Facebook
အခုစာဖတ္သူၾကည့္ေနတဲ့ ပုိ့(စ္) ေလးမွာ ဘယ္လုိထင္ျမင္ခ်က္ရွိလဲ? စာဖတ္သူရဲ့ထင္ျမင္ခ်က္ကုိ ဤေနရာေလးမွာ ေရးခ်ၾကည့္ပါလား။..~!!!