2 john Jun 23, 2009 22:38

Thanks.
Is there no way to adjust the default view of the page so that all posts display as short apart from editing posts? It seems like there must be, because when I click on a link to show posts in a category, those posts are all displayed short.
What do you mean by "short form"? AFAIK b2evolution doesn't pick the amount of content to show, leaving it up to each blogger to use the !M feature for a "read more" link at the point of their choosing. So does "short form" mean "title only"? That can be done fairly easily by editing your skin.
Sorry if I wasn't clear. I'm new at this...
Here's a link to the default page
http://brookfordcsa.com/blog2.php/
and here's a link to the "short" version of posts that I see when I click a "category" link
http://brookfordcsa.com/blog2.php/recipes-1/
What I want is for the default page to display posts in truncated form, like in the second example. If it is done in the skin, what parameter am I looking to change?
Thanks.
In Blog settings > SEO > under "Main page / post list" select "Post contents: Post excerpts"
Perfect. I knew it must be simple.
Thank you.
Ummm... now when I want to read a recipe all I get is the truncated incomplete intro...
EG: http://brookfordcsa.com/blog2.php/2009/06/11/basic-curry
This curry recipe works equally well with lamb, beef, chicken, veggies, or whatever else you like.3 T oil1 onion, chopped1 T minced fresh ginger2 cloves garlic, minced2 tomatoes, chopped2 T coriander2 t garam masala (optional -- adds the ci… more »
No matter had much I click more, there's nothing.
I see what you mean. That's no good. Not so simple after all, I guess. Thanks for the heads up. Perhaps I should just edit people's posts and add the More break, since there aren't that many posts anyway.
Thanks for the help.
Change the setting back and edit the following code in your skin file _item_block.inc.php
// Default params:
$params = array_merge( array(
'feature_block' => false,
'content_mode' => 'auto', // 'auto' will auto select depending on $disp-detail
'item_class' => 'post',
'item_status_class' => 'bPost',
'image_size' => 'fit-400x320',
), $params );
if( is_default_page() )
{
$params['content_mode'] = 'excerpt';
}
sorry to bring back an old post but I'm looking to do something similar (posted but with no solution) as this - I don't have any files _item_block.inc.php - where would this snippit go?
with no solution
The solution is in my previous post ;)
You need b2evo 3 in order to display short post content (excerpts) in your blog. there's no file called _item_block.inc.php in b2evo 2
Thanks for the help - the v above is listed at 2.x, I didn't realize the difference between 2.x and 3 - I'll download the newer and give it a try. Thanks again!
Okay, getting there - I've uploaded and configured v3.3. I have a page that shows the posts with excerpts (as entered in RSS, which seems like a backward way of doing it but anyway it works), and that page links through to the single post page.
But, I can't tell if stubs are still supported - I need to pull the 3 newest posts into a whole new page, new css - is there something built in that I'm missing? Thanks again...
Welcome to the forums...
You can use the !M button in the posting/edit screen that inserts a "Read More" link that exposes the rest of the post when clicked....