Recent Topics

Grouping blogs - need help/advice

Started by on Jan 24, 2007 – Contents updated: Jan 24, 2007

Jan 24, 2007 17:40    

Hi, first post here, and a new b2e user.

I plan to host quite a few blogs and I really miss a function to group blogs into categories, to have them listed in an orderly fashion. For example, I'd like a category called "Culture" in which I sort blogs "Hollywood Movies", "French authors" etc, and another category called "Philosophy" with blogs like "Kant and Descartes", "Meaning of life" etc. You get the picture.

I figured this could be done by adding a table called evo_blogcategories, containing the fields cat_ID, cat_name and cat_description, which will contain my blog categories.

I also added a field in evo_blogs called blog_category, referring to cat_ID in evo_blogcategories.

What I would need some help with is to write a plugin (modifying _categories_plugin.php?) which will display my blogs something like this:

[url=]Hollywood Movies[/url]
[url=]French authors[/url]

[url=]Kant and Descartes[/url]
[url=]Meaning of life[/url]


I'm not looking for any fancy interface in the backend, but will rather manage these entries directly in phpMyAdmin. Is this a totally stupid way to achieve what I need, or am I on the right track?

Any help is GREATLY appreciated. I know _some_ php, but the structure of b2e is unknown so I figured I'd ask for help here.

Thanks in advance.

Jan 26, 2007 10:32

I've not tried this but you should be able to use the linkblog to achieve this.

Create a linkblog category for each of the categories you want to put the blogs in ( culture, philosphy etc) and then make an entry in the link blog for each blog ( title = blogs name , link url = blogs link )


Jan 26, 2007 15:40

Ok, makes sense. Thank you :)

Mar 11, 2007 20:39

How would I determine the corrct link url?

Mar 13, 2007 11:36

You'd use the same url as your blog buttons on your front page


Form is loading...

Build your own website! – This forum is powered by b2evolution CMS, a complete engine for your website.