Recent Topics

1 Oct 15, 2005 05:55    

hey I want to hide 'some' of categories for ppl...

my main categories are

> Kurdistan News
-south
-west
-north
-east
>World News

I want to add a new category but I dont want other ppl see this categoriy in the side bar...

because Infact the reason that I want to put posts in this category is so do something with them , I want to add a column to the blog , which just shows That kind of category's posts.

I would also like to say that you have to do some chnages for this categories in B2evo.
like you can tell b2 how the categories should be listed .

I mean like this , the categories show like this on my blog's side bar :
-south
-west
-north
-east

but I would liked to have them be shown like this.
-North
-West
-East
-South

so is there any way to play with categories ?

2 Oct 15, 2005 16:20

I think categories display alphabetically, so you could change the order by adding numbers before the category names.

1. North
2. West , etc.

You could keep a category link from displaying by editing the _categories.php file in your skins folder. An easier way might be to put those posts in a second blog and display. You can find the code you need in the multiblogs.php file that came with b2evolution. If you do it this way, then you don't have to worry about keeping these posts from showing up in the main area, or getting just this category to show in the sidebar. And you won't have this category link show up in the sidebar, either.

3 Oct 15, 2005 17:10

http://forums.b2evolution.net/viewtopic.php?t=2806&amp; <-- turning off category listing for a certain blog number

http://forums.b2evolution.net/viewtopic.php?t=3262 <-- Changing the order of category list

http://forums.b2evolution.net/viewtopic.php?p=15782 <-- hiding categories (I tried this, but was unable to get it to work ... maybe if you PM isaac, he can help?)

Recommendation:

For category listing, it seems you have two options ... neither of which are ideal. One - Play with cat_ID numbers (either thru the back office or via phpMyAdmin) and display categories by cat_ID number. Two - Play with alphabetical cat names (or numbers, like personman suggests) and leave the display alphabetical.

For hiding categories ... based on what you say, I'd suggest creating a new blog for those "hidden" categories, hide the blog from listing its categories and use multiblog to display hidden blog entries only, on your page, where you want them.

Hope this helps.

-stk :D


Form is loading...