Recent Topics

1 Oct 05, 2007 21:21    

My b2evolution Version: 1.9.x

When I tried to use the code here (specifically the last example):
http://manual.b2evolution.net/Recent_posts_in_the_sidebar

I got the error:
Requested Blog from T_blogs without ID

I changed the 5 in the example to the corresponding ID of the blog I was trying to pull in there. What gives?

In the php file where I want to include the contents of the blog, I first include
_config.php and _blog_main.inc.php' , then the code from the example above.

Or ... I couldn't really tell if you need the plugin installed to use that code, or if the plugin is a different animal.

3 Oct 08, 2007 23:56

Did you include the code snippet in the sidebar. The way tou tell your stry I get the idea you put the code outside the blog and that is not going to work.

In ../blogs/skins/YOURSKIN/_main.php search for:

<!-- ===== START OF SIDEBAR ================ -->

<div class="bSideBar">


There you find other items (like the calendar) all encapsulated in :

<div class="bSideItem">

[...]

</div>


The code you mentioned is another snippet that goes within this sidebar.

If you have any subsequent questions, please ask.

Good luck

4 Dec 07, 2007 01:30

At long last I returned to this ... what I was looking for was a_noskin.php . Now I'm doing what I wanted ...


Form is loading...