SimpleAds

These are the instructions to install and configure the SimpleAds module.

Please note, that simpleads 7.x-2.x currently requires the following non-core modules:

Taxonomy Publisher Filter

Dependencies

It depends on the Taxonomy Publisher module (now part of the Taxonomy tools project), which
attaches a status field to the taxonomy terms of the vocabularies you select.

Versions

The current version supports select, checkbox/radio and autocomplete widgets for term reference fields.

How to use

  1. download the module and place it under 'sites/all/modules/contrib' folder
    • with Drush use: drush dl taxonomy_tools
  2. enable the module from the modules page: 'admin/build/modules' the Taxonomy Publisher & Taxonomy Publisher Filter module
  3. enable taxonomy publisher on the vocabularies you wish to limit
  4. enable/disable the terms in the above vocabularies
  5. configure roles that show see the limited list only under admin/people/permission

Custom Form

_taxonomy_publisher_filter_custom_form($vid, $settings) function is helpful to filter your select or checkbox/radio field in custom forms.
The function will expect a vocabulary id by default and will return the filtered option list.

    $option = _taxonomy_publisher_filter_custom_form($vid);
Subscribe with RSS Subscribe to RSS - Publisher