Recent Topics

1 Nov 21, 2006 10:54    

How to show only 200 character at list of our post? After we click on the title, the it show all content.
i mean like this, if we go to a category, it will show all content at that category. But i don;t want to show all content, just 200 characters. If click on title, it will show all contents.

2 Nov 21, 2006 15:23

Without a link to your blog it's impossible to provide an absolute answer since we don't know your version or skin, so I'll go with what your version and skin might be. Open skins/your_skin/_main.php and find something that looks like this:

		<div class="bText">
			<?php $Item->content(); ?>
			<?php link_pages() ?>
		</div>


Now make it be like this:

		<div class="bText">
			<?php if( $disp != 'single' ) {
				$Item->content( '#', '#', '#', '#', '#', '#', 'xml', 200);
				} else {
				$Item->content();
				} ?>
			<?php link_pages() ?>
		</div>

If I was a gambling man I'd bet your last dollar on that doing what you want.


Form is loading...