{"id":26159805,"url":"https://github.com/dathere/ckanext-heroslideradmin","last_synced_at":"2026-02-02T12:03:42.802Z","repository":{"id":207621209,"uuid":"719258165","full_name":"dathere/ckanext-heroslideradmin","owner":"dathere","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-12T15:10:32.000Z","size":885,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-22T20:43:48.271Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dathere.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-15T19:46:13.000Z","updated_at":"2024-10-18T13:41:45.000Z","dependencies_parsed_at":"2023-11-16T19:50:33.815Z","dependency_job_id":"7731afa6-3d27-4db2-9e6d-8427908e6605","html_url":"https://github.com/dathere/ckanext-heroslideradmin","commit_stats":null,"previous_names":["dathere/ckanext-heroslideradmin"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dathere/ckanext-heroslideradmin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dathere%2Fckanext-heroslideradmin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dathere%2Fckanext-heroslideradmin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dathere%2Fckanext-heroslideradmin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dathere%2Fckanext-heroslideradmin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dathere","download_url":"https://codeload.github.com/dathere/ckanext-heroslideradmin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dathere%2Fckanext-heroslideradmin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29012211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T10:37:29.253Z","status":"ssl_error","status_checked_at":"2026-02-02T10:37:28.644Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-11T11:36:00.888Z","updated_at":"2026-02-02T12:03:42.786Z","avatar_url":"https://github.com/dathere.png","language":"Python","readme":"# ckanext-heroslideradmin\n\nAdds a hero slider to the homepage which can be managed from the sysadmin panel.\n\n-------------------\nFunctionality\n-------------------\n\nThe end user can either upload their own images or link them as hero sliders on the homepage. The system administrator can add/remove images in the `sytemadmin settings` -\u003e `Hero Slider Config` where is possible to manage hero slided.\nThe following image shows how the user interface looks like.\n\n\n![image](https://github.com/user-attachments/assets/78bf0209-08e0-42a3-a94f-614983492758)\n\n\nThe updated images are going to be displayed in the main page. The following images shows the example of the main page.\n\n![image](https://github.com/user-attachments/assets/fe25c698-0b57-4568-b3c4-8e8495a98751)\n\n\n------------------------\nDevelopment Installation\n------------------------\n\nTo install ckanext-heroslideradmin for development, activate your CKAN virtualenv and\ndo::\n\n    git clone https://github.com/OpenGov-OpenData/ckanext-heroslideradmin.git\n    cd ckanext-heroslideradmin\n    python setup.py develop\n    pip install -r dev-requirements.txt\n\nAdd heroslideradmin to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini)::\n\n    ckan.plugins = heroslideradmin\n\n\n\n---------------\nConfig Settings\n---------------\n\nRun the following command to create the necessary tables in the database (ensuring the pyenv is activated)\n\nON CKAN \u003e= 2.9::\n\n    (pyenv) $ ckan --config=/etc/ckan/default/production.ini heroslideradmin initdb\n\nON CKAN \u003c= 2.8::\n\n    (pyenv) $ paster --plugin=ckanext-heroslideradmin heroslideradmin initdb --config=/etc/ckan/default/production.ini\n\nFinally, restart CKAN to have the changes take affect::\n\n    sudo service apache2 restart\n\n\n\n-------------------\nHero Slider Snippet\n-------------------\n\nTo add the hero slider to the homepage, add the following block to the appropriate homepage template (eg: ckanext-example_plugin/ckanext/example_plugin/templates/home/layout3.html):\n\n    {% if 'heroslideradmin' in g.plugins %} \n        {% snippet 'home/snippets/hero_slider.html' %} \n    {% endif %}\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdathere%2Fckanext-heroslideradmin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdathere%2Fckanext-heroslideradmin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdathere%2Fckanext-heroslideradmin/lists"}