-
Notifications
You must be signed in to change notification settings - Fork 1
Add footer regions to footer templates #112
Conversation
|
@andybroomfield is the intention to eventually include the blocks as config? I know that we can include config with the theme and it gets pulled in on installation |
|
@paulpopus Yes, though whether in the theme or in localgov_core is an open question and if we want to recreate the blocks exactly or have a settings page of the data. For now the powered by localgov block is part of localgov_core and copyright block can be used for the copyright statement and footer menu for the menu. The rest can just use custom blocks until we can make something configurable. |
| </div> | ||
| </div> | ||
| </div> | ||
| </nav> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I can't find the closing nav tag :(
|
Hi Andy,
This is quite different from the approach taken in this pull request. So possibly too late but I thought I will bring it to your attention anyway. The rational behind this approach is to keep the layout open to anything that Bootstrap can achieve rather than having multiple regions of fixed width. |
| footer_third: "Footer third" | ||
| lower_footer_first: "Lower footer first" | ||
| lower_footer_second: "Lower footer second" | ||
| lower_footer_third: "Lower footer third" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FAO @Adnan-cds New footer regions declared here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The footer solution for the localgov_theme is clearly broken.
Hi Andy, I was referring to the current master branch. Sorry, should have been clearer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:-)
Hi @Adnan-cds thanks for the suggestions. I think we also have to consider this being used by non experinced / first time themers and thats quite a lot just to get started. The soloution here is simmilar to many Drupal themes, like Bootstrap Barrio, which give a fixed set of regions to drop blocks into. If someone was comftable setting up extra modules and block class, they are very likley making a child theme that goes beyond changing colours and fonts and so will override the footer.html.twig template to their exact taste anyway. I think it would be useful to set some guidance on what we are expecting the base theme to provide and the technical expertise we expect from the people using it. Thoughts from others welcome. |
Add 6 footer regions (3 upper and 3 lower). Use markup same as template to wrap regions
5e23427 to
2c4f6aa
Compare
|
Merging in the footer regions, Will add new issue in localgov_core to recreate the blocks. |
Fix #96.
This will replace the footer markup with Drupal regions.
Add 6 footer regions (3 upper and 3 lower).
Use markup same as template to wrap regions
Note: This does not recreate the blocks, so custom blocks will have to be created.