2 afwas Feb 08, 2008 20:43

I am using Key West.
One way is to make a duplicate skin and add this line to main.php:
$posts = 1;
Do so here:
<?php
// ------------------------------------ START OF POSTS ----------------------------------------
$posts = 1;
if( isset($MainList) ) $MainList->display_if_empty( '' ); // Display message if no post
if( isset($MainList) ) while( $Item = & $MainList->get_item() )
{
?>
And use the dupliceted skin for blog A.
Good luck
That won't work as $MainList is already built, you need to put $posts in a stub file ;)
¥
I have a related but somewhat different question.
I upgraded one blog from 1.9x to 2.4.1 and everything is great INCLUDING the fact that I've set posts per page to "1" which it does, but when I click on the archives for say August which has 8 posts, all 8 come up. I LIKE this.
However, I also have another blog that I'm testing out for converting over to b2e 2.4.1 from wordpress(shudder). I imported the wordpress blog using the wonderful utility linked to, and everything went better than I'd hoped for. However, I've set the posts per page to "1" in this blog as well, but when I click on an archived month (or category, etc) I still only get 1 post per page.
My Question is whether there is a setting in the admin that I'm missing or if this is a function of the Wordpress import and if so, is there a way to fix this.
Thanks for any input.
Just curious to see if anyone had any ideas as to why two installs of exactly the same versions would behave so differently and where I might look for the answer. I feel like it must be somewhere in the database, as I used the same files for both installs.
Any ideas?
Thanks
Compare all the settings on all the subtabs under the "Blog settings" tab, especially the ones on the SEO subtab, and see if there is anything there that helps find the reason?
EdB,
I'd checked through general and features but I hadn't gone through SEO and there were a few places to specify how many posts to put via archives, categories, and tags.. Thanks so much for the quick tip. It was a BIG help.
H.
Hi Alberta,
What verion of B2evo are you using?
Good luck