How to manually run upgrade() method contained in main MyPackage controller?
Permalink
My problem:
I'm adding a single_page on top of an existing package. I've come across advice that shows how to (re)write custom upgrade method for adding a single_page.
But, I'm not sure how to run that method? This is third-party package and the way I already tried didn't work for me.
What I did was:
1) changed package version to trigger "Update available" in the Dashboard
2) That worked - the message really showed up but upon clicking it, it took me to the C5 marketplace.
I don't need that - I just want to be able to call upgrade() method so it can execute and create the new single_page
I'm adding a single_page on top of an existing package. I've come across advice that shows how to (re)write custom upgrade method for adding a single_page.
But, I'm not sure how to run that method? This is third-party package and the way I already tried didn't work for me.
What I did was:
1) changed package version to trigger "Update available" in the Dashboard
2) That worked - the message really showed up but upon clicking it, it took me to the C5 marketplace.
I don't need that - I just want to be able to call upgrade() method so it can execute and create the new single_page
have you tried to add the single page manually?
Greets