Giter Site home page Giter Site logo

braunstetter / menu-bundle Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 0.0 180 KB

Create complex menus and let your bundles extend it. Reuse it everywhere.

PHP 88.08% Twig 8.88% Makefile 2.22% CSS 0.81%
symfony menu breadcrumb breadcrumbs breadcrumb-navigation twig twig-functions twig-extension

menu-bundle's People

Contributors

michaelbrauner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

menu-bundle's Issues

Make menu handles clearly

Atm we have a problem when you have two times MainMenu.
The twig helper can not decide what Menu to choose from when you type:

menu('main_menu')

The handles should be take into account the last part of the class Namespace.

So it would be like that:

Class Handle
App\Menu\Frontend\MainMenu frontend_main_menu
App\Menu\Backend\MainMenu backend_main_menu
App\Menu\MainMenu menu_main_menu

aria-current

Make it possible to set an e.g. aria-current="page" attribute.

For that it is neccessary to have an option like:

['aria_current_label' => 'page']

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.