Problem/Motivation
Reported and provided by Yasmeen
Varbase media header do we have the option to display the default drupal breadcrumbs block
I need to display the breadcrumb below the media header
Steps to reproduce
Proposed resolution
- Proposed by Yasmeen: Adding checkbox config to allow the user to hide the breadcrumbs from varbase media header
Other options listed by Rajab
We do have something like 3 types of general configs for the Varbase Media Header
- Varbase Media header setting page. The list of content types with activated options.
- Varbase Media Hader Block to select which media field to use for the header media. and to place the block in the desired region.
- Editor Content option to select the style of Media Header or Standard ( or more in the list if added ).
More General or Default styling configs could be added to support other Default Style in the 3 types
- About the settings page for Varbase Media Header ( Not with adding more config/ general default setting in this option to effect all the site )
- More Block options next to each content type. ( With this option for selecting the default style ) With this option - for selecting the default media header option not to do this on each edit of content. ( It could be changed in the media header styling option field settings in the content type)
- The Media Header styling option filed in the content. was made to add new styling templates.. it will point to the twig template file ( We may go and do this in each project if needed) Strongly with this option - Only add more default media header styles, we could copy them from projects. to let other projects use them in a quick time.
Wanted to do the config for each activated content type.I’m convinced that this is the simplest solution.
Agreed with Razem
User interface changes
When Default breadcrumbs option is not checked

When Default breadcrumbs option is checked

Root Section - When Default breadcrumbs option is not checked

Root Section - When Default breadcrumbs option is checked

Test Basic Page #1 title with Varbase Media Header and Breadcrumbs - When Default breadcrumbs option is not checked

Test Basic Page #1 title with Varbase Media Header and Breadcrumbs - When Default breadcrumbs option is checked

Root Section for standard Page header style


API changes
None
Data model changes
Add new Schema Config default_breadcrumbs
Drush updb is needed or go to "/update.php"

Comments
Comment #2
yasmeensalah commentedComment #3
rajab natshahComment #5
rajab natshahComment #6
rajab natshahComment #7
rajab natshahComment #8
rajab natshahComment #9
rajab natshahComment #10
rajab natshahComment #13
rajab natshahComment #14
rajab natshahComment #15
rajab natshahFeedback by Razem
Change
default_breadcrumbstohid_breadcrumbsComment #16
rajab natshahComment #17
rajab natshahComment #18
rajab natshahComment #21
rajab natshahComment #22
rajab natshahDrush updbis needed or go to"/update.php"Comment #25
rajab natshah