Simple search taxonomy options

Categories

Component ID

2024357

Component name

Simple search taxonomy options

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module is a plugin of simplesearch module. It allows to add an additional dropdown list in a simplesearch block which is filled out with terms of a given vocabulary.

A default value could be set depending if the user chose the same term or depending his ip address.

Configuration:

go to "admin/structure/simplesearch-block/blocks" and edit a block.
In the page, simple search toxonomy options added a "SHOWTAXONOMY SETTINGS" fieldset. Inside this fieldset you can define the following:

  • Enable taxonomy plugin for this block: Check it to enable the plugin for the block you are editing,
  • Vocabulary: Select the vocabulary whose terms will fill out the dropdown list,
  • Options title: The dropdown title (optional),
  • URL parameter: The parameter that will be use in the query( &your_parameter=
    )
  • DEFAULT VALUE SETTINGS fieldset: Here is all about how calculate the defaut value for users:
    • Use a user field to set default value: Tell the module to check user values to define the default selected term in the dropdown list. If checked, you must choose a field in User Field. Proposed fields are those that are linked to the selected vocabulary *and* are used for users.
    • Use user IP to set default value: Tell the module to check user ip to define the default selected term in the dropdown list. If checked, you must choose a field in IP Field. Proposed fields are those that are used with the vocabulary. You will have to fill this fields with ip address for each terms. Values can be just one address like "192.168.1.1" or a range like "192.168.2.0/24" (from 192.168.2.0 to 192.168.2.255)