Closed (outdated)
Project:
Bootstrap Paragraphs
Version:
8.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Apr 2017 at 19:16 UTC
Updated:
8 Aug 2017 at 16:25 UTC
Jump to comment: Most recent
Comments
Comment #2
thejimbirch commentedSince we needed to change the machine names of all of the fields and bundles to avoid conflicts with distributions, or people adding this on to existing sites, one would have to write update scripts to rewrite those machine names directly in the database. Unfortunately, that is beyond my skill set.
However, let me propose this solution to you.
You can uninstall the module and keep all of the functionality by moving a few things to your theme.
All of the fields and bundles get added into your database and configuration management. So you would just need to move the templates to the templates folder in your theme. In each of the paragraphs templates, remove the following line:
{{ attach_library('bootstrap_paragraphs/bootstrap-paragraphs') }}Then, move the two CSS files into your theme, and call them from you theme's library file.
I haven't tried it yet, but that should work. Please take a database backup before you try this at home kids!
Also, I did release a beta2 and beta3 that fixed any open bugs before I made the 2.0 release. You can find that here:
https://www.drupal.org/project/bootstrap_paragraphs/releases/8.x-1.0-beta3
Comment #3
kslagboom commentedThanks Jim, I will give it a go and report back on the process.
Comment #4
kslagboom commentedCan confirm this process works. I have uninstalled Bootstrap Paragraphs 8.x-1.0 B3, moved the theme files and css files into my them, made the changes as above,
Have not attempted to migrate to Bootstrap Paragraphs 8.x-2.x yet.
Comment #5
brandonratz commented@kslagboom, Lets share progress on this and write some documentation if we come to a quality solution. Moving forward, this will be a necessity for me as I have production sites using 1.x.
Comment #6
thejimbirch commented@brandonratz
I added the steps to my presentation
https://youtu.be/kgfvH3OstSE?t=1626
I'll probably add more documentation to the demo site, but need to decompress from DrupalCon first.
Comment #7
brandonratz commentedHey Jim,
I figured you'd need some downtime post DC18. I'm about 30 minutes into the presentation. It helps explain some of the choices you've made, good job!
Feel free to connect with me directly and I'll assist in any way I can. Any interest in creating a #bootstrap-paragraphs channel in Drupal Slack (drupal.slack.com)?
Comment #8
thejimbirch commentedComment #9
duntuk commentedWhy is this marked "(outdated)"?
Unless there is another (better) solution, this shouldn't be labeled as "outdated".
Comment #10
thejimbirch commentedHi duntuk,
There is no upgrade path from 1.x to 2.x. Since we needed to change the machine names of all of the fields and bundles to avoid conflicts with distributions, or people adding this on to existing sites, one would have to write update scripts to rewrite those machine names directly in the database. Unfortunately, that is beyond my skill set.
You can uninstall the module and still retain all the functionality. Then you won't lose any content.
Hope that helps.
Jim