Home  | FAQ  | Search  | Memberlist  | Usergroups  | Register  | Profile  | Log in  | Log in for your private messages
Post a long post to blog ? - short it please ?

 
Post new topic   Reply to topic    myWebland Forum Index -> Support
View previous topic :: View next topic  
Author Message
huyhoa
Newbie


Joined: 26 May 2006
Posts: 3

PostPosted: Sat May 27, 2006 12:18 pm    Post subject: Post a long post to blog ? - short it please ? Reply with quote

i have a very very long post, when i post it, it display all in the homepage. I want it display about 500 - 600 word and then display link read more and when click read more, it direct to full content post. Any one help me. Thanks
_________________
http://huyhoa.biz
http://fun.huyhoa.biz
Back to top
View user's profile Send private message Visit poster's website
sean
Site Admin


Joined: 14 Jul 2004
Posts: 671

PostPosted: Sat May 27, 2006 12:50 pm    Post subject: Reply with quote

in the setting.php... please edit

$display_chop_text = "no";

change it to "yes"

& if you want to change the number of limited text.. please play around with
this in blog.php file

Line 64
$message = chop_text($message, 500, 10)..............

Please change the 500 & 100 number

// The approximate length you want the concatenated text to be
//$minimum_length = 500;
// The variation in how long the text can be
// in this example text length will be between 500-10=490 characters
// and the character where the last tag ends
//$length_offset = 10;
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    myWebland Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
TNX?

Error. Page cannot be displayed. Please contact your service provider for more details. (30)




Powered by phpBB © 2001, 2005 phpBB Group
Contact Us