Giter VIP home page Giter VIP logo

bootstrap-menu-bundle's People

Contributors

cameronmurphy avatar mchojrin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mchojrin mcecot

bootstrap-menu-bundle's Issues

Requirements prevent upgrading to Symfony 5

When trying to upgrade a Symfony project, containing this bundle, to the latest version (Symfony 5), it failed on the following error:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - camurphy/bootstrap-menu-bundle 1.0.0 requires symfony/twig-bundle ^4.3 -> satisfiable by symfony/twig-bundle[v4.4.0] but these conflict with your requirements or minimum-stability.
    - camurphy/bootstrap-menu-bundle 1.0.0 requires symfony/twig-bundle ^4.3 -> satisfiable by symfony/twig-bundle[v4.4.0] but these conflict with your requirements or minimum-stability.
    - Installation request for camurphy/bootstrap-menu-bundle ^1.0 -> satisfiable by camurphy/bootstrap-menu-bundle[1.0.0].

That happened, if I understand it well, because I explicitly requested the project's composer dependencies regarding Symfony to be at least version 5, but it seems that your requirements only accept version 4, which keeps me from upgrading. Maybe consider adding support for version 5 ?

Failed install leaves bundle activated

I've experienced a failure at installation (see #2), and after that, I noticed that config/bundles.php has:

modified   config/bundles.php
@@ -15,4 +15,5 @@ return [
     Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true],
     Symfony\Bundle\WebServerBundle\WebServerBundle::class => ['dev' => true],
     Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true],
+    Camurphy\BootstrapMenuBundle\BootstrapMenuBundle::class => ['all' => true],
 ];

Maybe it's flex's fault ?

No menu entries with Symfony 4.4.32 in v1.3

I'm trying to get menu entries in a Symfony 4.4.32 test app, but nothing is produced by {{ render_bootstrap_menu('mymenu') }} when with version 1.3.0

Switching back to v1.2.1 seems to fix the issue.

Maybe the support for Bootstrap 5 is fine, but preserving compatibility with Symfony LTS could be great too.

Thanks in advance.

CHANGELOG.md may need some love

I noticed the CHANGELOG.md file in the root dir... however, it seems of no use...

May I suggest to either fill it with useful info re. releases, or get rid of it plainly.

Hope this helps,

Is there an "active" state ?

Hello there,

I just discovered this bundle, much more convenient and straight forward than KnpBundle, so thank you!
One question though, is there a "active" or "current" state management?
Looks like it has not at first sight/test.

Thanks for the answer!

Displaying menu only if user doesn't have a role

Would it be possible to add a feature so as to configure the appearance of a menu if a role isn't granted to the user.

This could be handy in order to allow hiding the login menu if a user is already logged in.

I'm thinking of a syntax like role: '!IS_AUTHENTICATED_...' which would apply for unauthenticated users.

Would it make sense ?

Installation over 4.3.3 fails: "The child node "menus" at path "bootstrap_menu" must be configured."

I'm trying to add the bundle to a Symfony 4.3.3 project, and get:

$ composer require camurphy/bootstrap-menu-bundle
Using version ^1.0 for camurphy/bootstrap-menu-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "4.3.*"
Package operations: 1 install, 0 updates, 0 removals
  - Installing camurphy/bootstrap-menu-bundle (1.0.0): Downloading (100%)         
Writing lock file
Generating autoload files
ocramius/package-versions: Generating version class...
ocramius/package-versions: ...done generating version class
Symfony operations: 1 recipe (af5b6d3524609d1b6a9086d4187983ae)
  - Configuring camurphy/bootstrap-menu-bundle (>=1.0.0): From auto-generated recipe
Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 1
!!  
!!  In ArrayNode.php line 228:
!!                                                                         
!!    The child node "menus" at path "bootstrap_menu" must be configured.  
!!                                                                         
!!  
!!  
Script @auto-scripts was called via post-update-cmd

Installation failed, reverting ./composer.json to its original content.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.