Skip to main content

Provides an additional WYSIWYG text field for the articles.

Project description

Introduction

Extends the article by a second WYSIWYG text field to make it possible to split your text into two parts and display it for example above and below another component.

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

Fields

  • Additional WYSIWYG text field for the articles.

Components

  • Additional text (displays your text above an image or a video)

  • Additional text left (displays your text in a separate column on the left)

  • Additional text right (displays your text in a separate column on the right)

Dependencies

  • archetypes.schemaextender

  • raptus.article.core

Installation

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

eggs =
    Plone
    raptus.article.additionalwysiwyg

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

Usage

Add/Edit your article

If you add or edit an article you get a new rich text field called additional text. Insert the text you would like to have displayed by the additional wysiwyg component and press save.

Components

Navigate to the “Components” tab of your article and select one of the additional wysiwyg components and press “save and view”.

Developer Manual

Note: You find a developer manual for raptus.article in the docs folder of raptus.article.core. Please have look there if you need more information.

Code overview

Adapters

file: wysiwyg.py

  • WYSIWYG (Provider for an additional WYSIWYG text of an article)
    • provides: IWYSIWYG

    • adapts: IArticle

    • getAdditionalText - Function (Returns the additional WYSIWYG text)

Components

plone.abovecontenttitle

  • raptus.article.wysiwyg.left

  • raptus.article.wysiwyg.right

plone.abovecontentbody

  • raptus.article.wysiwyg.full

Changelog

2.0b7 (2013-07-01)

  • Added two new components (additionaltext.top and additionaltext.bottom) which are hidden by default

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 manual and readme

2.0b3 (2010-10-20)

  • First public release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

raptus.article.additionalwysiwyg-2.0b7.zip (35.0 kB view details)

Uploaded Source

File details

Details for the file raptus.article.additionalwysiwyg-2.0b7.zip.

File metadata

File hashes

Hashes for raptus.article.additionalwysiwyg-2.0b7.zip
Algorithm Hash digest
SHA256 a682dd9cd83525a70f31ac54bc2e911b73bde36f52be3a38611c08fae14bdab4
MD5 bc11a37842c3c16badd6da4c6fa1b77f
BLAKE2b-256 99aa4d3e489859810d9f9814eedf22af0f0e7c4586a4c3451e2c00f33c633e35

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page