gebeer Posted July 21 Posted July 21 Hi @bernhard, I just upgraded RPB from v5.x to latest 6.6.0. The custom thumbnails links are broken, even after a Modules Refresh. They have a wrong path .../modules/RockPageBuilder/... That path doen't exist and should be .../modules/RockFields/buttons..., I guess. Problem seems to be in RockFields/buttons/preview.php L5 After changing this to $url = wire()->config->urls->siteModules . 'RockFields/buttons/'; it is working
bernhard Posted July 21 Posted July 21 Hey @gebeer RockFields is part of RockPageBuilder and should not be in /site/modules/RockFields but in /site/modules/RockPageBuilder I think you have a custom folder structure that is not intended. This is how it should be:
gebeer Posted July 21 Author Posted July 21 Never had that folder. It was always RockFields. After module upgrade I have a .RockFields folder with the old version. But neither on install of RPB nor on upgrade a RockPageBuilder Folder was created.
bernhard Posted July 21 Posted July 21 If all RockPageBuilder files are in /site/modules/RockFields please just rename that folder to /site/modules/RockPageBuilder and you should be fine 🙂
gebeer Posted July 21 Author Posted July 21 2 minutes ago, bernhard said: If all RockPageBuilder files are in /site/modules/RockFields please just rename that folder to /site/modules/RockPageBuilder and you should be fine 🙂 Thanks. I did that and then got this: After 2 Module refreshes that was sorted. But the rockpagebuilder_blocks field Fieldtype changed to text and I had to set it back to RockPageBuilder. Fortunately there was no data loss for existing blocks :-) In 6.x there must be some breaking changes, I remember. But I can't find documentation or upgrade instructions in the docs. Is that documented somewhere else?
bernhard Posted July 21 Posted July 21 The only breaking change in v6 was the changes introduced in RockFrontend regarding ->styles() and ->scripts(), see https://www.baumrock.com/en/processwire/modules/rockfrontend/docs/asset-tools/#upgrade-guide If you need help just let me know!
gebeer Posted July 21 Author Posted July 21 14 minutes ago, bernhard said: The only breaking change in v6 was the changes introduced in RockFrontend regarding ->styles() and ->scripts(), see https://www.baumrock.com/en/processwire/modules/rockfrontend/docs/asset-tools/#upgrade-guide If you need help just let me know! Thank you. Already got that one :-)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now