Home » » Blog comment delete tih bo dan

Blog comment delete tih bo dan

Blogger a blog nei te tan bik liau liau kan blog a comment kan delete te tihbo dan tun tum chu i han sawi teh ang. Blog a comment te hi delete hian 'This comment has been removed by the author' tih a lo lang thin a. Hei hi a hnawksak na chin a awm ve a, chuvang chuan hemi lang reng hi in tibo dawn teh ang.

A hmasa ber ah chuan blogger a i account ah sign in phawt la. Design tih i click hnu ah Edit Html kha i select dawn nia. Chuan Expand Widget Templates tih a lo awm anga, a bul a check box ah khan i click dawn nia. Html code a inziak a hnuai ah khan i hmu anga. Kha kha kan blog code, kan edit tur chu ani dawn ani.

I edit hma in chunglam a download Full template tih kha click la, i template chu i backup hmasa phawt ang. A code tihsual palh i neih chuan i blog kha en theihloh in a awm thei a, chutiang a a awm chuan upload na atang khan i template download chu i upload leh anga, a dik leh vek mai ang.

Awle, edit dawn tan ang le. A hmasa ber in <b:loop values='data:post.comments' var='comment'> tih awmna hi i zawng phawt ang. I scroll thlak chuan zawn a hautak dawn a, chuvang chuan i browser a find na kha hmang tangkai ang che. Firefox ka hmang a, crtl leh f hmeh khan a page hnuailam ah Find tih a lo lang mai a. A pian box ah khan code ka dah hi copy paste pawp la amah in a zawng hmu nghal mai ang. A chunga ka code ziah khi i hmuh tawh chuan khimi code inziahna hnuai chiah ah khan a hnuaia code hi copy la, paste rawh le.
<b:if cond='data:comment.isDeleted'>
<b:else/>


I paste zawk chuan a hnuai lamah scroll thla la</b:loop> tih code lo awm hmasaber kha zawng leh la. Chumi code chung chiah ah chuan a hnuaia code hi copy la, i paste dawn nia.
</b:if>

Hemi i tih zawh hian save template tih kha click tawh rawh le. Tichuan i blog chu han en la, a chunga a lem a kan dah ang khi chu a lo bo tawh ang. Mahse thil pakhat buaina a la awm. Chu chu comment i delete i hide tawh hnu ah pawh khan i blog a i thu post ah khan comment awm zat khan i comment delete kha a la chhiar tel avangin comment zat inziak leh comment awm zat kha a inang dawn lova. Comment awm zat aiin comment awm tawh zat inziak kha a tam zawk dawn ani.

Mahse buaina tur a awmlo, ka sawi ang thlap hian han ti leh la, comment zat chu a rawn dik leh thlap mai ang. Khai le, hetiang hian ti rawh le. A hmasa ber in <data:post.numComments/> tih code hi han zawng leh phawt mai rawh le. I hmuh tawh chuan khi mi code ai ah a hnuaia code khi a hnuaia code hian i replace pawp dawn nia. Pakhat aia tam a awm avangin a vai in replace vek tur ani.
<font id='numComments'><data:post.numComments/></font>

I replace zawh chuan <b:includable id='comments' var='post'> tih code hi i zawng leh anga, a hnuai a code hian i replace leh vek ang.
<b:includable id='comments' var='post'>
<script type='text/javascript'>var numComments=<data:post.numComments/>;</script>


I tih zawh tawh chuan <b:if cond='data:comment.isDeleted'> tih code hi i zawng leh anga. A hnuaia code hian i replace leh vek ang.
<b:if cond='data:comment.isDeleted'>
<script type='text/javascript'>numComments--;</script>


Chumi zawh chuan <b:if cond='data:post.commentPagingRequired'> tih code hi i zawng leh anga, a hnuaia code hian i replace leh vek bawk ang.
<script type='text/javascript'>
var numC=document.getElementById(&#39;numComments&#39;);
if(numC) numC.innerHTML=numComments;</script>
<b:if cond='data:post.commentPagingRequired'>


I replace vek em tih hi ngun takin i check anga, pakhat pawh i replace kim loh zauh chuan a dik dawnloh avangin uluk hle ang che. I tih zawh vek tawh chuan Save Template tih ah click leh la, i blog chu en leh rawh le, a lo dik thlap tawh ang.

6 comments:

  1. Ka bo map map khawp mai. HTML Code hi chu a ngaihna lam ka hre lo. Min zirtir peih chu awm se, a hranpa ngata inzir thar leh pawh a chakawm khawp mai. Comments paihbo hmak dan hi chu Settings>Comments tih atang pawh khan a theih tho loh maw?

    ReplyDelete
  2. @pu cari, theih tho e. Mahse a comment tu ten an delete anih chuan ka sawi ang hian a awm zel ang. Nangman i delete dawn chuan i sawi ang khian a tih theih.

    ReplyDelete
  3. I post hi ka tangkaipui thei khawp mai, a lawmawm thin e!

    ReplyDelete
  4. @ahooma, i lo tangkai pui thin a, a lawmawm hle mai. I tangkaipui zel theih ngei ka beisei e.

    ReplyDelete
  5. Nizanah ka comment tawh emaw ka tia, a lo lut lo a ni maw... A thain a awlsam khawp mai. Mahse, kei chu ka blog HTML code vel hi a hnawk tawh lutuk a!

    ReplyDelete
  6. I post tha khawp mai. Mahse, ka blog hi a HTML code vel a hnawk tawh lutuk a!

    ReplyDelete

Online

Site Statistics

LATEST COMMENTS