localgovdrupal / localgov_microsites

A repository for the LocalGov Drupal Microsites project.
GNU General Public License v2.0
3 stars 2 forks source link

Set default blocks #61

Closed ekes closed 2 years ago

ekes commented 2 years ago

When installing the profile - or when installing the theme?

finnlewis commented 2 years ago

@markconroy could you confirm any specifics that need thought?

finnlewis commented 2 years ago

@stephen-cox while looking at this, @ekes has added a block of admin links for the microsite admin on a site, to be able to get quickly back to manage content . users etc.

https://github.com/localgovdrupal/localgov_microsites_group/blob/1.x/src/Plugin/Block/MicrositeTasksBlock.php

It would be good to have this placed somewhere appropriate. Above the header perhaps?

markconroy commented 2 years ago

It's probably worth placing it in the "tabs" region, and we can style it the same as the tabs

stephen-cox commented 2 years ago

This PR places the Microsite Task block in the tabs region: https://github.com/localgovdrupal/localgov_microsites_base/pull/11

markconroy commented 2 years ago

That's merged now @stephen-cox