Skip to main content

Add external links to Wagtail Dashboard Menu

Project description

wagtail-external-menu-items

Add external links to Wagtail Dashboard Menu

Installation :package:

From PyPi repository:

pip install wagtail-external-menu-items

From source code:

git clone https://github.com/spamz23/wagtail-external-menu-items.git
virtualenv venv
./venv/scripts/activate
pip install -r requirements.txt

Quickstart

  1. Add wagtail_external_menu_items to your INSTALLED_APPS inside Django settings:
INSTALLED_APPS = (
    # ...
    'wagtail_external_menu_items',
)
  1. Add some configuration settings (inside your Django configs):
# ...

WAGTAIL_EXTERNAL_MENU_ITEMS={
    # A list of dicts, where each dict is a item (button) to add to the dashboard
    "items": [
        {
            "label": "Sentry Logs", # The name of the button
            "url": "https://sentry.io/organizations/your-organization", # The external link
            "classnames": "icon icon-fa-book", # Any classname, in this case we assign a font awesome icon (must have fontawesome installed)
        }
    ],
    "order": 1000 # Optional! The starting order for the items
}

That's all the configuration needed!

image

Contributing

All pull requests are welcome! Feel free to contribute with any bug fix or new feature!

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

wagtail-external-menu-items-0.1.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file wagtail-external-menu-items-0.1.2.tar.gz.

File metadata

  • Download URL: wagtail-external-menu-items-0.1.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for wagtail-external-menu-items-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c6b7c021165fbb26217a64dc5c1af53617b6d48b0b7caa8a1dd7224b6a380791
MD5 b77b925aabb31006990c389566b6d1de
BLAKE2b-256 8a0268fea24ddd74cf40c9044170d9fd46b4f8455752a2e2de5902e61a38988a

See more details on using hashes here.

File details

Details for the file wagtail_external_menu_items-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: wagtail_external_menu_items-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for wagtail_external_menu_items-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5dfce00432bb0aeb3c22c4d7519460d6a71420301d609606eebdbcab2263bd04
MD5 b6739c7d158cb0b11db3513ed9b8ba9e
BLAKE2b-256 9b2de5e32fd18c74879458e3f623b6bc4ca749a393b281cf39847a15c8bddb3e

See more details on using hashes here.

Supported by

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