Custom subtheme of Social Blue does gives issues with Book page display

Created on 29 January 2023, over 2 years ago
Updated 30 January 2023, over 2 years ago

When creating a subtheme by copying Social Blue, renaming all files and text mentions of the theme name according to best practices, the display of a book page misses the header blocks.

🐛 Bug report
Status

Needs review

Version

11.6

Component

Front-End

Created by

🇳🇱Netherlands Yuri

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

Comments & Activities

  • Issue created by @Yuri
  • First commit to issue fork.
  • Assigned to himanshu_jhaloya
  • 🇮🇳India himanshu_jhaloya Indore

    I have created the sub-theme I followed these steps. the display of a book page misses the header blocks it might be the cause of the issue if the region's name conversion can be an issue.

    name: subtheme_name subtheme
    type: theme
    base theme: subtheme_name
    description: 'subtheme_name front-end theme subtheme.'
    core_version_requirement: ^8 || ^9
    libraries:
    - subtheme_name/global-styling
    regions:
    header: Header
    primary_menu: 'Primary menu'
    secondary_menu: 'Secondary menu'
    hero: 'Hero (full width)'
    highlighted: Highlighted
    breadcrumb: Breadcrumb
    social: Social Bar
    content_above: Content Above
    content: Content
    sidebar: 'Sidebar'
    content_below: 'Content Below'
    footer_top: 'Footer Top'
    footer_bottom: 'Footer Bottom'

  • Issue was unassigned.
  • Status changed to Needs review over 2 years ago
  • 🇳🇱Netherlands Yuri

    @himanshu_jholoya I don't think the regions set in info.yml are the issue, since they appear correct.

    What I do think, is that apart from the socialblue theme code, there are dependencies on the socialblue theme inside the opensocial distribution code.

    I did a search for 'socialblue' in the source code of social 11.6.3 https://www.drupal.org/project/social/releases/11.6.3 (using dnGrep) and this had a lot of results.

    I actually think that this is not only an issue for the Books page, although I did not yet did research on other differences between the copied theme and original socialblue theme when installed.

    See attached the search results: https://www.drupal.org/files/issues/2023-01-30/Grep%20of%20socialblue%20...

Production build 0.71.5 2024