Hello dear Community,
I am seeking advice for the following issue:
I plan to upgrade a website from 8.5.7 to 9.4.7. The current site uses a theme that comes with a few blocktypes which are all prefixed with the theme handle, like “themehandle_blocktypename”.
The Theme does not exist as being “Version 9 ready”, so I want to change to a selfbuilt, bedrock-based theme. I want to build the theme, create all necessary pagetypes and blocktypes, run the update and change to the new theme.
Now - for a smooth transition, of course it would be best if the blocktypes just exist in the new theme, but as the blocktypehandles contain the themehandle, this seems messy, as I would have “btThemehandleBlockhandle” in the database, even if the new theme (which I am building myself) will have another name/handle.
What do you suggest? I see these options:
- Rebuild the necessary blocks, keep the old themehandle and accept the mix of handles (looks messy / inconsistent)
- Rebuild the necessary blocks, change the block/themehandle in files and database (fiddly work with many possible errors)
- Manually change to blocktypes that come with the bedrock/atomik based theme (horrible much manual work)
What do you think?
Thanks for your feedback!