Skip to main content

"Invenio module for sharedRDM theme."

Project description

https://github.com/sharedRDM/invenio-override/workflows/CI/badge.svg https://img.shields.io/pypi/dm/invenio-override.svg https://img.shields.io/github/tag/sharedRDM/invenio-override.svg https://img.shields.io/github/license/sharedRDM/invenio-override.svg https://readthedocs.org/projects/invenio-override/badge/?version=latest https://img.shields.io/badge/code%20style-black-000000.svg

Override invenioRDM theme.

Features:

  • Custom header template.

  • Custom footer template.

  • Custom login/signup templates.

  • Custom frontpage template.

  • Custom contact template.

  • Overriden theme.

Configuration fields with the default values available to enable/disable these package’s feature on a custom instance:

  • Global search

# Publications - Enable or disable the publication global search feature.
OVERRIDE_SHOW_PUBLICATIONS_SEARCH = False

# OER - Enable or disable the educational resources global search feature.
OVERRIDE_SHOW_EDUCATIONAL_RESOURCES = False

Note: by default invenio-override does not requiere OER or Publications packages. To install one or both, specify them as extras:

pip install invenio-override[lom, marc21]

or just

pip install invenio-override[marc21]

Enabling the OVERRIDE configurations without their respective library might lead to unexpected errors. More details about working with global-search packages here: https://github.com/tu-graz-library/invenio-global-search

  • Frontpage and its right section

# Enable or disable a section on the frontpage that adds shortcuts to search and uploads
OVERRIDE_RESOURCE_OVERVIEW = False

# Enable or disable the right section of the frontpage (Contact us, Benefits)
OVERRIDE_FRONTPAGE_RIGHT = False

# If section Benefits is displayed, option to click on More and go to Statistics page for more info
OVERRIDE_RIGHT_SECTION_TITLE = True

# Contact Email for the Contact us feature in the right section
OVERRIDE_SHOW_RIGHT_CONTACT_EMAIL = True

# Contact email displayed in the right section
OVERRIDE_RIGHT_SECTION_CONTACT_EMAIL = "support@example.com"

# feedback form used in right section
OVERRIDE_CONTACT_FORM = False
  • Branding and UI

# Icon and Logo displayed on the webiste
# list of available options: ["icon_use.png", "TUG.png", "KFU.svg", "MUG.svg", "invenio-override-default.svg", "sharedRDM.png"]
OVERRIDE_ICON = "images/icon_use.png"

OVERRIDE_LOGO = "images/inveniordm-tail.svg"

# favicon for shortcuts
# list of available options: ["kfu.ico", "mug.ico", "tug.ico"]
OVERRIDE_FAVICON = "favicon.ico"

# Override the Uploads menu title
USER_DASHBOARD_MENU_OVERRIDES = {
  "uploads": {
    "text": _("Research Results"),
  },
}
  • Differentiate between production and testing instance

# Production environment. Can also be set in .env as 'INVENIO_OVERRIDE_PRODUCTION'
OVERRIDE_PRODUCTION = False

Further documentation is available on https://invenio-override.readthedocs.io/

Changes

Version v0.0.7 (release 2025-02-11)

  • refactor: overview responsiveness on the front page

  • fix: footer_mug search guide

  • fix: issues header when no lang

  • ui: tailor navbar/frontpage to Research Results

  • add restriction to admins

  • Set ENV in overview section

Version v0.0.6 (release 2025-05-20)

  • i18n: fix typo on fuzzy

  • ci: update publish dependencies

Version v0.0.5 (release 2025-05-20)

  • ui: improvements and bug fixes

  • global: invenio-app-rdm v13

  • global: split and move invenio-global-search dependencies to extras

Version v0.0.4 (release 2024-11-25)

  • global: MUG requirements integrated

Version v0.0.3 (release 2024-02-02)

  • global: configs naming

Version v0.0.2 (release 2024-02-02)

  • global: remove scss

Version v0.0.1 (release 2024-02-01)

  • global: init repository

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

invenio_override-0.0.7.tar.gz (309.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

invenio_override-0.0.7-py2.py3-none-any.whl (325.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file invenio_override-0.0.7.tar.gz.

File metadata

  • Download URL: invenio_override-0.0.7.tar.gz
  • Upload date:
  • Size: 309.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for invenio_override-0.0.7.tar.gz
Algorithm Hash digest
SHA256 a7a57d391fb76b2ebf967bdc58e389f465b88c0dcbdd0cf49e262ed395d7bc55
MD5 777bc8fb827a8ab1d2da861d9c51b667
BLAKE2b-256 5caed988158bf435b57a0a51f39aa635e90fe76adbab86fc4241790f9a1b5446

See more details on using hashes here.

File details

Details for the file invenio_override-0.0.7-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for invenio_override-0.0.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c589533fe7e8ad0324c2d9fac3a04fbfc69fa588eaf4b203b3e9db591a99e7f8
MD5 6f814328c2f0963684b532246c973743
BLAKE2b-256 71b80bd8603d8c3486c699d20bf244cb6a4b1de34cde6d19f2e34d485241653d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page