Open psntr opened 2 years ago
Thanks for asking. You pointed out most steps needed. This is what i would do but i have not tested it myself.
Boostid:
to Uuid:
in all content files. kirby should be fine with the boostids not matching their uuid string length.use\Bnomei\PageHasBoost;
to use \Bnomei\ModelHasBoost;
->fromBoostID()
to ->toPageBoosted()
and ->fromBoostIDs()
to ->toPagesBoosted()
debug => true
in options to clear most caches and run BoostIndex::singleton()->flush()
once (later does not auto clear on debug)composer remove
and then add it again after upgrading kirby.debug => false
in optionsThank you for the clarifications. I will try that locally and let you know if that works. In the meantime, I'm trying to interact with the new collections files you added, but by using the example here, I have this error:
array_values(): Argument #1 ($array) must be of type array, Kirby\Cms\Pages given
in line 30. Does that happen on your side too?
Finally had time to try to update one website. I can tell that it works as expected also the related fields worked. But I ran into few troubles when I had to rename the fields. So make sure to have backups.
Hello,
I was wondering if there is a specific steps to take in order to update the plugin in accordance with the latest Kirby release (+3.8.0), specifically related to the use of UUID, from my understanding, we don't need to provide the field:
on the page we want to use boostID with? There seems to have few changes I wonder if the changes might break current website if I blindly update Boost and Kirby?
Changes I meant are for the page models:
use \Bnomei\PageHasBoost;
touse \Bnomei\ModelHasBoost;
or the->fromBoostIDs()
to->toPagesBoosted()
Any recommendations would be appreciated. Thank you!