Provides basic listing components which display articles contained in the article.
Project description
Introduction
Provides basic listing components which display articles contained in the article.
The following features for raptus.article are provided by this package:
Components
Listing columns (List of the contained articles arranged in columns.)
Listing left (List of the contained articles with their image on the left side.)
Listing right (List of the contained articles with their image on the right side.)
Dependencies
raptus.article.nesting
Installation
To install raptus.article.listings into your Plone instance, locate the file buildout.cfg in the root of your Plone instance directory on the file system, and open it in a text editor.
Add the actual raptus.article.listings add-on to the “eggs” section of buildout.cfg. Look for the section that looks like this:
eggs = Plone
This section might have additional lines if you have other add-ons already installed. Just add the raptus.article.listings on a separate line, like this:
eggs = Plone raptus.article.listings
Note that you have to run buildout like this:
$ bin/buildout
Then go to the “Add-ons” control panel in Plone as an administrator, and install or reinstall the “raptus.article.default” product.
Note that if you do not use the raptus.article.default package you have to include the zcml of raptus.article.listings either by adding it to the zcml list in your buildout or by including it in another package’s configure.zcml.
Usage
Components
Navigate to the “Components” tab of your article and select one of the listing components and press “save and view”. Note that at least one article has to be contained in the article in which this component is active.
Configuration
Set listings_<component>_titletop property to True to display the title above the image, use False to display it below the teaser-image.
listings_<component>_caption shows the image caption below the image (in case it differs from the article title)
listings_<component>_wysiwyg will show the richtext content of the additional textfield in case raptus.article.additionalwysiwyg is installed.
plone.app.imaging
To use plone.app.imaging scales simply set the corresponding properties to the name if the image scale.
You’ll need to have raptus.article.teaser installed for having teaser images available on articles.
If present, those will overrule the width and height settings.
Available properties:
teaser_listingleft_scale
teaser_listingright_scale
teaser_listingcolumns_scale
Copyright and credits
raptus.article is copyrighted by Raptus AG and licensed under the GPL. See LICENSE.txt for details.
Developer Manual
Note: You find a developer manual for raptus.article at raptus.article.core. Please have look there if you need more information.
Code overview
Components
plone.belowcontentbody
raptus.article.listing.right
raptus.article.listing.left
raptus.article.listing.columns
Changelog
2.0b9 (2014-06-16)
Add properties teaser_listingleft_scale, teaser_listingright_scale and teaser_listingcolumns_scale that allow to use plone.app.imaging.
This allows us to use plone.app.imagecropping [fRiSi]
2.0b8 (2013-07-01)
Only show hidden articles when in editing mode (introduced in raptus.article.core 2.0b13)
Added alternating listing and refactored viewlet class simplify extending
2.0b7 (2010-03-21)
Now using the show/hide functionality added in raptus.article.core 2.0b8
2.0b6 (2010-11-10)
Added French translations
2.0b5 (2010-10-24)
Set zip_safe flag to False
2.0b4 (2010-10-21)
Updated readme and manual
2.0b3 (2010-10-20)
First public release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file raptus.article.listings-2.0b9.zip
.
File metadata
- Download URL: raptus.article.listings-2.0b9.zip
- Upload date:
- Size: 38.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea1056eccb7aa79630d0633d23c0213f9b2a2ea61563d95e06566c59bbffba71 |
|
MD5 | 6100b6cf71e1e799d4ca334d74c1a257 |
|
BLAKE2b-256 | af9f5711d6470b4303f00e84ccac355bb0a0a67864f402bc311a9b38858f4b34 |