Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Introduction

Provides support for flash movies

The following features for raptus.article are provided by this package:

Content

  • Flash - add your flash files in an article.

Components

  • Flash (displays flash files contained in the article over the whole width)

  • Flash left (displays flash files contained in the article on the left side)

  • Flash right (displays flash files contained in the article on the right side)

  • Flash teaser (displays flash files contained in the article over the whole width and displayed above the columns)

Dependencies

  • hexagonit.swfheader

  • Products.ContentTypeValidator

  • raptus.article.core

Installation

To install raptus.article.flash 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.flash 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.flash on a separate line, like this:

eggs =
    Plone
    raptus.article.flash

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.flash either by adding it to the zcml list in your buildout or by including it in another package’s configure.zcml.

Usage

Add flash

You may now add flash files in your article. Click the “Add new” menu and select “Flash” in the pull down menu. You get the standard plone form to add your flash file.

Components

Navigate to the “Components” tab of your article, select one of the flash components and press “save and view”. Note that at least one flash file has to be contained in the article in which this component is active.

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

Adapters

file: adapters.py

  • Flashs (Provider for flash movies contained in an article)
    • interface: IFlashs

    • adapts: IArticle

    • getFlashs - method (Returns a list of flash movies (catalog brains))

  • FlashSize (Handler for image thumbing and captioning)
    • interface: IFlashSize

    • adapts:IFlash

    • getSize - method (Returns the width and height registered for the specific size The sizes are taken from the raptus_article properties sheet and are formed by the following name schema: flash_<size>_(height|width))

Components

plone.abovecontentbody

  • raptus.article.flash.right

  • raptus.article.flash.left

  • raptus.article.flash.full

plone.portaltop

  • raptus.article.flash.teaser

Interfaces

file: interfaces.py

  • IFlashs (Provider for flash movies contained in an article)
    • getFlashs - method (Returns a list of flash movies (catalog brains))

  • IFlashSize (Handler for sizing of flash files)
    • getSize - method (Returns the width and height registered for the specific size The sizes are taken from the raptus_article properties sheet and are formed by the following name schema: flash_<size>_(height|width)

  • IFlash (Marker interface for the flash content type)

Changelog

2.0b4 (2010-11-10)

  • Added French translations

2.0b3 (2010-10-21)

  • Updated readme and manual

2.0b2 (2010-10-20)

  • First public release

Metadata

Release files for raptus.article.flash 2.0b4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for raptus.article.flash 2.0b4
File Size Uploaded
raptus.article.flash-2.0b4.tar.gz 24.6 kB Details

Release files / raptus.article.flash-2.0b4.tar.gz

Download URL raptus.article.flash-2.0b4.tar.gz
Size 24.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ec1631f5510c84de03f4790699e9f73433ca974085f4f4dbf22f0734a5bfd7fa
BLAKE2b-256 checksum
How to use checksums
50d93733e11768018c3785b6935d574e7e008cb5dcd07be76b67e2f4c2f4e041
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2.0b4 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page