Recent Topics

1 Jan 05, 2007 02:38    

Maybe some of you could help me with this.

I am building a website which includes a blog, at blog.php. Actually I have two different blogs for this, the other one at blog.php and the other one in artikkelit.php. How can I make things work so that I have always the newest entry (no matter which blog) on my index.php page?

I tried to include the Blog All on my front page so I could always see one entry there, but I can't change the settings to display only one entry on Blog All and 5 entries in those two others. Maybe I don't see the big picture here..

I have b2evo 0.9.2. Thank you for your help in advance, I have been trying to solve this the whole night. :)

2 Jan 05, 2007 04:47

Make your index page be blog #1 and in the back office tell it you are using stub files. You then make your index.php stub file identify itself as for blog #1 with this:

$blog = 1;

and tell it you only want one post in it with this:

$posts = 1;

You can copy a_stub.php as index.php and simply delete the existing index.php file, but you should probably rename it to something like index_original.php instead.

3 Jan 05, 2007 19:42

Thank you So much! It works. :D


Form is loading...