... | ... | @@ -55,13 +55,34 @@ Sometimes we want to be able to have more control on the padding above/after con |
|
|
|
|
|
https://civicrm.org/node/6286
|
|
|
|
|
|
# Menus and Breadcrumbs
|
|
|
|
|
|
By default, Drupal8 generates breadcrumbs based on the path (URL) of the page.
|
|
|
|
|
|
This poses a bit of a challenge, since:
|
|
|
|
|
|
* We have a lot of pages that start at the root, ex: `/code-of-conduct` (even if attached to a parent via the menu)
|
|
|
* We want to get rid of the 3rd menu level, so the breadcrumb is important for navigation
|
|
|
|
|
|
Some pages have been moved (ex: those under 'about'), but it's not always obvious where a page should be placed. Examples:
|
|
|
|
|
|
* /code-of-conduct
|
|
|
* /trademark
|
|
|
* /terms-of-use
|
|
|
|
|
|
Most of these are currently under `/get-involved`, but some might make more sense under `/about` ?
|
|
|
|
|
|
Ideally we would use [menu_breadcrumb](https://drupal.org/project/menu_breadcrumb), but it does not seem to be working?
|
|
|
|
|
|
# Pages currently served from Drupal 8
|
|
|
|
|
|
* https://civicrm.org/esr
|
|
|
* https://civicrm.org/explore-civicrm (only partially converted to Gutenberg)
|
|
|
* https://civicrm.org/explore-civicrm (80% converted to Gutenberg)
|
|
|
* https://civicrm.org/about (and most sub-pages)
|
|
|
* https://civicrm.org/spark
|
|
|
|
|
|
Pages in Drupal8 have a `[D8]` indicator in the footer of the page.
|
|
|
|
|
|
# Viewing the old page
|
|
|
|
|
|
Once a page has been migrated to Drupal8, we may want to be able to access it later on in order to compare with how it was before.
|
... | ... | |