Monday, September 7, 2009

kp3နည္းပညာ၊၄၅၊မိမိရဲ႕ဘေလာ႕မွာRead More Functionထည့္ခ်င္ရင္

ဒီေန႔အခ်ိန္ေလးအနည္းငယ္ရတုန္းက်ေနာ္ Code တစ္ခုထပ္တင္လိုက္ပါတယ္၊ ဒီCode ကေတာ့မိမိဘေလာ့ post ေအာက္မွာRead More Functionထည့္နည္းေပါ့ေနာ္၊ ဒါေပမယ့္တခ်ိဳ႕ၾကေတာ့BloggerTemplate မွာ Autoရိွၿပီးသားပါ၊ မိမိရဲ့ Post ကရွည္ေနရင္မလွေတာ့ဘူး၊ဒါေၾကာင့္ေအာက္က Code ကေတာ့ ဥပမာေျပာရင္-ဆက္ဖတ္ရန္ေပါ့ေနာ္ မိမိႏွစ္သက္သည့္ စာသားေရးထည့္ႏိုင္ပါတယ္
ေအာက္မွာ Codeရွိပါတယ္၊
၁။click Layout
၂။click edit HTML
၃။click edit HTML
ေအာက္ကcodeကိုရွာပါ


<data:post.body/>


ေတြ႕ၿပီဆိုရင္ေအာက္ကCodeနဲ႕အစားထုိးေပးလိုက္ပါ,

<script type='text/javascript'>
summary_noimg = 430;
summary_img = 340;
img_thumb_height = 100;
img_thumb_width = 120;
</script>
<script src='http://kfile.110mb.com/summary-post.js' type='text/javascript'/>
<b:if cond='data:blog.pageType != &quot;item&quot;'>
<div expr:id='&quot;summary&quot; + data:post.id'><data:post.body/></div>
<script type='text/javascript'>createSummaryAndThumb(&quot;summary<data:post.id/>&quot;);</script>
<span class='rmlink' style='float:right'><a expr:href='data:post.url'>ဆက္ဖတ္ရန္</a></span>
</b:if>
<b:if cond='data:blog.pageType == &quot;item&quot;'><data:post.body/></b:if>


၄။Save Template button.ႏိုပ္ပါ ၿပီးပါၿပီ။။။
မိတ္ေဆြအားလံုးေက်းဇူးကမ႓ာ

Stumble
Delicious
Technorati
Twitter
Facebook
Yahoo
Reddit
Feed

0 comments:

Post a Comment

 

Copyright 2009.kp3tester Powered by Blogger

Blogger Templates created by Deluxe Templates

Images by Indeziner