Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install collective.multilogo

How to install collective.multilogo

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install collective.multilogo
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.2.1 Available View build log
Windows (64-bit)
0.2.1 Available View build log
Mac OS X (10.5+)
0.2.1 Available View build log
Linux (32-bit)
0.2.1 Available View build log
Linux (64-bit)
0.2.1 Available View build log
 
Author
License
GPL
Dependencies
Lastest release
version 0.2.1 on Jan 5th, 2011

Introduction

This package helps to create custom portal logo in Plone, using new configlet, custom css and images. It allows user to construct logo from multiple items such as text or images.

Installing

This package requires Plone 3.0 or later.

Installing without buildout

Install this package in either your system path packages or in the lib/python directory of your Zope instance. You can do this using either easy_install or via the setup.py script.

After installing the package it needs to be registered in your Zope instance. This can be done by putting a collective.multilogo-configure.zcml file in the etc/package-includes directory with this content:

<include package="collective.multilogo" />

or, alternatively, you can add that line to the configure.zcml in a package or Product that is already registered.

Installing with buildout

If you are using buildout to manage your instance installing collective.multilogo is even simpler. You can install collective.multilogo by adding it to the eggs line for your instance:

[instance]

System Message: ERROR/3 (<string>, line 37)

Inconsistent literal block quoting.

eggs = collective.multilogo zcml = collective.multilogo

The last line tells buildout to generate a zcml snippet that tells Zope to configure collective.multilogo.

If another package depends on the collective.multilogo egg or includes its zcml directly you do not need to specify anything in the buildout configuration: buildout will detect this automatically.

After updating the configuration you need to run the ''bin/buildout'', which will take care of updating your system.

Usage

For example we want to create custom logo for portal DMS4U from server family: "DMS4U | CMS4U | ERP4U | CHAT4U" pointing to particular sites http://dms4u.cz, http://cms4u.cz, http://erp4u.cz, http://chat4u.cz etc.

Go to "Site Setup" and open "Multi Logo Settings" configlet listed under "Add-on Product Configuration" control panel section.

There you can specify a several options like display order (inline or block), logo items separator and define individual parts/items of the logo. Additional promo text placed under logo items can be defined also.

In our case set "display inline" to True, as separator we enter "|" and define the following logo items:

System Message: WARNING/2 (<string>, line 69)

Literal block expected; none found.

title=DMS4U image= link=http://dms4u.cz css_class='activeLogo' # to make logo item visually activated new_window=False # we want the logo item to act like standard portal logo separator='+' ... title=CMS4U image= link=http://cms4u.cz css_class='inactiveLogo' # to make logo item visually deactivated new_window=True separator= ... etc

Changelog

0.2.1 - 2008/08/19
  • synced readme.txt files

System Message: WARNING/2 (<string>, line 101)

Bullet list ends without a blank line; unexpected unindent.

[lzdych]

0.2 - 2008/08/19 =------------------

  • fixed: lost multilogo settings after product reinstallation

System Message: WARNING/2 (<string>, line 107)

Bullet list ends without a blank line; unexpected unindent.

[mhora]

  • enabled logo item separator per logo item and added configuragle promo

System Message: WARNING/2 (<string>, line 110)

Bullet list ends without a blank line; unexpected unindent.

text under the logo items [mhora]

  • added fallback for empty logo link to portal navigation root

System Message: WARNING/2 (<string>, line 114)

Bullet list ends without a blank line; unexpected unindent.

[mhora]

0.1 - 2008/12/01
  • Initial release

System Message: WARNING/2 (<string>, line 120)

Bullet list ends without a blank line; unexpected unindent.

[lzdych]

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.