DrewBrasher.OrchardCore.ContentWarning
0.1.0
See the version list below for details.
dotnet add package DrewBrasher.OrchardCore.ContentWarning --version 0.1.0
NuGet\Install-Package DrewBrasher.OrchardCore.ContentWarning -Version 0.1.0
<PackageReference Include="DrewBrasher.OrchardCore.ContentWarning" Version="0.1.0" />
paket add DrewBrasher.OrchardCore.ContentWarning --version 0.1.0
#r "nuget: DrewBrasher.OrchardCore.ContentWarning, 0.1.0"
// Install DrewBrasher.OrchardCore.ContentWarning as a Cake Addin #addin nuget:?package=DrewBrasher.OrchardCore.ContentWarning&version=0.1.0 // Install DrewBrasher.OrchardCore.ContentWarning as a Cake Tool #tool nuget:?package=DrewBrasher.OrchardCore.ContentWarning&version=0.1.0
Content Warning Module
An Orchard Core CMS Module that allows you to put a content warning around some content so that users can decide if they want to see it or not.
There is a discussion about this module here: https://github.com/OrchardCMS/OrchardCore/discussions/13643
Usage
Shortcode
[content_warning 'warning-message'] some sensitive content [/content_warning]
or
[cw 'warning-message'] some sensitive content [/cw]
Credits
The JavaScript and CSS are based on the https://www.aaron-gustafson.com/notebook/considering-content-warnings-in-html/ blog post by Aaron Gustafson.
I started this module in an Ochard Core Pair Programming by Lombiq session with Zoltán that was live streamed here: https://www.youtube.com/watch?v=ECEbkLSOqLQ
We will be doing another live session at 5pm UTC on May 28th, 2024. You can watch it here: https://www.youtube.com/watch?v=SmvLpAfyEHI
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- OrchardCore.ContentManagement (>= 1.8.3)
- OrchardCore.ContentTypes.Abstractions (>= 1.8.3)
- OrchardCore.DisplayManagement (>= 1.8.3)
- OrchardCore.Module.Targets (>= 1.8.3)
- OrchardCore.Shortcodes.Abstractions (>= 1.8.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.