# 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/clearCriteria
#default_action = Browse/HiddenCollectionsList

# -------------------
# formatting variables
# -------------------
html_page_title = 
page_footer_text = 
header_title_img = 

#
# sets used in favorites
#
# featured - on home page and favorites page
featured_set_name = siteFavorites
user_favorites_set_name = userFavorites

user_set_type = user

# -------------------
# Registered user features
# -------------------
dont_allow_registration_and_login = 1

# -------------------
# Search options
# -------------------
# If set to true, search results are partitioned by type
# Requires that your views take this into account (default views *do not*; only New Museum does)
search_results_partition_by_type = 0


# 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 = 0
do_secondary_search_for_ca_places = 0
do_secondary_search_for_ca_occurrences = 1
do_secondary_search_for_ca_collections = 1

# Number of items per page of results
items_per_page_options_for_ca_objects_search = [10, 25, 35]
items_per_page_options_for_ca_collections_search = [10, 25, 35]
items_per_secondary_search_page = 10;

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

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

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

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

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

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

# Show details?
#
allow_detail_for_ca_objects = 1
allow_detail_for_ca_entities = 0
allow_detail_for_ca_places = 0
allow_detail_for_ca_occurrences = 1
allow_detail_for_ca_collections = 1

# --- attributes to display on detail pages
ca_objects_detail_display_attributes = []
ca_objects_description_attribute = 
ca_entities_detail_display_attributes = []
ca_entities_description_attribute = 
ca_places_detail_display_attributes = []
ca_places_description_attribute = 
ca_occurrences_detail_display_attributes = []
ca_occurrences_description_attribute = 
ca_collections_detail_display_attributes = []
ca_collections_description_attribute = 

# --- 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 = 
show_map_object_search_results = 0

# 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_occurrences
sort_browse_within_detail_for_ca_collections = ca_occurrences.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

# -------------------
# 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]

