wieni/wienimal

This package is abandoned and no longer maintained. No replacement package was suggested.

A nice admin experience for Drupal 8, finally.

Maintainers

Details

github.com/wieni/wienimal

Source

Installs: 1 458

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 1

Language:CSS

Type:drupal-theme

1.1 2017-01-03 15:51 UTC

README

Aimeos logo

Wienimal

Latest Stable Version Total Downloads License

A nice admin experience for Drupal 8, finally.

screenshot

Installation

  1. Install the theme using composer require wieni/wienimal
  2. Enable the theme using drush en wienimal
  3. To activate the administration theme, navigate to Appearance, scroll to the bottom of the page and find the section called Administration Theme.

This theme uses a seperate module which is installed automatically, but has to be enabled manually by running drush en wienimal_services. The module contains some essential helper services and is required for Wienimal to function correctly.

Configuration

This theme does not include a form to configure certain features. Instead, values have to be changed directly inside the wienimal.settings.yaml file inside the config/sync folder.

Features

A modern, minimal theme

Better page titles

Titles on certain backend pages are changed to be more descriptive by including the content type.

Currently, the theme changes titles on the following routes (if available):

node.add
system.admin_content
entity.taxonomy_term.add_form
entity.taxonomy_vocabulary.overview_form
eck.entity.add
eck.entity.collection.list

This functionality can be turned on/off by changing the value in the config file:

page_title_changes: true

Cancel buttons

Wienimal adds the ability to add Cancel buttons to certain backend forms.

Just put an array of form ID's under the forms_cancel_button: key in the config file, like this:

forms_cancel_button:
  - node.add
  - node.edit
  - node.type_add

Save and Continue buttons

Wienimal adds the ability to add Save and Continue buttons to certain edit forms.

Just put an array of form ID's under the forms_save_continue_button key in the config file, like this:

forms_save_continue_button:
  - node.edit
  - entity.taxonomy_term.edit_form

Select2 support

Select boxes are automatically converted to Select2, giving them better styling and search functionality.

The containerCssClass config option is set to :all: which puts the css classes from the original select tag on the Select2 container.

Maxlength support

This theme has built-in support for the Maxlength module, which allows you to set maximum length of any field on any form making use of the form API.

Just enable Maxlength support on any supported form field by following the steps in the module documentation, and Wienimal will apply custom styling and a custom label.

... and more

  • Automatically redirect to the content overview after submitting a node add/edit form