Recent Topics

1 Nov 25, 2007 14:52    

My b2evolution Version: Not Entered

Hello,

the idea of showin a summary of all blogs is great.
However I'd like to exclude on blog of the 5 blogs I have.
How do I do that? Casn annyone help me out?

I found this bit of code which should be entered in the main.php of the skin.
if ($Item->get('blog_ID') == 'NN' )
But I don't know where exactly ........ beginner...........

Many thankx
Chris

2 Nov 25, 2007 14:54

using 1.10.2 :-)

3 Nov 25, 2007 23:57

In version 2.1 this is solved.
Are you able to upgrade ?

4 Nov 27, 2007 11:02

Hey,
many thankx.
Maybe you now another solution because 2.1 is "just" a beta version and we would habe to adapt all the design changes.... again.
Is there an esier way?

Thank you.
Chris

5 Nov 27, 2007 18:21

I use this

<?php
	// ------------------------------------ START OF POSTS ----------------------------------------
	if( isset($MainList) ) $MainList->display_if_empty(); // Display message if no post

	if( isset($MainList) ) while( $Item = & $MainList->get_item() )
	{
	if( $blog == 1 and in_array( $Item->main_cat_ID, array( 5, 19, 98, 119, 147, 171, 176, 191, 311, 312, 323 ) ) )
		continue;
	?>

To exclude categories when I'm displaying blog 1


Form is loading...