Monday, August 11, 2008

Post Langai mi hpe gara hku hkum ba na (Create Show Full Post and Hide Full Post Link)

Ga Shadawn, myitsu wa ka mara dat ai, post langai mi gaw, grai galu ai ngu ga. Dai post hpe, madu ka da ai hku sha, blog kaw publish galaw dat yang, madu a Home Page kaw shara grai la mat ai hpe mu lu na re. Dai hpe, madu gaw, post n-nan kaw na, ngut du hkra hpe, n-kam madun tawn ai (shara nau la na). Madu ka mara dat ai, post a, n-nan daw kachyi mi hpe sha, madun da n-htawm, de' a n-pu kaw, Matut Hti Na (sh) Read More nga ai link hpe jaw da let, dai link kaw dip dat jang, post a, ngam ai daw ma hkra hpe bai matut hti lu na hku galaw mayu ai shaloi....

Ya, n-kau blog ni kaw mu lu ai gaw, Read More (sh) Matut hti na (sh)...etc, ni kaw dip dat ai shaloi, n-kau mi gaw, page hpe reload bai galaw taw ai, n-kau mi gaw, reload galaw taw ai sha n-ga, new windows kaw bai pru wa ai hpe mu lu ai. N-dai hte' seng n-na,
http://kachinroad.blogspot.com/ kaw galaw da ai gaw, htap htuk manu dik htum rai na re ngu kam ai. Madu kam ai hku, mai jai lang ai hku re. Ok.. hpang saga deng..

1. Madu a blog de' sign in shang n-htawm, Dashboard ==> Layout ==> Edit Html nga ai kaw du hkra sa ga. Hpa rai n-galaw shi yang, madu a original template hpe download shawng galaw da ga. Ngut sai nga jang, Edit Template nga ai a n-pu htep(hkra maga) kaw, Expand Widget Templates nga ai a, makau kaw na box kasha hpe check galaw dat ga. (A Hkyak Dik Ai)

2. N-pu kaw jaw na code hpe copy galaw n-htawm, </head> nga ai code a, lahta kaw paste galaw dat ga.

<script src='http://kcbloggershelpdesk.googlepages.com/Readmore.js' type='text/javascript'/>

3. Ngut sai nga jang, <div class='post-header-line-1'/> nga ai code hpe bai mu hkra tam ga. Ctrl + F hte tam n-mu jamg, Scroll Down galaw n-htawm mu hkra tam ga (Tip: Firefox kaw Ctrl +F hpe dip let tam yang grau loi ai hku re. Code hpe tam ai shaloi, search box kaw code hpe bang ai shaloi, copy, paste n-galaw ai sha, type bang yang she' grau mai ai hku re. Copy, Paste galaw bang dat jang, code hpe n-mu ai law ai hku re.) Dai code hpe mu sai nga jang, de' a n-pu loi mi yu dat yang kaw, <div class='post-body entry-content'> <==n-dai zawn re code (Sh) <div class='post body'> <==n-dai zawn re code hpe mu na ra ai.


4. Dai code hpe n-pu na code zawn byin hkra, byen la ra na re. Blue rau madun da ai code ni hpe jat dat ra na re. <div class='post-body entry-content'> <== N-dai code hpe mu ai ni gaw, n-pu na zawn byin hkra byen ga.

<div class='post-body entry-content' expr:id='"post-" + data:post.id'>
<b:if cond='data:blog.pageType == "item"'>


(Shing N-rai....)

<div class='post body'> <== N-dai zawn re code hpe mu ai ni gaw, n-pu na zawn byen ga.

<div class='post body' expr:id='"post-" + data:post.id'> <b:if cond='data:blog.pageType == "item"'>


5. Byen ngut ai code n-pu kaw, <p><data:post.body/></p> <== n-dai zawn re code hpe bai mu lu na re. Dai hpe mu sai nga jang, n-pu kaw jaw na code hpe copy galaw n-htawm, dai code a n-pu kaw paste galaw dat ga.


<b:else/> <style>#fullpost {display:none;}</style> <p><data:post.body/></p> <span id='showlink'> <p><a expr:onclick='"javascript:showFull(\"post-" + data:post.id + "\");"' href='javascript:void(0);'>[+/-] Show Full Post...</a></p> </span> <span id='hidelink' style='display:none'> <p><a expr:onclick='"javascript:hideFull(\"post-" + data:post.id + "\");"' href='javascript:void(0);'>[+/-]Hide Full Post...</a></p> </span> <script type='text/javascript'>checkFull("post-" + "<data:post.id/>")</script> </b:if>


Note: Lahta na code hta lawn ai, Show Full Post hte Hide Full Post nga ai ga si ni hpe, madu ra ai hku mai galai bang la ai hku re. Ga Shadawn, Show Full Post nga ai hpe, Matut Hti Na (sh) Hide Full Post nga ai hpe, Hti Ngu Sai ngu, gasi ni madu ra ai hku galai bang la mai nga ai.

6. Yawng ngut sai nga jang, code ni gaw, n-pu na code zawn rai taw na ra ai. A Hkyen rau madun da ai ni gaw, mi na, nga chyalu ni rai n-htawm, blue rau madun da ai ni gaw, jat dat ai code ni rai nga ai.

<div class='post-header-line-1'/>
<div class='post-body entry-content'
expr:id='"post-" + data:post.id'>
<b:if cond='data:blog.pageType == "item"'>
<p><data:post.body/></p>

<b:else/>
<style>#fullpost {display:none;}</style>
<p><data:post.body/></p>
<span id='showlink'>
<p><a expr:onclick='"javascript:showFull(\"post-" + data:post.id + "\");"' href='javascript:void(0);'>[+/-] Show Full Post...</a></p>
</span>
<span id='hidelink' style='display:none'>
<p><a expr:onclick='"javascript:hideFull(\"post-" + data:post.id + "\");"' href='javascript:void(0);'>[+/-] Hide Full Post...</a></p>
</span>
<script type='text/javascript'>checkFull("post-" + "<data:post.id/>")</script>
</b:if>


Ngut sai nga jang, madu na template hpe save galaw ga.

7. Ngut jang, Layout a pai maga, makau kaw na setting nga ai n-pu kaw na, Formatting nga ai kaw du hkra sa ga. Formatting nga ai tab a n-pu jahtum kaw, Post Template nga ai a makau kaw, Box langai mi nga na ra ai. N-pu kaw jaw na code hpe copy galaw n-htawm, dai box kaw paste galaw dat ga.

<span id="fullpost">


</span>

8. Setting hpe Save galaw ga. Html gram lajang ai lam gaw n-dai kaw ngut sai hku re.

9. New post hpe ka mara ai shaloi, madu madun da mayu ai laika ni hpe, <span id="fullpost"> nga ai code a lahta kaw, ka n-htawm, read more (sh) matut hti na nga ai kaw dip dat ai shaloi, mu shangun mayu ai laika ni hpe gaw, <span id="fullpost"> hte </span> a lapran kaw ka bang ga.

Awng Dang U Ga,

Shanglawt Brang

2 Ning Mu:

Labya De Li said...

Naw garum la rit loo
psot hkum ba ai n'awng dang na,
madun da ai hku yawng hkrak sha hkan sa galaw sai,shut sam ai kun ngu na mu bai gahtap yu sai,yawng gaw jaw nga ai ngu mu mada ai re wa hpa majaw re ai kum nchye mat sai,Matuk Hti na nga gaw pru wa ai, rai tim dai kaw dip yang hkum ba da ai post daw mi n'pru wa ai naw gahtap tsun dan rit yaw....
kam hpa let Ah Day

ကိုထြယ္ေအာင္ said...

Peekaboo ပုိ႔စ္ေခါက္နည္း
http://www.nyinaymin.com/search/label/Blog%20and%20Html


(ညီေနမင္း Blog kaw mung ngai gaw hti ga ai. Dai kaw mung manaw manang nkau mi .. n hti ga ai rai jang... shang hti la mai ai.)

Ya na zawn, Jinghpaw laika hku nna, grau hkrak hka . . "kcbloggershelpdesk" hpe mu hti lai ai majaw. ndang tsun hkra kabu chyeju dum sai re.
Hkungga let, (Htoi Awng)

Recent Posts