dev-master
9999999-devMenu items opens content in a dialog
MIT
The Requires
The Development Requires
by Eduardo Amador
menu dialog bolt
Menu items opens content in a dialog
Bolt module that allows you to open content type "pages" within a dialog on a button click event., (*1)
$ composer require eamador/bolt-dialog-pages
# from a bolt project root path $ cd extensions # only if directory does not exist already $ mkdir locals # clone the repository $ git clone git@github.com:eamador/bolt-dialog-pages.git
Manage the dialog-pages buttons from http://your-bolt-url.dev/bolt/extend/dialog-pages Click on the "New" link, you will see a small form with: - A dropdown where your existing contentypes pages will appear, choose the desire one - Input text, this will appear as the button label. - Add it in your template, wherever you want to display all the buttons (for example in _header.twig):, (*2)
{{ get_dialog_buttons() | raw }}
Menu items opens content in a dialog
MIT
menu dialog bolt