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

dev-master 2016-10-04 09:47 UTC

This package is not auto-updated.

Last update: 2024-04-27 17:26:20 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

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 }}