Powered by MediaWiki
Personal tools

Linkblog

From b2evolution manual

Jump to: navigation, search

This manual page is outdated. NEW PAGE: Linkblog in b2evolution v5+.

Contents

[edit] What is a linkblog?

A linkblog is a simple way to add content to the sidebar of your regular blog without having to change any skin files or add any content manually. The linkblog is actually just a regular blog which gets inserted into the sidebar of your blog. This is very powerful because it allows you to add posts, links, images, and other content into your linkblog which will then be automatically displayed in the sidebar of your regular blog.

[edit] How do I use the linkblog?

Most people use the linkblog as a way to post links to other websites. To do so you would perform the following steps.

  1. Go to the backoffice.
  2. Under the Write tab click on the button to add a post to your linkblog. The blog buttons are directly underneath the Write tab.
  3. The "Title" will be the link which will display to your visitors.
  4. The "Link to url" will be the actual URL of the site you're linking.
  5. That's it unless you want to write any (visible) comments about the link.

You are not limited to using the linkblog in this manner, but it is by far the most common use, and it is also the original intention of the linkblog.

[edit] How do I setup a linkblog?

You are limited to one linkblog for each regular blog (see multiblogs.php for other possiblities). You can assign a linkblog to a regular blog in the backoffice under the Blogs tab. Simply click on the name of your regular blog and assign a "Default linkblog".

You can also assign one linkblog to multiple blogs. This is useful if you want to have a consistent sidebar among multiple blogs.

[edit] Adjusting the maximum number of entries in a linkblog

The maximum number of links that can appear is set in the skins/skinname/_linkblog.php file. It's often set to 20, but you can change it to any number you wish. Replace the 20 with the number of your choice in the following piece of code:

 # maximum number of linkblog entries to display:
 if(!isset($linkblog_limit)) $linkblog_limit = 20;
 

[edit] How can I arrange the links in my linkblog?

This needs finishing.

We will probably want some of the info here: http://b2evolution.net/man/2004/06/24/remove_linkblog_content_howto