faithcatholic / multibanner
Flexible, responsive banner.
Installs: 1 457
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
Type:drupal-module
README
###How to Configure Multibanner
- Modules: Require multibanner module, multibanner_default module, inline_entity_form module, and unslider library in project composer.json
- Install the modules.
- Set "multibanner" entity permissions
- Create multibanner entity types if not already present.
- Add field_multibanner to desired node type, and leave field setting defaults, so that: a) "Required field" is left unchecked (although it CAN be checked) b) "Reference method" is "default" c) "Create referenced entities if they don't already exist" is unchecked d) Check appropriate multibanner entity types to include e) "Sort by" is empty
- Add field_multibanner_layout to desired node type a) "Required field" is checked (although it CAN be unchecked to allow users to disable node banners where banners are indeed referenced!) b) "Default value" is set to "Default"
- Set node form display so that: a) field_multibanners is a "Inline entity form - Complex" that: i) Form mode is "default" ii) "Allow users to add new banner entities" is checked iii) "Allow users to add existing banner entities" is checked iv) "Autocomplete matching" may be anything
- Set node view display(s) so that: a) field_multibanner and field_multibanner_layout (if present) are completely hidden
- Set multibanner blocks to desired region(s) a) Visiblity settings are optional
Note: Focal point module is not installed. To use it, require and enable focal point. Then create and image style using focal point, and then under "Admin > Structure > Multibanners > Some type > Manage Display" set the appropriate image field to use the focal point image style image formatter.