Giter Site home page Giter Site logo

naturalhistorymuseum / ckanext-gallery Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 4.0 5.1 MB

CKAN extension for a dataset gallery view.

License: GNU General Public License v3.0

Python 74.20% HTML 12.63% JavaScript 5.99% Dockerfile 1.79% Less 5.39%
ckan ckan-extension

ckanext-gallery's People

Contributors

aliceh75 avatar alycejenni avatar benscott avatar dependabot[bot] avatar github-actions[bot] avatar jrdh avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ckanext-gallery's Issues

Demo?

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.

File upload

Failed on live - didn't grant table perms

Installation and configuration documentation

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.

GalleryImage plugin not found

when I add a view to a resource nothing is available in the image field type. it seems that the GalleryImagePlugin plugin is not loaded or available

2023-07-02_20-41

Did I do something wrong or did I forget some steps?

  • CKAN version: 2.10 Docker Compose

ckan.module is not a function

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

image

How can I solve this?

  • CKAN version: 2.10.0
  • Docker compose

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.