Icone non visibili in installazione in folder icon.twig

Created on 13 December 2021, about 3 years ago
Updated 17 February 2023, almost 2 years ago

Problem/Motivation

Se si installa Drupal in una subfolder, ad esempio tramite composer che crea la folder /web, il percorso delle icone non viene letto correttamente.

Steps to reproduce

Installare Drupal in una subfolder, installare il tema, attivarlo, le icone non vengono lette nel percorso.

Proposed resolution

Modificare il file icon.twig in attesa di patch:

<use xlink:href="{{ active_theme_path() }}/assets/icons/{{ library }}#{{ name }}"></use> 

A:

<use xlink:href="./{{ active_theme_path() }}/assets/icons/{{ library }}#{{ name }}"></use>
🐛 Bug report
Status

Fixed

Version

0.19

Component

Code

Created by

🇮🇹Italy Luca Pagani Via Pippia 26

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

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.71.5 2024