Skip to content

Changing the HTML strcture of a menu should be easy #329

Open
@gremo

Description

@gremo

ATM if you need to change the HTML structure - i.e. from ul/li to div/div - you need to copy and past the whole knp_menu.html.twig. For the list block this is a matter of a few lines, but for the itemblock there a lot of lines.

This seems uncomfortable to me. How about adding a block for just print the HTML tag? This way when knp_menu.html.twig will be update my menu will be update too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions