NB: This page describes undeployed alpha software
This is information for Drupal admins.
Directory Export
Dependencies
- services 3.14
- services_views 1.1
- campuscms_feature_directory_export --branch master git@alexandria.ucmerced.edu:campuscms_feature_directory_export.git
[DEPRECATED: uuid 1.0-beta1]
Installation
Install the Directory Export feature. This will automatically install the other dependencies.
Initial Configuration
- Edit the People content type to add a term reference field for the Directory Export vocabulary. The field should be called "Directory Export" with a machine name of "field_people_directory_export". It is formatted as a select list and has an unlimited number of values. The field should be hidden by default.
- Revert the directory export feature if necessary so that the view includes this field.
[DEPRECATED: Enable UUID - create missing uuids]
Configuring for a new destination site
- Add a new term to the Directory Export vocabulary on the host site (http://www.ucmerced.edu/admin/structure/taxonomy/directory_export/add) to identify the destination site (e.g. "Psychology").
- After edit the people you wish to export by adding the appropriate vocabulary term. (e.g. Psychology)
Directory Import
Dependencies
- feeds 2.0-beta2
- feeds_tamper 1.1
- feeds_xpathparser 1.1
- job_scheduler 2.0-alpha3
- ucm_tamper --branch master git@alexandria.ucmerced.edu:feeds_tamper_custom.git
- cck_phone --branch 7.x-1.x http://git.drupal.org/project/cck_phone.git
- campuscms_feature_directory_import --branch master git@alexandria.ucmerced.edu:campuscms_feature_directory_import.git
Installation
Install the Directory Import feature on the destination site. This will automatically install the other dependencies.
Configuration
- Install campuscms_feature_directory_import
- Edit the People content type to specify a file directory for images (http://site-name/admin/structure/types/manage/people/fields/field_people_photo). This value should be set to "images" unless it already has a value.
- Edit the feed importer so that it imports the correct set of entries. This is done by changing the "Keyword filter" tamper setting (http://site-name/admin/structure/feeds/directory/tamper/directory-xpathparser_6-keyword_filter/edit) to match the appropriate taxonomy term in the source site's Directory Export vocabulary (e.g. "Psychology")
- Edit http://site-name/import/directory to specify the source of the feed (e.g., http://www.ucmerced.edu/rest/views/directory) and begin the import
- Edit the People views to use the correct taxonomy terms for filtering (http://site-name/admin/structure/views/view/people/edit)