Recent Topics

1 Feb 02, 2008 10:45    

My b2evolution Version: 2.4

Hello I am using 2.4 (sorry about my english..)

As the posts are loaded the first time the website is visited , I would like to show only the ones under one category or subcategory . I am using evoskin, I gues I have to make some changes in the loop while( $Item = & mainlist_get_item() ) or with the 'global $MainList;' but how?

What I really would like to know is: There are some plugins that filter the posts attending to their 'extrafields' or 'tags'. How can I make this happen as my web is loaded the first time (by default), can I KEEP this filter forever? (in cases I have two colums of posts, another one in the sidebar). How 'deep' can I filter with $MainList?

Thanks!

2 Feb 26, 2008 17:16

I haven't tried to force two categories all the time, one in one region of the page and one in another.

The best way might be via a plugin that restricts posts to a certain category. Then, it wouldn't matter what the user selects outside those two lists of posts, and it wouldn't matter what categories showed up in the url. ("It wouldn't matter" in the sense that the two category lists wouldn't be affected).

My site doesn't do exactly what you want, but you can take a look at it for ideas. It's at

www.thewildlifeporch.com

You may want to consider the following:

The sidebar at the right of my blog contains several instances of a plugin. The plugin shows categories and posts from the linkblog, but only the categories you tell it.

For instance, the first instance of the plugin has been set to show only "Affiliates" and "Featured Products" and their post titles.

The second instance of the plugin has been set to show the "About" category without the name of the category, just the post titles.

The third instance is set to show only "Credits" and the post titles

You can use the exact same widget, give it the id of the blog you want to pull from, and the category you want, and it could do something similar.

You won't get the post contents, though, unless you modify the widget.
Where is the widget you ask?

It's a plugin/widget I wrote but haven't cleaned up and uploaded to b2e yet.

If you decide to go this route, let me know.

Cindy Rae


Form is loading...