Episode Links
Package Script Writer with same options selected
uSync
https://marketplace.umbraco.com/package/usync
The Dashboard
https://marketplace.umbraco.com/package/our.umbraco.thedashboard
Skybrud Redirects
https://marketplace.umbraco.com/package/skybrud.umbraco.redirects
GitHub Repo
🐙 GitHub
https://github.com/prjseal/Umbraco-13-Series/
📝 Guest Book
https://github.com/prjseal/Umbraco-13-Series/issues/1
Get Help
💬 Discord
🗣️ Facebook Group
https://www.facebook.com/groups/umbracowebdevs
🐘 Mastodon
https://umbracocommunity.social/
🗨️ Umbraco Forum
https://our.umbraco.com/forum/
☕Buy me a coffee
Code
Freelancer.csproj
<PackageReference Include="Our.Umbraco.TheDashboard" Version="13.0.1" />
<PackageReference Include="Skybrud.Umbraco.Redirects" Version="13.0.4" />
<PackageReference Include="uSync" Version="13.2.4" />
DashboardsComposer.cs
using Our.Umbraco.TheDashboard.Counters.Implement;
using Our.Umbraco.TheDashboard.Extensions;
using Umbraco.Cms.Core.Composing;
using Umbraco.Cms.Core.Dashboards;
namespace Freelancer.Composers;
public class DashboardsComposer : IComposer
{
public void Compose(IUmbracoBuilder builder)
{
builder.Dashboards().Remove<ContentDashboard>();
builder.TheDashboardCounters().Remove<MembersTotalDashboardCounter>()
.Remove<MembersNewLastWeekDashboardCounter>();
}
}
en.xml
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<language alias="en" intName="English (UK)" localName="English (UK)" lcid="" culture="en-GB">
<area alias="dashboardTabs">
<key alias="redirects">Manual Redirects</key>
<key alias="Skybrud.Umbraco.Redirects">Manual Redirects</key>
</area>
<area alias="redirects">
<key alias="redirects">Manual Redirects</key>
</area>
</language>
en-US.xml
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<language alias="en_us" intName="English (US)" localName="English (US)" lcid="" culture="en-US">
<area alias="dashboardTabs">
<key alias="redirects">Manual Redirects</key>
<key alias="Skybrud.Umbraco.Redirects">Manual Redirects</key>
</area>
<area alias="redirects">
<key alias="redirects">Manual Redirects</key>
</area>
</language>
en.user.xml
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<language alias="en" intName="English (UK)" localName="English (UK)" lcid="" culture="en-GB">
<area alias="redirectUrls">
<key alias="redirectUrlManagement">Automatic Redirects</key>
</area>
<area alias="dashboardTabs">
<key alias="contentRedirectManager">Automatic Redirects</key>
</area>
</language>
en-US.user.xml
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<language alias="en_us" intName="English (US)" localName="English (US)" lcid="" culture="en-US">
<area alias="redirectUrls">
<key alias="redirectUrlManagement">Automatic Redirects</key>
</area>
<area alias="dashboardTabs">
<key alias="contentRedirectManager">Automatic Redirects</key>
</area>
</language>
reusableContent.cshtml
@inherits UmbracoViewPage<Umbraco.Cms.Core.Models.Blocks.BlockGridItem<ContentModels.ReusableContent>>
@{
if (Model?.Content?.ContentItem is null) return;
}
@await Html.GetBlockGridHtmlAsync(Model.Content.ContentItem, "mainContent")
usync appsettings.json
,
"uSync": {
"Settings": {
"ExportOnSave": "Settings"
}
}
LoginBackgroundImage appsettings.json
,
"LoginBackgroundImage": "/img/login-background-image.jpg"