You are not logged in Log in Join
You are here: Home » Members » Marc's Zope Page » PloneNewsItem » 0.2 » PloneNewsItem release » View NewsItem

Log in
Name

Password

 

PloneNewsItem release

Clean-up release of PloneNewsItem
J Cameron Cooper (http://www.zope.org/Members/jccooper) has been kind enough to clean up PloneNewsItem and bring 0.2 to the world. He removed vestigal references to PloneArticle, upon which this product is based (spawned??)

About PloneNewsItem:

Summary

PloneNewsItem : A News Item that can incorporate images and attachments
and that allows you to choose from different layout models.

Behaves mostly like the standard News Item type. When you add a Plone
Article, you can enter the name, title, description and text information.

When you look at the News Item, the images will appear in the right
column as a thumbnail and optionally with their title. When you click on
the thumbnail, a popup window will appear with the image at its actual size.
Attachments will be listed below the article for download in rows of three.

You will notice two tabs that don't exist on the standard News Item:
images and attachments.

The Images Tab:

This interface shows the Images that you have uploaded to the article, and
allows you to add new images as well as deleting them. Images can have an
optional title. The position of images as they will appear in the right
column of the News Item View can be changed with up and down arrows
that allow you to individually move images up or down one step.

Thanks to the ImageTag hotfix, Images are shown as a thumbnail on all
pages, and only when you click on them, a popup window will appear with
the original size of the image.

Attachments Tab:

This interface shows the Attachments that you have uploaded to the article,
and allows you to add new attachments as well as deleting them. If no title
is given, the name of the uploaded file is taken in its place.

Thanks to the ZAAPlugIns product, attachments are shown with their proper icon.

The Models Tab:

Here you can choose from the stock layout models that come with PloneNewsItem,
and also the models that you have created somewhere in the skins path.

Installation

Install PloneNewsItem as usual by placing it in your Products/ directory, restarting
Zope, and installing it in any Plone Site with QuickInstaller.

**PloneNewsItem depends on the ZAttachmentAttribute and ZAAPlugins products**.
They both can be found at http://ingeniweb.sourceforge.net/ .

PloneNewsItem can use PIL if it's available: this is transparent for you.


Additional tools

News Items summary

A Page Template called 'PloneNewsItemSummary' is provided as an example to have a
brief summary of the five most recent published articles in a website, along
with their first image if available.


Performance issues

PloneNewsItem has been tuned so
that caching is efficient.

Thumbnail tags

Thumbnail tags displayed in an article can be cached by a RAMCacheManager,
for the getThumbTag() PythonScript with 'image_id' as variable parameter.

The getFirstThumbTag() script can be cached as well, and can be added as a
metadata in the portal_catalog. This script is only used in PloneNewsItemSummary
page template (so if you don't use it it's not necessary to cache it).