Guidance upgrading a custom Bs4 theme generated from VBs4 to Bs5

Created on 20 August 2024, 3 months ago
Updated 27 August 2024, 3 months ago

Problem/Motivation

hi

As stated in the title i need help or guidance on how to upgrade my custom BS4 theme generated with VBs4 to BS5.

My actual Profile is :

- varbase-9.1.3
- VBS4 9.0.29
- Dr 10.3.1

Thanks

💬 Support request
Status

Active

Version

9.0

Component

Miscellaneous

Created by

🇧🇯Benin delacosta456

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

Comments & Activities

  • Issue created by @delacosta456
  • 🇧🇯Benin delacosta456

    after trying a manual upgrade (as describe in vardocs) of Varbase from 9.14 to 10.0.1 i am getting error message in terminal (when i run drush updb command) where previously generated custom theme needed Vartheme_bs4 on which the theme was based. During Varbase upgrading process the Vartheme_bs4 was replaced with Vartheme_bs5

    So how to deal with this

  • 🇯🇴Jordan Rajab Natshah Jordan

    Thanks, for filing the issue.

    No guide for upgrading yet!
    Drafting that now. ( could be added to Varbase Docs)

    Hints

    • Varbase Theme (Bootstrap 5 - SASS) ~1.0 is almost the same as BS4 with Barrio 5 ( But no longer supported or maintained )
    • Varbase Theme (Bootstrap 5 - SASS) ~2.0 Using components - not using Barrio -
    • Varbase Theme (Bootstrap 5 - SASS) ~3.0 Using SDC from Drupal 10.3 Core

    Directions

    If you are using Varbase ~9.1.0, you could use Barrio Bootstrap 5 Theme as your base theme.
    Vartheme BS4 is a starterkit sub theme of Barrio Bootstrap 5 theme
    Vartheme BS5 the 1.0.x branch was a plan for a sub-theme of Barrio.
    You could copy its code and use it as an update to BS5.

  • 🇧🇯Benin delacosta456

    hi @rajab-natshah

    Thanks for taking care of this.

    Actually to continue the upgrade process at the drush updb step of Vardocs and bypass the error i am seeing (IMHO a mojor issue in case of a lot of existing customization) i run composer require 'drupal/vartheme_bs4:~9.0' as a workaround.

    Until a guidance is ready i will be testing the consequences of my workaround and let you know.

    Thanks

Production build 0.71.5 2024