Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dataset page organization visibility config options #60

Merged
merged 1 commit into from
Jan 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions INSTALL_CIOOS_CKAN.md
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,27 @@ background:rgb(185, 214, 242);
}
```


### reset runtime edited config settings

connect to db
```bash
sudo docker exec -u root -it db psql -U ckan
```

delete appropreit records. Some example field names are: `ckan.site_title`, `ckan.header_file_name`, or `ckan.hide_organization_in_dataset_sidebar`
```sql
delete from public.system_info_revision where key = 'your_config_field_name';
delete from public.system_info where key = 'your_config_field_name';
exit
```

restart ckan
```bash
cd ~/ckan/contrib/docker
sudo docker-compose restart ckan
```

## Enable Google Analytics

edit the **production.ini** file currently in the volume.
Expand Down
6 changes: 6 additions & 0 deletions contrib/docker/production_non_root_url.ini
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,12 @@ ckan.plugins = stats
geojson_view
wmts_view

# ckan.show_social_in_dataset_sidebar = false
# ckan.hide_organization_in_breadcrumb = false
# ckan.hide_organization_in_dataset_sidebar = false
# ckan.show_responsible_organization_in_dataset_sidebar = false


ckanext.geoview.ol_viewer.formats = wms kml wfs geojson gml kml arcgis_rest
ckanext.geoview.ol_viewer.hide_overlays: false
ckanext.geoview.ol_viewer.default_feature_hoveron: true
Expand Down
5 changes: 5 additions & 0 deletions contrib/docker/production_root_url.ini
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ ckan.plugins = stats
geojson_view
wmts_view

# ckan.show_social_in_dataset_sidebar = false
# ckan.hide_organization_in_breadcrumb = false
# ckan.hide_organization_in_dataset_sidebar = false
# ckan.show_responsible_organization_in_dataset_sidebar = false

ckanext.geoview.ol_viewer.formats = wms kml wfs geojson gml kml arcgis_rest
ckanext.geoview.ol_viewer.hide_overlays: false
ckanext.geoview.ol_viewer.default_feature_hoveron: true
Expand Down