This site uses cookies. By continuing to browse the site, you agree to our use of cookies. Find out more about cookies.
Skip to main content
Metadecidim's official logo
  • English Triar la llengua Elegir el idioma Choose language
    • Català
    • Castellano
Sign Up Sign In
  • Home
  • Processes
  • Assemblies
  • Initiatives
  • Consultations
  • Conferences
  • Help

Propose new functionalities for Decidim software

#DecidimRoadmap Designing Decidim together

Phase 1 of 1
Open 2019-01-01 - 2030-12-31
Process phases Submit a proposal
  • The process
  • Debates
  • Propose new features
  • News
chevron-left Back to list

Ability to remove/hide menu items

Avatar: Oliver Azevedo Barnes Oliver Azevedo Barnes
26/10/2020 13:09  
Withdrawn

Update

@Platoniq implemented this on this module: https://github.com/Platoniq/decidim-module-decidim_awesome/#11-change-the-main-menu-of-decidim-entirely

------

@verarojman asked on gitter whether it was possible to somehow remove menu items through the decidim.rb initializer. I investigated a bit and it looks like the menu subsystem is append-only at this point.

It is possible to hide them using CSS/JS hacks, but that's obviously brittle and can have unexpected consequences.

Being able to edit the menu through the initializer (or through the admin dashboard) seems like a sensible expectation from Decidim instance maintainers, to me. And from what I could tell, it's viable to extend the menu subsystem to allow for this within its current architecture.

Not sure how high a priority this would be, of course. Nor how common this demand is.

What do you all think?

  • Filter results for category: Installation and configuration Installation and configuration

List of Endorsements

Avatar: John Willson John Willson
Avatar: Antti Hukkanen Antti Hukkanen
Reference: MDC-PROP-2020-10-15774
Version number 5 (of 5) see other versions
Check fingerprint

Fingerprint

The piece of text below is a shortened, hashed representation of this content. It's useful to ensure the content hasn't been tampered with, as a single modification would result in a totally different value.

Value: a04f983acbb5a6d70c64bf745450a6fcaf4a7dfe1c5a787be8acd1e4b25a3b87

Source: {"body":{"en":"<p><strong>Update</strong></p><p>@Platoniq implemented this on this module: https://github.com/Platoniq/decidim-module-decidim_awesome/gid://metadecidim/Decidim::Hashtag/285/11-change-the-main-menu-of-decidim-entirely</p><p>------</p><p><a href=\"https://meta.decidim.org/profiles/verarojman\" target=\"_blank\">@verarojman</a> asked on gitter whether it was possible to somehow remove menu items through the decidim.rb initializer. I investigated a bit and it looks like the menu subsystem is append-only at this point.</p><p>It is possible to hide them using CSS/JS hacks, but that's obviously brittle and can have unexpected consequences.</p><p>Being able to edit the menu through the initializer (or through the admin dashboard) seems like a sensible expectation from Decidim instance maintainers, to me. And from what I could tell, it's viable to extend the menu subsystem to allow for this within its current architecture.</p><p>Not sure how high a priority this would be, of course. Nor how common this demand is.</p><p>What do you all think?</p>"},"title":{"en":"Ability to remove/hide menu items"}}

This fingerprint is calculated using a SHA256 hashing algorithm. In order to replicate it yourself, you can use an MD5 calculator online and copy-paste the source data.

Share:

link-intact Share link

Share link:

Please paste this code in your page:

<script src="https://meta.decidim.org/processes/roadmap/f/122/proposals/15774/embed.js"></script>
<noscript><iframe src="https://meta.decidim.org/processes/roadmap/f/122/proposals/15774/embed.html" frameborder="0" scrolling="vertical"></iframe></noscript>

Report inappropriate content

Is this content inappropriate?

Reason

Comment details

Order by:
  • Older
    • Best rated
    • Recent
    • Older
    • Most discussed
You are seeing a single comment

View all comments

Avatar: Oliver Azevedo Barnes Oliver Azevedo Barnes
30/10/2020 17:05
  • Get link Get link

Hi @virgile_deville, thanks - I did check this module out, somebody mentioned it on gitter too as a possible starting point.

About css/js customizations, I suggested that to Vera on gitter to quickly solve her problem. But long-term I think that's a brittle solution. They can easily break with updates, and can break other things on the interface unexpectedly. This is the main thing that drove me to open this thread to discuss possibly allowing for this to be customizable instead.

Loading comments ...

  • Terms and conditions of use
  • About the community
  • Download Open Data files
  • Metadecidim at Twitter Twitter
  • Metadecidim at Instagram Instagram
  • Metadecidim at YouTube YouTube
  • Metadecidim at GitHub GitHub
Creative Commons License Website made with free software.
Decidim Logo

Confirm

OK Cancel

Please sign in

decidim Sign in with Decidim Barcelona
Or

Sign up

Forgot your password?