Recent Topics

1 Nov 03, 2005 21:15    

if( $blog == 1 )
{ // Special case: we aggregate all cats from all blogs
$this->request .= 'WHERE 1 ';
// hack to exclude specific blog cats from all blog aggregator
// note: category IDs are specific to blogs, so by restricting a cat you restrict the blog
$this->request .= 'AND cat_blog_ID <> 9 ';
$this->request .= 'AND cat_blog_ID <> 8 ';
$this->request .= 'AND cat_blog_ID <> 7 ';
}

in the itemlist
Ok, sorry for dum question, but how do i have to write this cat_bolg_ID??
for ex.if my blog which i want to hide is X?

3 Nov 04, 2005 18:34

i know, but if i post in the right category it wont show in main bog.
|But still then where and how should i write category id?

4 Nov 04, 2005 19:41

I'm not sure if this is what you're asking, but each category in b2e is automatically assigned a number. One way to find the category number is to go in the backoffice under the Categories tab. Put your mouse over one of the category names and look at the url...it will give the category id #. Then you can use that number to include or exclude it from your blog all list (I assume using the code already posted here?).

5 Nov 05, 2005 00:19

Hey Mr. President,

Your question is a bit confusing for use because we're not certain if you want to hide a CATEGORY from BlogAll or an entire BLOG from BlogAll.

If you wan to hide a category, just add another line to the code you posted

 $this->request.='AND cat_blog_ID <> #';

(Where # is the category ID number for the category you want to hide from BlogAll) You can get the cat_blog_ID by mousing over THAT category on your web page and looking at the link in the status bar (or going to the B.O. as, I think it was Personman, suggested).

IF you want to hide an entire blog ... you can do that too, but it's a different location. Edit: I say "you can do this", but I've never done it and a quick search didn't reveal anything obvious. So let me say ... you prolly CAN do it, but I don't know how off the top of my head.

-stk

6 Nov 05, 2005 10:50

*cough*

/ note: category IDs are specific to blogs, so by restricting a cat you restrict the blog
$this->request .= 'AND cat_blog_ID <> 9 ';

;)

¥

7 Nov 05, 2005 15:41

I'm a blonde, I'm a blonde, I'm a blonde! :oops:

Good thing you're here, Sir ¥ :D

-stk


Form is loading...