Red Cross Corner Button

by Shane Graber last modified Feb 16, 2011 02:09 AM

This product is a simple Red Cross corner button for your Plone site.

Project Description

Redcross Portlet: a simple corner button for your Plone site.

Based on the Red Cross corner button code from: http://alvey.weblogsinc.com/2005/09/04/adding-the-red-cross/

Written using the No Software Patents portlet product by Christian Ledermann.

Information

This is a simple product that installs as a portlet but doesn't act like a portlet. Typically a portlet shows up on either the left or right side of a Plone site. When this particular portlet is called in either left_slots or right_slots in the ZMI, it places a small corner button image at the top-right corner of your site linking to the Red Cross website where people can donate financially to the Red Cross relief effort. In order to accomplish the look, all of the portlet wrapper div's have been removed from the portlet template. Using a portlet to add this button to the website allowed this product the flexibility to be installed on any version of Plone without breaking anything from version to version.

Installation

Installation is the same as any other Plone product:

  • Unzip redcross_portlet.zip to your Products directory
  • Restart Zope
  • Log in as Manager to your Plone site and install from Plone Setup

The portlet will auto-install at the root of your Plone site to the right_slots. Uninstallation from Plone Setup will remove it from right_slots. You may need to add the portlet manually to certain spots in your site if you've customized left_slots or right_slots in your plone site. The code is here/portlet_redcross/macros/portlet.

Notes

If you wish to use a Spanish translated image instead, customize /portal_skins/redcross_portlet/portlet_redcross and change red-cross.gif to cruz-roja.gif and then change the alt and title attributes respectively.

You can see this product in action at http://liquid.homelinux.org/.

To Do

Internationalize.

Current Release

No stable release available yet.

All Releases

Version Released Description Compatibility Licenses Status

Comments (0)