use book with dxrp

Created on 22 June 2023, over 1 year ago
Updated 11 October 2023, about 1 year ago

Problem/Motivation

i use dprx theme for book, 2 issues:

  1. navigation menu in side bar both don't apear if alone ( with another bloc it's ok)
  2. the navigation block for the footer of book don't have the corect css

Steps to reproduce

Dxpr_theme 5.1.0 (Bootstrap5 base theme 3.0.8) -- not in sub theme
drupal 9.5.9

activate and create book and some node, use dprx for theming, add block nav in manage block of theme and footer navigation in display block of node

Proposed resolution

i shearch...

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

5.1

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • css of book:

    with bario theme i have this css:
    /themes/contrib/bootstrap_barrio/css/components/book-navigation.css

  • with dprx the block of the footer is :

    <nav role="navigation" aria-labelledby="book-label-36">
        
              <h2>Liens transversaux de livre pour Les modules spéciaux de l'environement DEV</h2>
          <ul>
                  <li>
              <a href="/book/node/0" rel="prev" title="previous"><b>‹</b> xxxx</a>
            </li>
                        <li>
              <a href="/book/node/1" title="Aller à la page parente">Haut</a>
            </li>
                        <li>
              <a href="/book/node/2" rel="next" title="next" <b>yyy</b></a>
            </li>
              </ul>
          </nav>

    and with bario:

    <nav id="book-navigation-36" class="book-navigation" role="navigation" aria-labelledby="book-label-36">
        
              <h2 class="visually-hidden" id="book-label-36">Liens transversaux de livre pour Les modules spéciaux de l'environement DEV</h2>
          <ul class="book-pager">
                  <li class="book-pager__item book-pager__item--previous">
              <a href="/book/installation-drupal-9-ou-10/installation-du-code-composerjson" rel="prev" title="Aller à la page précédente"><b>‹</b> Installation du code avec composer.json</a>
            </li>
                        <li class="book-pager__item book-pager__item--center">
              <a href="/book/installation-drupal-9-ou-10/installation-du-code-composerjson" title="Aller à la page parente">Haut</a>
            </li>
                        <li class="book-pager__item book-pager__item--next">
              <a href="/book/installation-drupal-9-multi-environmentssites-laide-du-cpanel/installation-des-sites-dev" rel="next" title="Aller à la page suivante">Installation des sites dev-* <b>›</b></a>
            </li>
              </ul>
          </nav>
Production build 0.71.5 2024