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
4.80.0 Upgrade
Monday, November 25, 2024 1:47:07 PM
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)
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
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.
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
Patryk
GrandNode Team
0