Load chosen and fontawesome from local

Created on 3 March 2022, over 2 years ago
Updated 10 October 2023, 9 months ago

Problem/Motivation

The tb_megamenu administrative interface needs the chosen library to work properly, and also attempts to load the fontawesome stylesheet.
Both these resources are loaded as external files, which requires an additional configuration to make it work together with the seckit module.

Steps to reproduce

  • Install and configure tb_megamenu, setting up a simple menu with one parent item and a child leaf
  • Install and configure seckit
  • Open the tb_megamenu administrative menu, and click on the parent item. If the chosen library origin (Cloudflare) is not whitelisted in seckit, the tb_megamenu menu won't open; instead, the target of the menu link will open in a new tab.

Proposed resolution

I see two ways to fix this:

  1. Rather than loading directly the chosen and fontawesome libraries from remote, download them locally and load them from there;
  2. Or - proper document the need to whitelist the CDN to make the administrative page work properly.

I can help with either - what do you think?

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇮🇹Italy nironan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024