4.80.0 Upgrade

Monday, November 25, 2024 1:47:07 PM
  • Posted: Thursday, October 15, 2020 2:35 PM
  • 23
I have seen the last release 4.80.00, I suppose you have to upgrade all themes before start to migrate on it, do we have something to follow to upgrade from 4.70?

Cheers,

Cédric
0
  • Posted: Friday, October 16, 2020 5:32 AM
  • 953
Hello Cedric,

We will update our products within 2-3 weeks I suppose. I will also publish today an article, how to upgrade themes from 4.70 to 4.80.0 version.
Best regards,
Patryk

GrandNode Team
0
  • Posted: Sunday, December 6, 2020 11:27 PM
  • 3
Hi,

have you managed to update your themes?
And can you tell me how to turn on the dark mode in the admin portal? I checked the checkbox up there, but nothing changed. (I have updated from 4.6 to 4.8, I pulled the code, build locally and copy files on my VM)
0
  • Posted: Monday, December 7, 2020 6:48 AM
  • 953
Hi Krzysiek,

In the case of dark theme and styles, I will answer you in the second topic.

In the case of theme upgrade, there are a few things to cover:
1. You need to change all references from Grand.Core.Domain  to Grand.Domain.
2. Some of the Html. extensions was changed into pagebuilder. - in that case the best way is to compare your file to the original one and change it.
3. Navigation elements, where you can find pagination should looks like this one:
<page-navigation asp-query-param="pagenumber" asp-pagination="Model.PagingFilteringContext" />
4. Check also the Index.cshtml file, we've added OG Tags there.
5. We've removed also the HTML extensions from GetTopicSeName - you can check the whole commit here.
6. Instead of @Html.BBCodeEditor(webHelper, "Text") you should use the new tag helper - <bbc-code asp-name="Text" />

I guess these are the most important changes, all you need to change depends on how many custom views you use. The more complex is template, the more changes you need to cover during the upgrade.

If above listed things are not enough to run it, if you rebuild Grand.Web project with your theme, you will see the all errors in the output that need to be fixed.

Best regards,
Patryk

GrandNode Team
0
back to top
Filters