Recent Topics

latest topics on homepage by 'include'?

Started by on Aug 11, 2004 – Contents updated: Aug 11, 2004

Aug 11, 2004 16:55    

I am new to php and b2blog, just installed b2blog for my site, just wonder in the web home page is there a "include" I can do to show up the latest topics as links? Many thanks!

Aug 11, 2004 19:30

take a look at the page summary.php, there you will find all the exmples that you need.
So yes, it is possible in a standard way.

Aug 12, 2004 01:42

thanx a lot, it works by checking through the summary.php, the only thing left is the locale on the page doesn't show right. Any idea about that? Cheers,

Mar 16, 2005 12:31

I have been checking the code, is there a way to just display the "Blog All"?

Mar 16, 2005 12:39

I don't understand what you mean.

Mar 16, 2005 12:51

Taking the code out of the summary page it will display all blogs. I just want to display the titles of the central blog`so the last lets say 5 blogs. The summary code shows

 // if( $blog == 1 ) continue; // Hide blog 1...


But then I would have to hide all except #1

I want to use a simple include because I already have too many RSS feeds and its slowing the loading of my front page where I inclded the 5 last blogs.

Mar 16, 2005 18:28

If you want all (The last 5) posts of blog 1, and none of the other blogs, you don't have to use the summary page.

Use a regular page instead.
There you can mention that you want blog 1, and show 5 posts, and show only the title.


Form is loading...

Photo albums software – This forum is powered by b2evolution CMS, a complete engine for your website.