eamador / bolt-dialog-pages
Menu items opens content in a dialog
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:bolt-extension
Requires
- bolt/bolt: ^3.0
Requires (Dev)
- phpunit/phpunit: ^4.7
This package is not auto-updated.
Last update: 2025-05-10 23:00:34 UTC
README
Bolt module that allows you to open content type "pages" within a dialog on a button click event.
Installation
Via composer
$ composer require eamador/bolt-dialog-pages
Clone
# 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
Install extension in Bolt backend
- Go to http://your-bolt-url.dev/bolt/extend
- In the right side, find Maintenance section, open the dropdown and click on "Install all packages"
Configuration
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):
{{ get_dialog_buttons() | raw }}