Skip to content

getdevflow/menu-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Devflow Navigation Plugin

A full navigation/menu builder for Devflow CMF.

Requires Devflow Version: 2.x

Tested Up To: 2.0.0

Requires PHP: 8.4+

Stable Tag: 1.0.2

License: GPLv2-only

Screenshot

screenshot.png

Features

  • Unlimited menus: header, footer, sidebar, mobile, etc.
  • Add by drag/drop, checkbox or Add button.
  • Rename menu items.
  • Change URL and CSS class.
  • Add url attributes
  • Open links in a new window.
  • Remove menu items.
  • Drag/drop nesting with jQuery UI Sortable.
  • Database-backed storage.
  • Renderer API for frontend templates.

Composer Installation

  1. Start a new shell session.
  2. Navigate to the root of your install, run the following command composer require getdevflow/menu-builder.

Frontend usage

use Plugin\MenuBuilder\Helper\NavMenu;

echo NavMenu::render('header-menu', [
    'bootstrap' => 3,
    'menu_class' => 'nav navbar-nav',
]);

Or inject Plugin\MenuBuilder\Support\NavigationRenderer and call:

echo $navigationRenderer->render('header-menu');

Notes

The repository assumes these frontend URL conventions:

  • Pages: value from {prefix}_page_translations.route
  • Products: /product/{product_slug}
  • Content: /{content_type?}/{content_slug}

About

Full featured navigation/menu builder plugin for Devflow CMF.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors