Updating Back to top from v2.0.0 to v3.0.0 for Drupal 10 readiness

Created on 1 November 2023, about 1 year ago

Problem/Motivation

Currently the dependency notes for Version 3.0.0 says:

Removed dependencies of jquery ui, jquery ui effects (you may have to uninstall these modules if upgrading from 2.x)

I recommend that somewhere in the documentation something like the following be added.....

To be more specific, you must either use a terminal of the UI to do the following:

  1. In the UI, Using the Extend > Uninstall page (/admin/modules/uninstall).
  2. Uninstall first the Back to top module.
    Don't worry, your settings will still be there when you re-install it later.
  3. Next uninstall the JQuery UI Effects module.
    Ignore the suggestion in the version notes to do anything with the JQuery UI module as it has too many of it's own dependencies.
  4. In the terminal, run composer require 'drupal/back_to_top:^3.0' to install the version compatible with Drupal: ^9 || ^10.
    This will remove the JQuery UI Effects module from your file set.
  5. Finally return to the Extend (List) page and re-install the Back to top module.
    Now version 3.0.0. sans the Jquery UI Effects dependency.
  6. Update your database and clear caches.
  7. When you return to the Back to top configuration page you will see that all is back as before but you are one step closer to updating your Drupal to version 10.x

Notes:

  • If you update the Back to top module without uninstalling the Jquery UI Effects, you will not be able to update your database due to a "Mismatched entity and/or field definitions" issue and will need to reinstall Back to top 2.0.0 and follow the above to rectify the problem!
  • I am working with Drupal version 9.5.11 and all works fine, so presumably the same will be true in Drupal 10.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

3.0

Component

Documentation

Created by

🇺🇸United States bas123

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

Comments & Activities

Production build 0.71.5 2024