Skip to content

Correspondence Technologies

Sections
Personal tools
You are here: Home » Software » SfIndex Demo » collective - SimpleBlog

Package: collective - SimpleBlog

An easy to use Plone based weblog application.

a test of SfIndex product

Releases

Release Date Release Name Download
2004-05-29 15:00 v1.2.1 sourceforge
2004-04-19 15:00 v1.2beta1 sourceforge
2004-02-09 11:31 v1.1a sourceforge
2004-01-13 15:00 v1.1 sourceforge
2003-11-14 15:00 1.0 final sourceforge
2003-11-09 15:00 1.0beta1 sourceforge

Package README (CVS ver. 1.6)

Tip: read this document in ZMI/Products/SimpleBlog/README or in another stx
aware reader.

What is SimpleBlog?

SimpleBlog is an easy to use Plone based weblog application. It has no fancy
rss/backlink
stuff and you can't use external editors but it supports categories. Writing
entries is done
from inside Plone.

SimpleBlog comes with three new portal types: Blog, BlogFolder and BlogEntry:

Blog -- Folderish object that is the container for the BlogEntries and the
front-page of the weblog.

BlogEntry -- Entry object inside the weblog.

BlogFolder -- Folder that can only exist inside the Blog container. The folder
allows you to organize the BlogEntries in any way you like.

Getting started

    After you have set the permissions correctly in ZMI (see install.txt) you
    can go to any folder that you have
permissions for and add a Blog from either of the dropdown lists. You will be
given a form where you can
provide the necessary information to create a new Blog:

    * **Id**, **Title**, **Description** will speak for themselves.

    * **Display Mode**: tells SimpleBlog how to render the
front-page, when you click on the Blog object.

    * **BlogEntries to display** defines how many items should be visible on
    the Blog's front-page.

    * **Possible Categories** is a list of categories that can be used inside
BlogEntries (one category per line). More about categories later.

After you have created the Blog, you can start creating BlogEntries.
Choose BlogEntry from the Add items list and fill in the form:

    * **Id**, **Title**, **Description**, **Body** will speak for themselves.
    **Note**: due to a bug in Archetypes (at least
in 1.0.1, you cannot set the format of the body, it is ignored and structured
text is not structured. Until that is
fixed you can use HTML (or Epoz) to format you body).

    * **Categories** Select one or more categories from the list to classify
the BlogEntry.

After the BlogEntry is saved, it will be in the 'In edit' workflow state and is
only visible by the owner and the manager.
So, in order to make it appear on the Blog's front-page, it must be set in the
'Published' state. The Blog will search and
display the BlogEntries that have this state (this state is defined in the
simpleblog_tool in ZMI and in the configlet in
Plone setup if you run Plone 2.0, see later). When putting the BlogEntry in the
published state, you can also choose
to give it an effective date somewhere in the future. SimpleBlog uses the
standard way of publishing content.

Inside the Blog you can create BlogFolders. These are a bit similar to the Blog
itself in that it has roughly the
same view but this time it only shows the Entries that are stored inside the
BlogFolder. BlogFolders are there
for your convenience, to organize or archive Entries in any way you want.

Categories

    SimpleBlog can use categories to classify BlogEntries. When you edit and
    configure
the Blog object, you can provide it with a list of categories that will
present itself as a multi-selection list when you edit/create a BlogEntry.
Next to that, BlogFolders can define additional categories.
In BlogEntries created inside the BlogFolder, a selection can be made out of
the categories
defined in the Blog *and*, additionally, out of the ones defined by the
BlogFolder(s) it sits in. All the
categories will add up. This feature can be useful when the Blog is
maintained by several authors. You can then incorporate some policy that
certain Entries must be
created in specific BlogFolders because of the additional categories.
Categories you can later search for but you
don't want exposed to all the other authors.

Next to categories defined by the Blog object and the BlogFolders, you can also
define a
set of global categories. These categories are available to all the BlogEntries
created in the portal.
Defining these global categories can be done in ZMI in the simpleblog_tool or,
when you use Plone 2.0 or higher,
in the Plone setup.

BlogEntries can be searched for in the Catalog using categories.

Portlets

    SimpleBlog ships with 4 different portlets. The portlets behave mainly in
    two different ways.
The portlet names ending with _local are only visible inside the Blog
structure. They are hidden as soon as you
are not within an BlogEntry, BlogFolder or Blog. Portlets ending with _global
on the other hand, are visible
everywhere and will summarize among Blogs deeper in the folder structure.

There are two display modes for both the _local and _global portlets. The Full
version shows the top
most recent entries and the available categories. Clicking on the entries will
lead to the full BlogEntry view
and clicking on the category will display a list of BlogEntries within that
category. Next to the Full version
there is also a Recent version. That version will not display the categories
and only present a list of the recent
additions.

So, summarizing, you can use any of these values inside the left_slots or
right_slots (or, in Plone 2.0
column_one_portlets and column_two_portlets:

    1 here/portlet_simpleblog/macros/portletBlogFull_local

    2 here/portlet_simpleblog/macros/portletBlogFull_global

    3 here/portlet_simpleblog/macros/portletBlogRecent_local

    4 here/portlet_simpleblog/macros/portletBlogRecent_global


Configuring SimpleBlog

    SimpleBlog allows you to control a few things in its behavior. In ZMI you
    can alter a few properties in
the simpleblog_tool or, when you use Plone 2.0, you can go to Plone setup and
go to the SimpleBlog control
panel. The following properties can be set:

    * **publishedState**: the name of the workflow state that indicates when
    the BlogEntry is
published. Usually this will be set to 'published' but if your state is called
differently then
you can change it here. This state is used when SimpleBlog searches for
BlogEntries that can be displayed on the front-page. So, if no Entries show up,
check the workflow state of the BlogEntry and check if this property is
correct. And check if the BlogEntries
themselves have the proper state.

    * **maxItemsInPortlet**: Tells how many BlogEntries are shown inside the
    portlets when SimpleBlog
displays the most recent BlogEntries.

    * **globalCategories**: Lists the categories that are globally available in
    all BlogEntries in the portal.

    * **showStandardButtons**: Controls if you want to see default buttons for
    the actions below the BlogEntries
(like Add comment, Edit) or have them presented as links (which is not standard
since they are actions and not links, but some
people prefer this display mode).

    * **createPortletOnBlogCreation **: By default, when you create a new Blog,
    SimpleBlog will create the portletBlogFull_local
portlet. You can turn this feature off by un-checking this option.

**Note**: In the SimpleBlog control panel inside Plone setup, these variables
are called a bit differently but the explanations
will be sufficient.


Using SimpleBlog as your homepage in Plone

    Inside the skin folder there is a template called
    **simpleblog_standalone**. Customize the template and then
cut/paste it into the root of your plone site. Rename the template to
index_html and when necessary customize it to
your needs (all in ZMI!)

Well, that's all you have to know to set up SimpleBlog. Enjoy it.

Danny Bloemendaal (danny.bloemendaal@companion.nl)

PS: I'd like to thank all those people in #plone to keep up with all my
question. Without them I couldn't
have succeeded.
 

Powered by Plone

This site conforms to the following standards: