Converting old Razor script to Partial View macros
I upgraded an Umbraco 6.2.4 project to 7.2.4 and I changed my old macros to partial view macros. These macros were used in RTEs on many different pages. Now, the macros are not rendered in the RTEs or the frontend.
This is how the macro used to be in the RTE:
Converting old Razor script to Partial View macros
I upgraded an Umbraco 6.2.4 project to 7.2.4 and I changed my old macros to partial view macros. These macros were used in RTEs on many different pages. Now, the macros are not rendered in the RTEs or the frontend.
This is how the macro used to be in the RTE:
And now they are just commented out.
If I add them again they work fine and they look like this:
Is there a way to convert this without having to add them manually ?
Interesting! As you've observed, the syntax hasn't really changed, so I think it might just be a re-publishing problem?
Try going to your Umbraco's republish dialog like this (but change 'yoursite.example') http://yoursite.example/umbraco/dialogs/republish.aspx?xml=true and click on OK.
Maybe that will fix it, maybe it won't :)
Ste
It didn't help. It's still the same.
But thank you for writting :)
Carmen
is working on a reply...