Create a Blog with Forum and Frontforum

Posted by Craig Macomber on 17 Sep 2007 02:08, last edited by GoVegan on 09 May 2010 05:37

Tags: blog

rating: +3+x

Creating a Blog, or a news display is easy when you have administrative privileges. All you have to do is add a forum category to the forum, and a Frontforum to the page where you want the blog. The easiest way to add the Frontforum is to copy the example text from http://www.wikidot.com/doc:frontforum-module into your page source, and follow the instructions on that page.

This is used on http://www.wikidot.com/ for the news feed.

Another neat thing you can do with Frontforum is to map it to several forum categories (as described in the documentation linked above) to collect the important news from all the sections of your forum.

Example of code

[[module FrontForum category="11432" feed="coffeetable" feedTitle="Wikidot Community Coffee Table"]]
++ %%linked_title%%
%%date|%e %b %Y, %H:%M %Z (%O ago)%%
%%summary%%
[!-- %%content%% --]
%%comments%% | category: %%category%%
[[/module]]

The example above used the summary of the post instead of the content of the first post.
Conclusions:
1. always put some text in the summary of a new thread, otherwise it would not be useful for the frontforum module
2. if you choose the %%content%%, keep your post short …

In action

Included page "frontforumcoffeetable" does not exist (create it now)

Authors

Craig MacomberCraig Macomber. Please visit his/her userPage.

gerdamigerdami. Please visit his/her userPage.


Related articles

Comments

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.