naturalhistorymuseum / ckanext-gallery Goto Github PK
View Code? Open in Web Editor NEWCKAN extension for a dataset gallery view.
License: GNU General Public License v3.0
CKAN extension for a dataset gallery view.
License: GNU General Public License v3.0
Hi,
Is there a sample CKAN instance running the extension. I went through http://data.nhm.ac.uk/ , but couldn't exactly find where it is. Will be great if you could add link to an example in README.md.
Get single field text images working
CSV - JSON
Failed on live - didn't grant table perms
How does one properly install and configure this extension? The readme doesn't provide any details. Having mainly sysadmin background and not knowing all the technological shortcuts cool kids use today, it took me considerable amount of time to figure out how the extension should probably be installed, but I still can't seem to get it working.
So far I found out that the extension requires NodeJS runtime (which version?) and figured out these steps to install:
pip install -e 'git+https://github.com/NaturalHistoryMuseum/ckanext-gallery#egg=ckanext_gallery'
cd ${CKAN_HOME}/src/ckanext-gallery
npm install bower
bower install
Then activate the extension by adding ckan.plugins = ... gallery
.
What else I'm missing? Would be nice to add the steps into README.md too.
Geom filter breaks gallery view.
https://github.com/NaturalHistoryMuseum/ckanext-gallery/blob/master/ckanext/gallery/lib/helpers.py
Only a restart of the server refreshes the cache.
Boxes
After installing the extension and configuring the view I get the following error in the console log
1a378078b007463ee038292c98e5fcc9_gallery.js:5 Uncaught TypeError: ckan.module is not a function
at 1a378078b007463ee038292c98e5fcc9_gallery.js:5:6
How can I solve this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.