The Agrovoc Field module is a module for manually indexing nodes using Agrovoc concepts.

This module creates a new CCK field (called Agrovoc and derived from the Content Taxonomy field) that allows to select Agrovoc terms through an autocomplete textbox connecting to the Agrovoc web services 2.0.

Being a CCK field synchronized with a taxonomy, it allows to exploit both CCK and taxonomy features in Drupal.

The module has very good and very well integrated multi-lingual support: when indexing a node, the module lists Agrovoc terms in the website currently active language, but then stores the selected terms in all the languages enabled in the website. When switching to a different language, the corresponding Agrovoc terms in that language will be displayed and when translating a node that has already been indexed, the translated Agrovoc terms will be displayed and the autocomplete field will only list terms in that language.

This module is sponsored by CONDESAN (http://www.condesan.org) and FAO (http://www.fao.org)

INSTRUCTIONS FOR VERSION 6.x-3.x

Code refactoring done.

  • New funcionalities were tested for PHP 5.3.x
  • New approach based on OOP for remote or local retrieving of Agrovoc terms
  • Importants functions were shifted and renamed from agrovocfield_autocomplete.module to agrovocfield.module to allow writing new widgets more easily
  • 2 widgets were added: agrovocfield_text and agrovocfield_automatic
  • agrovocfield_text widget is only a textfield but allow reuse clearly parts of its code for other widgets
  • agrovocfield_automatic widget allows automatic indexing for body field OR filefield (provided by filefield module) OR upload file(provided by upload core module)
  • For local searches, you need to store all terms of Agrovoc in your database. First, you need to download a file from http://cambio.name/agrovocterm.csv.zip and put (after uncompress it) inside folder named sites/all/modules/agrovocfield/db/. Next, execute update.php for loading data. This is mandatory if you want to setup local searches

Downloads

Recommended releases

Version Downloads Date Links
6.x-3.5 tar.gz (20.83 KB) | zip (27.36 KB) 2012-May-22 Notes

Other releases

Version Downloads Date Links
6.x-1.0 tar.gz (13.31 KB) | zip (15.36 KB) 2011-Sep-07 Notes

Project Information


Maintainers for Agrovocfield

  • asanchez75 - 78 commits
    last: 3 days ago, first: 1 year ago

Issues for Agrovocfield

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
nobody click here