Skip to content

Commit

Permalink
Merge pull request #730 from Timo-Breumelhof/feature/dnn5-skos
Browse files Browse the repository at this point in the history
DNN 5 SKOs
  • Loading branch information
david-poindexter authored Oct 10, 2024
2 parents ef45cc0 + fd59bca commit 83512c9
Show file tree
Hide file tree
Showing 21 changed files with 870 additions and 61 deletions.
25 changes: 20 additions & 5 deletions content/tutorials/themes/theme-objects/breadcrumb/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@ locale: en
title: Breadcrumb Theme object
dnnversion: 09.02.00
previous-topic: theme-objects
next-topic: copyright
next-topic: contentpane
related-topics: theme-objects,themes,create-theme
links:
---

# Breadcrumb Theme Object Introduction

The Breadcrumb Theme Object displays the path to the currently selected page in the menu structure like this:
RootPage > SubPage > SubSubPage
The starting level, separator and styling are configurable.

The Breadcrumb Theme Object displays the path to the currently selected page in the menu structure like this:
RootPage > SubPage > SubSubPage
The starting level, separator and styling are configurable.


**Current Version:** 01.00.00

> [!NOTE]
Expand Down Expand Up @@ -43,17 +44,31 @@ The starting level, separator and styling are configurable.
| RootLevel | The root level of the breadcrumb links. | 1 | Valid values include:<br/>-1 : show word “Root” and then all breadcrumb tabs<br/>0 : show all breadcrumb tabs<br/>(Integer > 0) : skip n breadcrumb tabs before displaying | 01.00.00 |
| UseTitle | Use the PageTitle instead of PageName | False | True / False | 01.00.00 |





## Examples:

### Default
Default implementation.

~~~html
<dnn:Breadcrumb runat="server" id="dnnBreadcrumb" />
~~~


### Separator
Change the Separator used for Breadcrumbs

~~~html
<dnn:Breadcrumb id="dnnBreadcrumb" Separator=" > " runat="server" />
~~~


### Options
Change Separator, Css Class, Root Level and use Page Title instead of Page Name

~~~html
<dnn:Breadcrumb id="dnnBreadcrumb" Separator=">" CssClass="breadcrumb" RootLevel="1" UseTitle="true" runat="server" />
~~~
42 changes: 42 additions & 0 deletions content/tutorials/themes/theme-objects/contentpane/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
uid: contentpane
locale: en
title: Contentpane Theme object
dnnversion: 09.02.00
previous-topic: breadcrumb
next-topic: copyright
related-topics: theme-objects,themes,create-theme
links:
---

# Contentpane Theme Object Introduction

Injects a placeholder where u user with Page Edit Rights can insert DNN Modules(s).


**Current Version:** 01.00.00

> [!NOTE]
> You can give your panes any name (ID) you want, as long as it's a valid .NET ID
> [!NOTE]
> You have to include at least one Pane with the ID "ContentPane".
## Include in Theme

### ASCX
``` html

<div id=”ContentPane” runat=”server” />
```

### HTML Token
[CONTENTPANE]

### HTML Object Token
``` html
<object id="PaneName" codetype="dotnetnuke/server" codebase="CONTENTPANE">
```

| Attribute | Description | Default | Posssible Values | DNN Version |
| --- | --- | --- | --- | --- |
| ID | The content pane key identifier to be displayed in the user interface and stored in the database.<br/>Remark; "dnn_" will be added in front of the id you set. You should not use this ID to style your pane (the id is not the same in an HTML/ASCX skin and this might change in the future), use the CSS class to style content panes.<br/> | | Valid ID Name | 01.00.00 |
15 changes: 10 additions & 5 deletions content/tutorials/themes/theme-objects/copyright/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@ uid: copyright
locale: en
title: Copyright Theme object
dnnversion: 09.02.00
previous-topic: breadcrumb
next-topic: cssinclude
previous-topic: contentpane
next-topic: cssexclude
related-topics: theme-objects,themes,create-theme
links:
---

# Copyright Theme Object Introduction

Displays the copyright notice for the portal, which can be edited in the Website Settings.
You can use the [year] token to dynamically inject the current year

Displays the copyright notice for the portal, which can be edited in the Website Settings.
You can use the [year] token to dynamically inject the current year


**Current Version:** 01.00.00


Expand All @@ -37,6 +38,10 @@ You can use the [year] token to dynamically inject the current year
| --- | --- | --- | --- | --- |
| CssClass | The CSS Class of the copyright link | | | 01.00.00 |





## Examples:

### Default
Expand Down
19 changes: 12 additions & 7 deletions content/tutorials/themes/theme-objects/cssexclude/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@ uid: cssexclude
locale: en
title: CSSEXCLUDE Theme object
dnnversion: 09.02.00
previous-topic: cssinclude
next-topic: currentdate
previous-topic: copyright
next-topic: cssinclude
related-topics: theme-objects,themes,create-theme
links:
---

# CSSEXCLUDE Theme Object Introduction

Allows you to exclude a Stylesheet (that DNN would normally load) from being loaded

Allows you to exclude a Stylesheet (that DNN would normally load) from being loaded


**Current Version:** 01.00.00


Expand All @@ -35,11 +36,15 @@ Allows you to exclude a Stylesheet (that DNN would normally load) from being loa
| Attribute | Description | Default | Posssible Values | DNN Version |
| --- | --- | --- | --- | --- |
| Name | Name of the framework or library to remove | | DnnDefault<br/>Bootstrap<br/><br/> | 01.00.00 |





## Examples:

### Don't load Default.css
~~~html
<dnn:CssExclude runat="server" name="DnnDefault" />
~~~

15 changes: 10 additions & 5 deletions content/tutorials/themes/theme-objects/cssinclude/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@ uid: cssinclude
locale: en
title: CSSInclude Theme object
dnnversion: 09.02.00
previous-topic: copyright
previous-topic: cssexclude
next-topic: currentdate
related-topics: theme-objects,themes,create-theme
links:
---

# CSSInclude Theme Object Introduction

Load a Custom Stylesheet for your Theme

Load a Custom Stylesheet for your Theme


**Current Version:** 01.00.00

> [!NOTE]
Expand Down Expand Up @@ -45,9 +46,13 @@ Although the loading specific CSS files for a Layout or a Container seems like a
| PathNameAlias | Base Location of the CSS file to load | | SkinPath<br/>SharedScripts | 01.00.00 |
| Priority | With this value you can set the relative order of the loaded Style Sheet. Where 100 is after Portal.css (which is prio 35) | 100 | DefaultCss: 5<br/>ModuleCss: 10<br/>SkinCss: 15<br/>SpecificSkinCss: 20<br/>ContainerCss: 25<br/>SpecificContainerCss: 30<br/>PortalCss: 35<br/>Default value: 100 | 01.00.00 |





## Examples:

### Load Blue Style Sheet
~~~html
<dnn:DnnCssInclude runat="server" FilePath="css/blue.css" PathNameAlias="SkinPath" />
~~~
<dnn:DnnCssInclude runat="server" FilePath="custom/css/blue.css" PathNameAlias="SkinPath" />
~~~
13 changes: 7 additions & 6 deletions content/tutorials/themes/theme-objects/currentdate/index.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
---
uid: currentdate
uid: current date
locale: en
title: Current Date Theme object
dnnversion: 09.02.00
previous-topic: cssexclude
previous-topic: cssinclude
next-topic: ddrmenu
related-topics: theme-objects,themes,create-theme
links:
---

# Current Date Theme Object Introduction

Displays the current date

Displays the current date


**Current Version:** 01.00.00


Expand All @@ -25,7 +26,7 @@ Displays the current date
```

### HTML Token
[CURRENTDATE]
[CURRENTDATE]

### HTML Object Token
``` html
Expand All @@ -36,4 +37,4 @@ Displays the current date
| --- | --- | --- | --- | --- |
| CssClass | CSS Class of the rendered | SkinObject | A Valid CSS Class | 01.00.00 |
| DateFormat | Format string for the Date text.<br/>If this is left empty the Dat | Date Format of the current language. | A valid (.NET Date Format)[https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings] | 01.00.00 |

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ locale: en
title: DDRMenu XSLT Templates Overview
dnnversion: 09.02.00
previous-topic: ddrmenu-token-templates
next-topic: text
next-topic: dotnetnuke
related-topics: theme-objects,themes,create-theme
links: ["[DNN Wiki: DotNetNuke Skins](https://www.dnnsoftware.com/wiki/dotnetnuke-skins)","[DNN Community blog: DotNetNuke Skinning 101 (Part 3) by Joe Brinkman](https://www.dnnsoftware.com/community-blog/cid/131995/dotnetnuke-skinning-101-part-3)","[DNN Professional Training: Creating HTML Skins](https://www.dnnsoftware.com/services/professional-training/training-videos-subscription/skinning-2-creating-html-skins)","[Skinning Tool / Online Reference for DNN Skins & Container Objects by 10 Pound Gorilla](https://www.10poundgorilla.com)"]
---
Expand Down
2 changes: 1 addition & 1 deletion content/tutorials/themes/theme-objects/ddrmenu/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ uid: ddrmenu-overview
locale: en
title: DDRMenu Razor Templates Overview
dnnversion: 09.02.00
previous-topic: breadcrumb
previous-topic: currentdate
next-topic: ddrmenu-reference-guide
related-topics: theme-objects,themes,create-theme
links: ["[DNN Wiki: DotNetNuke Skins](https://www.dnnsoftware.com/wiki/dotnetnuke-skins)","[DNN Community blog: DotNetNuke Skinning 101 (Part 3) by Joe Brinkman](https://www.dnnsoftware.com/community-blog/cid/131995/dotnetnuke-skinning-101-part-3)","[DNN Professional Training: Creating HTML Skins](https://www.dnnsoftware.com/services/professional-training/training-videos-subscription/skinning-2-creating-html-skins)","[Skinning Tool / Online Reference for DNN Skins & Container Objects by 10 Pound Gorilla](https://www.10poundgorilla.com)"]
Expand Down
49 changes: 49 additions & 0 deletions content/tutorials/themes/theme-objects/dotnetnuke/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
uid: dotnetnuke
locale: en
title: Dotnetnuke Theme object
dnnversion: 09.02.00
previous-topic: ddrmenu
next-topic: help
related-topics: theme-objects,themes,create-theme
links:
---

# Dotnetnuke Theme Object Introduction

Displays the Copyright notice for DotNetNuke (not required)


**Current Version:** 01.00.00


## Include in Theme

### ASCX
``` html
<%@ Register TagPrefix="dnn" TagName="DotNetNuke " Src="~/Admin/Skins/dotnetnuke.ascx" %>
<dnn:DotNetNuke runat="server" id="dnnDotnetNuke" />
```

### HTML Token
[DOTNETNUKE]

### HTML Object Token
``` html
<object id="dnnDOTNETNUKE" codetype="dotnetnuke/server" codebase="DOTNETNUKE"></object>
```

| Attribute | Description | Default | Posssible Values | DNN Version |
| --- | --- | --- | --- | --- |
| CssClass | The CSS class of the DotNetNuke Skin Object | SkinObject | "String" | 01.00.00 |





## Examples:

### Default
~~~html
<dnn:DotNetNuke runat="server" id="dnnDotnetNuke" />
~~~
50 changes: 50 additions & 0 deletions content/tutorials/themes/theme-objects/help/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
uid: help
locale: en
title: Help Theme object
dnnversion: 09.02.00
previous-topic: dotnetnuke
next-topic: hostname
related-topics: theme-objects,themes,create-theme
links:
---

# Help Theme Object Introduction

Displays a Help Email link for Users that are logged in.
Either to the Installation Host or The Portal Administrator Email.


**Current Version:** 01.00.00


## Include in Theme

### ASCX
``` html
<%@ Register TagPrefix="dnn" TagName="Help" Src="~/Admin/Skins/Help.ascx" %>
<dnn:Help runat="server" id="dnnHelp" />
```

### HTML Token
[HELP]

### HTML Object Token
``` html
<object id="dnnHELP" codetype="dotnetnuke/server" codebase="HELP"></object>
```

| Attribute | Description | Default | Posssible Values | DNN Version |
| --- | --- | --- | --- | --- |
| CssClass | The CSS class of the Help link | SkinObject | CSS Class String | 01.00.00 |





## Examples:

### Default
~~~html
<dnn:Help runat="server" id="dnnHelp" />
~~~
Loading

0 comments on commit 83512c9

Please sign in to comment.