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.advancedsearchtamer

How to install collective.advancedsearchtamer

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

Introduction

collective.advancedsearchtamer is a small add-on for Plone 3 which attempts to tame the advanced search form. It uses javascript to add a checkbox to each search element in the form which enables/disables that element.

The result is that the urls generated by the search form are generally much shorter, as only the required fields are sent on the request.

Installing

This package requires Plone 3.0 or later.

Installing without buildout

First you need to install this package. You can install this in either the system python path or in the lib/python directory of your Zope instance. If you have setuptools installed you can do this using easy_install:

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

Literal block expected; none found.

easy_install collective.advancedsearchtamer

If you do not have setuptools you can install it manually using the setup.py script in the source. If you want to install it inside your Zope instance instead of system wide you can its ''--prefix='' option to install in the ''lib/python'' directory of your Zope instance.

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

<include package="collective.advancedsearchtamer" />

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.advancedsearchtamer is even simpler. You can install it by adding it to the eggs line for your instance:

[instance]

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

Inconsistent literal block quoting.

eggs = collective.advancedsearchtamer zcml = collective.advancedsearchtamer

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

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

Using collective.advancedsearchtamer

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

Title underline too short.

Using collective.advancedsearchtamer
=================

In order to use the the updated search you will first need to install the collective.advancedsearchtamer product in your site. This is done through the standard ''Add-on products'' control panel in the Plone site setup.

After this has been done, you should be able to visit the Advanced Search form and, provided you have javascript enabled, see the enable/disable checkboxes appear next to each search option.

To perform a search, simply check the box next to each option you want to specify, and then enter/select the values you require using the relevant form elements. Click 'search' as normal to get the results.

Changelog

1.0 - 2009-03-27
  • Initial release

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.