- Issue created by @vensires
- π¨πSwitzerland saschaeggi Zurich
I'm postponing this for now as there is currently heavy development in this area for Drupal CMS.
The topbar module will be hidden in 10.4 for that reason and should be installed for development purposes only.
See https://www.drupal.org/project/drupal/issues/3486198 π Hide the navigation top bar in 11.1.x and 10.4.x Active
- π¬π·Greece vensires
Thank you @saschaeggi for the deprecation notice. I wasn't aware of that.
In any case, in MR!522 I have recreated the missing
toolbar-button.html.twig
and replaced the reference from "@navigation/xxx" to "@gin/navigation/xxx". I am also attaching the generated patch.At least as a temporary solution until you decide what to do about it.
- π·πΈSerbia finnsky
This button still active in development.
https://git.drupalcode.org/project/drupal/-/merge_requests/9116/diffs#1b...
and others
So its override may lead us to lost some features. - πΊπΈUnited States mglaman WI, USA
So its override may lead us to lost some features.
That is fair. Right now the Gin theme is completely broken if the module is turned on. What if we leveraged
ignore missing
to allow progressive enhancement once thetoolbar-button.html.twig
is added back?From the docs: https://twig.symfony.com/doc/3.x/tags/include.html
You can mark an include with ignore missing in which case Twig will ignore the statement if the template to be included does not exist. It has to be placed just after the template name. Here some valid examples:
{% include 'sidebar.html' ignore missing only %}
- Merge request !543Add `ignore missing` when including @navigation/toolbar-button.html.twig β (Merged) created by mglaman
- πΊπΈUnited States mglaman WI, USA
Copying in the full error so people find this issue more easily.
Automatically closed - issue fixed for 2 weeks with no activity.