Drupal Block
The Drupal Block component allows the user to select bespoke functionality to be displayed on the page.
- Overview
- Usage
Drupal Block
| Component item | Requirement & purpose | Optional or mandatory | CMS options |
|---|---|---|---|
| Select block | Controls which block is placed on the page. | Mandatory | Select block from a drop down list. |
| Layout style | Sets a layout style for the block. | Optional | Select from a drop down list. |
Following options will visible only for Product list col2, Product list col3 and Product list col4
| Hide Description | Allow editor to hide product description | Optional | Toggle Button |
| Hide Buttons | Allow editor to hide product buttons | Optional | Toggle Button |
| Hide review/ratings | Allow editor to hide product review/ratings | Optional | Toggle Button |
| Product teaser two column layout on mobile | Allow editor to enable two column layout at mobile break-point | Optional | Toggle Button |
| Heading Font Size | Allow user to set font-size for mobile break-point. This field will only be visible when Product teaser two column on mobile is enabled | Optional | Range Slider |
| Override Social Media icon color | To override social media icon color | Optional | Toggle |
| Social Media Icon color | To choose color based on the toggle | Optional | Color field |
| Choose Button Style for Submit Button (Gigya Signup/Login Form) | Allow user to select button style for Gigya login form's submit button | Optional - based on the selection of Gigya login block | Drop-down list |
General usage dos and don'ts
| ✅ Dos | ❌ Don'ts |
|---|---|
| Only pick a layout style that is associated with the selected Drupal Block. | Do not select a layout style that is associated with anything else other than the block selected. |