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.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: wagtail-external-menu-items-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for wagtail-external-menu-items-0.1.1.tar.gz
Algorithm Hash digest
SHA256 978802aa35cb7d0ad6e6e06bf15c0ce8fda0c9e40aac47d0bd911ed1838a1400
MD5 2d4cb14955f2869776dee07e5903317d
BLAKE2b-256 a59e51f65e5cb46edfa07c2e4ad083aeb08244e07e439d167f46407056fd29a8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wagtail_external_menu_items-0.1.1-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/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for wagtail_external_menu_items-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e5c66cdb86fe75fc210a056f96eb21f17b85a1ea59da60b193b2d8cf5066bef3
MD5 d45bcb66a4666611aba8ddf2e7b7dae1
BLAKE2b-256 4288014103c801b56cbe81aa2acf95a506c713838ecf81300b02fb1dbe9e8092

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