# --- Session settings
session_lifetime = 600000
session_domain =

# -------------------
# Search engine configuration
# -------------------
#search_engine_plugin = MysqlFulltext
search_engine_plugin = SqlSearch

# -------------------
# Character set to use (usually utf-8; might be ISO-8859-1)
# -------------------
character_set = utf-8

# --- Auth settings
auth_login_path = system/auth/login
password_reset_url = <site_host><ca_url_root>/index.php?action=reset_password&form_action=reset

auth_login_url = <ca_url_root>/index.php/system/auth/login
auth_logout_url = <ca_url_root>/index.php

# Url path to error display page; user will be directed here upon unrecoverable error (eg. bad controller or action)
error_display_url = <ca_url_root>/index.php/system/Error/Show

# Url to redirect user to when nothing is specified (eg. they go to /index.php)
# ONLY PUT THE CONTROLLER/ACTION PATH HERE - leave out the 'index.php'
default_action = Browse/Index

# -------------------
# Task queue set up (deferred processing of uploaded media)
# -------------------
taskqueue_handlers = [mediaproc]
taskqueue_handler_plugins = <ca_lib_dir>/core/Plugins/TaskQueueHandlers
taskqueue_tmp_directory = <ca_app_dir>/tmp

# -------------------
# Paths to other config files
# -------------------
data_model = <ca_conf_dir>/datamodel.conf
user_pref_defs = <ca_conf_dir>/user_pref_defs.conf
user_actions = <ca_conf_dir>/user_actions.conf
field_label_defs = <ca_conf_dir>/field_labels.conf
external_applications = <ca_conf_dir>/external_applications.conf
media_volumes = <ca_conf_dir>/media_volumes.conf
media_plugins = <ca_lib_dir>/core/Plugins/Media
file_volumes = <ca_conf_dir>/file_volumes.conf
fileformat_plugins = <ca_lib_dir>/core/Plugins/FileFormat
workspace_tmp_directory = <ca_app_dir>/tmp/workspace
default_media_icons = <ca_conf_dir>/default_media_icons.conf
search_config = <ca_conf_dir>/search.conf
browse_config = <ca_conf_dir>/browse.conf
media_processing_settings = <ca_conf_dir>/media_processing.conf
bischen_label_processor_url = <ca_url_root>/index.php
annotation_type_config = <ca_conf_dir>/annotation_types.conf
attribute_type_config = <ca_conf_dir>/attribute_types.conf
javascript_config = <ca_conf_dir>/javascript.conf
find_navigation = <ca_conf_dir>/find_navigation.conf
media_display = <ca_conf_dir>/media_display.conf
application_plugins = <ca_app_dir>/plugins
nav_config = <ca_conf_dir>/navigation.conf
advanced_search_config = <ca_conf_dir>/advanced_search_forms.conf
z39_88_config = <ca_conf_dir>/z39.88.conf
content_browser_config = <ca_conf_dir>/content_browser.conf
datetime_config = <ca_conf_dir>/datetime.conf
client_services_config = <ca_conf_dir>/client_services.conf


# -------------------
# Print forms
# -------------------
object_print_forms = <ca_conf_dir>/object_label_layouts.conf

# -------------------
# formatting variables
# -------------------
html_page_title = __CA_APP_DISPLAY_NAME__
page_footer_text = &copy; 2011 <a href="http://www.collectiveaccess.org">CollectiveAccess</a> &mdash; CollectiveAccess is a registered trademark of <a href="http://www.whirl-i-gig.com">Whirl-i-Gig</a>
header_img = CAlogo.gif

# -------------------
# Registered user features
# -------------------
dont_allow_registration_and_login = 1
dont_moderate_comments = 0
dont_email_notification_for_new_comments = 0
enable_bookmarks = 1
disable_my_collections = 0

# -------------------
# set variables
# -------------------
# featured items set code - on home page and favorites page
featured_set_name = siteFeatured

# Type of set to create for user-generated image sets
user_set_type = user

# Type of set to display in the "gallery" section
simpleGallery_set_type = exhibition


# -------------------
# Search options
# -------------------

# Perform secondary searches when search objects?
# (Secondary searches are searches performed when searching for objects 
#  [the "primary" search] on authorities)
#
do_secondary_searches = 1

# settings for specific secondary searches
do_secondary_search_for_ca_entities = 1
do_secondary_search_for_ca_places = 0
do_secondary_search_for_ca_occurrences = 1
do_secondary_search_for_ca_collections = 0

# Number of items per page of results
items_per_page_options_for_ca_objects_search = [15, 25, 35]
items_per_secondary_search_page = 8

# If set to true, search results are partitioned by type
# Requires that your theme supports this (default theme *does not*)
search_results_partition_by_type = 0

# Force use of per-session storage even if user is logged in.
# If you want search histories and results to persist across sessions for logged in users
# then set this to zero. For most front-ends you should leave this on (aka. set to 1)
always_use_session_based_storage_for_find_result_contexts = 1

# Set to true to enable the advanced search form feature (forms are configured in advanced_search_forms.conf)
use_advanced_search = 0

# --- result views
result_views_for_ca_objects = {thumbnail = _(Thumbnails), full = _(List)}
result_views_options_for_ca_objects = {
	thumbnail = {
		description = _(View thumbnails with brief captions),
		icon = icon_thumbnail.gif
	},
	full = {
		description = _(View images with full captions),
		icon = icon_full.gif
	},
	map = {
		description = _(View results plotted on a map),
		icon = icon_map.gif
	}
}
result_views_for_ca_entities = {full = _(List)}
result_views_options_for_ca_entities = {
	full = {
		description = _(View results in a list),
		icon = icon_list.gif
	}
}
result_views_for_ca_places = {full = _(List)}
result_views_options_for_ca_places = {
	full = {
		description = _(View results in a list),
		icon = icon_list.gif
	}
}
result_views_for_ca_occurrences = {full = _(List)}
result_views_options_for_ca_occurrences = {
	full = {
		description = _(View results in a list),
		icon = icon_list.gif
	}
}
result_views_for_ca_collections = {full = _(List)}
result_views_options_for_ca_collections = {
	full = {
		description = _(View results in a list),
		icon = icon_list.gif
	}
}

# --- sort options
result_sort_options_for_ca_objects = {ca_object_labels.name => _(Title), ca_objects.type_id => _(Type), ca_objects.idno_sort => _(Idno)}
result_sort_options_for_ca_entities = {ca_entity_labels.displayname => _(Name), ca_entities.type_id => _(Type), ca_entities.idno_sort => _(Idno)}
result_sort_options_for_ca_places = {ca_place_labels.name => _(Name), ca_places.type_id => _(Type), ca_places.idno_sort => _(Idno)}
result_sort_options_for_ca_occurrences = {ca_occurrence_labels.name => _(Name), ca_occurrences.idno_sort => _(Idno)}
result_sort_options_for_ca_collections = {ca_collection_labels.name => _(Name), ca_collections.type_id => _(Type), ca_collections.idno_sort => _(Idno)}

# -------------------
# Browsing options
# -------------------

# Table names (eg. "ca_objects", "ca_places") to allow browsing on
browse_targets = [ca_objects]

# Number of items per page of results
items_per_page_options_for_ca_objects_browse = [15, 25, 35]

# Number of objects per page on detail pages for entities, places, collections, occurrences
objects_per_page_for_detail_pages = 12;

# If set users will see the splash page as the starting point for a browse; if they try to access the 
# browse page with no criteria set they will be redirected to the splash page
use_splash_page_for_start_of_browse = 0

# -------------------
# Content caching
# -------------------
# Set to 1 if you want to cache content, as configured in the content_caching.conf config file
# Caching can greatly increase performance and high-traffic sites
do_content_caching = 0

# directory to store content cache data in
content_cache_dir = /tmp


# -------------------
# Item viewablity (access enforcement)
# -------------------

# if set, no access checks are performed
dont_enforce_access_settings = 0

# list of values for 'access' field in objects, entities, places, etc. that allow public (unrestricted) viewing
public_access_settings = [1]

# list of values for 'access' field in objects, entities, places, etc. that allow privileged viewing 
# (ie. user in on a privileged network as defined below)
privileged_access_settings = [1,2]

# List of IP address to consider "privileged" (can see items where access = 1 or 2)
# It is ok to use wildcards ("*") for portions of the address to create class C or B addresses
# Eg. 192.168.1.5, 192.168.1.* and 192.168.*.* are all valid and increasingly broad
privileged_networks = [192.168.6.*]

# -------------------
# Quicksearch ("live" search in search box in header)
# -------------------

# what sorts of results does Quicksearch return?
quicksearch_return_ca_objects = 1
quicksearch_return_ca_entities = 1
quicksearch_return_ca_places = 1
quicksearch_return_ca_occurrences = 0
quicksearch_return_ca_collections = 1

# -------------------
# Detail views
# -------------------

# Show details? - objects always have detail pages
#
allow_detail_for_ca_entities = 0
allow_detail_for_ca_places = 1
allow_detail_for_ca_occurrences = 1
allow_detail_for_ca_collections = 0
allow_detail_for_ca_object_lots = 1

# --- attributes to display on detail pages
ca_objects_detail_display_attributes = [dimensions_text, copyright_date, creation_date]
ca_objects_description_attribute = description
ca_entities_detail_display_attributes = [email]
ca_entities_description_attribute = biography
ca_places_detail_display_attributes = []
ca_places_description_attribute = location_description
ca_occurrences_detail_display_attributes = []
ca_occurrences_description_attribute = description
ca_collections_detail_display_attributes = [institution]
ca_collections_description_attribute = description
ca_object_lots_detail_display_attributes = []
ca_object_lots_description_attribute = description

# --- attribute of coordinates to map on object detail page and search results - if not set, no map is displayed - must be table.attribute
ca_objects_map_attribute = ca_places.georeference
show_map_object_search_results = 1

# Allow browse from within detail views? 
# Set to the name of the type of browse to perform, or 0 to disable
# You can also optionally set a sort order using any field or metadata element in the browsed table; you can sort on titles by using the label table name + label field (eg. ca_object_labels.name)
#
allow_browse_within_detail_for_ca_entities = ca_objects
sort_browse_within_detail_for_ca_entities = ca_objects.idno

allow_browse_within_detail_for_ca_places = ca_objects
sort_browse_within_detail_for_ca_places = ca_objects.idno

allow_browse_within_detail_for_ca_occurrences = ca_objects
sort_browse_within_detail_for_ca_occurrences = ca_objects.idno

allow_browse_within_detail_for_ca_collections = ca_objects
sort_browse_within_detail_for_ca_collections = ca_objects.idno

allow_browse_within_detail_for_ca_objects = 0


# Redirect to detail on first browse?
#
redirect_to_ca_objects_detail_if_is_first_facet = 0
redirect_to_ca_entities_detail_if_is_first_facet = 0
redirect_to_ca_places_detail_if_is_first_facet = 0
redirect_to_ca_occurrences_detail_if_is_first_facet = 0
redirect_to_ca_collections_detail_if_is_first_facet = 0

# Restrict facets shown to specific facet groups?
# 	<table_name>_browse_facet_group limits facets on the main browse landing page
#	<table_name>_refine_facet_group limits facets in the "refine" browse on detail pages
#	<table_name>_search_refine_facet_group limits facets in the "refine" browse on search results
#ca_objects_browse_facet_group = main
#ca_objects_refine_facet_group = refine
#ca_objects_search_refine_facet_group = refine


# show add this social media sharing button on object detail page
show_add_this = 1

# Allow download of representation on object detail page?
# accepted values include: anyone, logged_in, logged_in_privileged
allow_ca_objects_representation_download = logged_in_privileged

# -------------------
# Set slideshows
# -------------------
ca_objects_set_slideshow_display_attributes = [ca_objects.preferred_labels, ca_objects.idno]

# -------------------
# UI locales
# -------------------
#
# Define locales/languages here that you want the Pawtucket UI to support
# Each locale *MUST* have a messages.po/mo translation file in app/locales
ui_locales = [en_US]

# -------------------
# New Museum specific setting to display see also's on detail pages
# -------------------
dont_show_see_also = 0

# -------------------
# Mapping plugins
# -------------------
#
# Name of plugin class to use for mapping
#
mapping_plugin = GoogleMaps

# default Google map type to display
# Values are: ROADMAP, SATELLITE, HYBRID, TERRAIN
google_maps_default_type = TERRAIN

google_maps_show_navigation_controls = 1
google_maps_show_map_type_controls = 0
google_maps_show_scale_controls = 0

# -------------------
# Login Restrictions
# -------------------
pawtucket_requires_login = 0

# -------------------
# Bristol Plugin
# -------------------
show_bristol_only = 0

# -------------------
# RSS "recently added" feed
# -------------------
#
rss_number_of_items = 20
rss_description = ca_objects.description

# -------------------
# Splash page
# -------------------
#
featured_slideshow = favorites


# ----------------------------
# Label type lists
#
# Labels, both preferred and non-preferred, for primary items (objects, entities, etc.) 
# can include a type. By default the range of types is defined by a list named for the item.
# For objects, the types for preferred labels are object_label_types_preferred while the
# non-preferred label types are defined by the object_label_types list. You can set other
# lists for each kind of label below. If you don't want to use types for a given category of
# label set it to an empty list.
# ----------------------------
ca_objects_preferred_label_type_list = object_label_types_preferred
ca_objects_nonpreferred_label_type_list = object_label_types
ca_object_lots_preferred_label_type_list = object_lot_label_types_preferred
ca_object_lots_nonpreferred_label_type_list = object_lot_label_types
ca_entities_preferred_label_type_list = entity_label_types_preferred
ca_entities_nonpreferred_label_type_list = entity_label_types
ca_places_preferred_label_type_list = place_label_types_preferred
ca_places_nonpreferred_label_type_list = place_label_types
ca_collections_preferred_label_type_list = collection_label_types_preferred
ca_collections_nonpreferred_label_type_list = collection_label_types
ca_occurrences_preferred_label_type_list = occurrence_label_types_preferred
ca_occurrences_nonpreferred_label_type_list = occurrence_label_types
ca_loans_preferred_label_type_list = loan_label_types_preferred
ca_loans_nonpreferred_label_type_list = loan_label_types
ca_movements_preferred_label_type_list = movement_label_types_preferred
ca_movements_nonpreferred_label_type_list = movement_label_types
ca_storage_locations_preferred_label_type_list = storage_location_label_types_preferred
ca_storage_locations_nonpreferred_label_type_list = storage_location_label_types
ca_list_items_preferred_label_type_list = list_item_label_types_preferred
ca_list_items_nonpreferred_label_type_list = list_item_label_types
ca_object_representations_preferred_label_type_list = object_representation_label_types_preferred
ca_object_representations_nonpreferred_label_type_list = object_representation_label_types
ca_representation_annotation_preferred_label_type_list = representation_annotation_label_types_preferred
ca_representation_annotation_nonpreferred_label_type_list = representation_annotation_label_types

# -------------------
# ID numbering (for objects, object lots and authorities)
# -------------------
multipart_id_numbering_config = <ca_conf_dir>/multipart_id_numbering.conf

#
# Require input id number value to conform to format? (0=no, 1=yes)
#
require_valid_id_number_for_ca_objects = 0
require_valid_id_number_for_ca_object_lots = 0
require_valid_id_number_for_ca_entities = 1
require_valid_id_number_for_ca_places = 1
require_valid_id_number_for_ca_collections = 1
require_valid_id_number_for_ca_occurrences = 1
require_valid_id_number_for_ca_loans = 0
require_valid_id_number_for_ca_movements = 0
require_valid_id_number_for_ca_tours = 0
require_valid_id_number_for_ca_tour_stops = 0
require_valid_id_number_for_ca_object_representations = 0

#
# Allow dupe id numbers? (0=no, 1=yes)
#
allow_duplicate_id_number_for_ca_objects = 1
allow_duplicate_id_number_for_ca_object_lots = 1
allow_duplicate_id_number_for_ca_entities = 1
allow_duplicate_id_number_for_ca_places = 1
allow_duplicate_id_number_for_ca_collections= 1
allow_duplicate_id_number_for_ca_occurrences= 1
allow_duplicate_id_number_for_ca_list_items= 1
allow_duplicate_id_number_for_ca_loans= 0
allow_duplicate_id_number_for_ca_movements= 0
allow_duplicate_id_number_for_ca_tours= 0
allow_duplicate_id_number_for_ca_tour_stops= 0
allow_duplicate_id_number_for_ca_object_representations = 1

#
# Allow dupe labels? (0=no, 1=yes)
# If set to no, then atttempting to save records with a label already
# in use by another record will fail
#
allow_duplicate_labels_for_ca_objects = 0
allow_duplicate_labels_for_ca_object_lots = 1
allow_duplicate_labels_for_ca_entities = 0
allow_duplicate_labels_for_ca_places = 1
allow_duplicate_labels_for_ca_collections= 0
allow_duplicate_labels_for_ca_occurrences= 0
allow_duplicate_labels_for_ca_storage_locations= 1
allow_duplicate_labels_for_ca_list_items= 1
allow_duplicate_labels_for_ca_loans = 1
allow_duplicate_labels_for_ca_movements= 1
allow_duplicate_labels_for_ca_object_representations= 1
allow_duplicate_labels_for_ca_relationship_types= 1
allow_duplicate_labels_for_ca_set_items= 1
allow_duplicate_labels_for_ca_search_forms= 1
allow_duplicate_labels_for_ca_bundle_displays= 1
allow_duplicate_labels_for_ca_editor_uis= 1
allow_duplicate_labels_for_ca_editor_ui_screens= 1
allow_duplicate_labels_for_ca_tours= 1
allow_duplicate_labels_for_ca_tour_stops= 1

#
# Require preferred label? (0=no, 1=yes)
# If set to yes, then attempting to save records without a preferred label
# will fail. If set to no (default) then attempting to save a record without
# a preferred label will automatically set the preferred label to "[BLANK]"
#
require_preferred_label_for_ca_objects = 1
require_preferred_label_for_ca_object_lots = 0
require_preferred_label_for_ca_entities = 0
require_preferred_label_for_ca_places = 0
require_preferred_label_for_ca_collections = 0
require_preferred_label_for_ca_occurrences = 0
require_preferred_label_for_ca_storage_locations = 0
require_preferred_label_for_ca_list_items = 0
require_preferred_label_for_ca_loans = 0
require_preferred_label_for_ca_movements = 0
require_preferred_label_for_ca_object_representations = 0
require_preferred_label_for_ca_relationship_types = 0
require_preferred_label_for_ca_set_items = 0
require_preferred_label_for_ca_search_forms = 0
require_preferred_label_for_ca_bundle_displays = 0
require_preferred_label_for_ca_editor_uis = 0
require_preferred_label_for_ca_editor_ui_screens = 0
require_preferred_label_for_ca_tours = 0
require_preferred_label_for_ca_tour_stops = 0

#
# Name of plugin class to use for id number field in objects, object lots
# and authorities that support id numbering (entities, places, collections and occurrences)
#
ca_objects_id_numbering_plugin = MultipartIDNumber
ca_object_lots_id_numbering_plugin = MultipartIDNumber
ca_entities_id_numbering_plugin = MultipartIDNumber
ca_places_id_numbering_plugin = MultipartIDNumber
ca_collections_id_numbering_plugin = MultipartIDNumber
ca_occurrences_id_numbering_plugin = MultipartIDNumber
ca_list_items_id_numbering_plugin = MultipartIDNumber
ca_loans_id_numbering_plugin = MultipartIDNumber
ca_movements_id_numbering_plugin = MultipartIDNumber
ca_tours_id_numbering_plugin = MultipartIDNumber
ca_tour_stops_id_numbering_plugin = MultipartIDNumber
ca_object_representations_id_numbering_plugin = MultipartIDNumber

# -------------------------
# Bundle-level access control
# -------------------------
default_bundle_access_level = __CA_BUNDLE_ACCESS_EDIT__