Skip to main content

Static portlet with one extra styling field

Project description

quintagroup.portlet.static

quintagroup.portlet.static is a Plone product that allows you to add stylished static text portlets to your Plone site. Static Stylish Text portlets are usual Plone Static Text portlets with certain HTML classes assigned.

Static Stylish Text portlets can be used in those cases when you need to have several static text portlets be displayed in different ways. For this, go to Site Setup -> Add-on Products Configuration -> Static Stylish portlet (www.yoursite/@@staticstylishportlet-controlpanel). In Static Stylish portlet settings area create HTML classes and specify CSS styles for those HTML classes in the corresponding CSS file. These classes will be available for you in a Portlet style drop down menu on static stylish text portlet add/edit form.

Usage

  • Select Static Stylish text portlet from Add portlet drop-down menu

  • Provide content to be displayed on the portlet [as you would do for usual Plone static text portlets

  • Choose a portlet style for the portlet from the list of available HTML classes.

  • Save changes.

Supported Plone version

  • Plone 4

  • Plone 3

Authors

  • Vitaliy Podoba

  • Roman Kozlovskyi

Copyright (c) “Quintagroup”: http://quintagroup.com, 2011

Installation

In buildout.cfg file of your instance:

  • Add quintagroup.portlet.static to the list of eggs to install, e.g.:

    [buildout]
    ...
    eggs =
        ...
        quintagroup.portlet.static
  • Tell the plone.recipe.zope2instance recipe to install a ZCML slug:

    [instance]
    ...
    zcml =
        quintagroup.portlet.static
  • Re-run buildout, e.g. with:

    $ ./bin/buildout
  • Restart the Zope server, for example, with the following command in the terminal:

    $ ./bin/instance restart
  • Install ‘Static Stylish Portlet’ via Site Setup -> Add-ons

Changelog

0.4 - August 31, 2011

  • Plone 4.1 compatibility added

0.3 - September 03, 2010

  • Fixed support with plone.portlet.static 2.0 [kroman0]

0.2 - June 04, 2010

  • Fixed MANIFEST.in [kroman0]

0.1 - February 25, 2009

  • Initial 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

quintagroup.portlet.static-0.4.zip (28.5 kB view hashes)

Uploaded Source

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